/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

:root {
    --primary-color: #f1f170;
    --bg-primary: #0a0a0a;
    --bg-secondary: linear-gradient(180deg, #151515 0%, #0a0a0a 100%);
    --bg-tertiary: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(241, 241, 112, 0.1);
    --gradient-primary: linear-gradient(135deg, #f1f170 0%, #e6e65c 100%);
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 180px; /* Começar exatamente após o header */
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Container específico para o header - removido para evitar conflitos */

/* Header - Código oficial do site sickao.com */
.header {
    background: #0a0a0a;
    border-bottom: none;
    padding: 40px 0;
    position: relative;
    z-index: 2;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Efeito de degradê removido do header */

.logo-section {
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-image {
    max-height: 150px;
    max-width: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    padding: 15px;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .header {
        padding: 2rem 0 1.5rem 0;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .tagline {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1rem;
        letter-spacing: 0.3px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
}

/* Conteúdo principal */
.main-content {
    width: 100vw;
    padding: 2rem 0;
    background: #151515;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px); /* Garantir altura mínima */
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
}

/* Navegação */
.nav {
    background: #111111;
    border-bottom: 1px solid #222222;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    margin: 0;
}

.nav a {
    color: #cccccc;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav a:hover,
.nav a.active {
    color: #f1f170;
    background: rgba(241, 241, 112, 0.1);
}

/* Conteúdo principal - removido para evitar conflito com o degradê */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cards */
.card {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card + .card {
    margin-top: 2rem;
}

.card:hover {
    border-color: #333333;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.card h2 {
    color: #f1f170;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.card h4 {
    color: #f1f170;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Tabelas */
.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #222222;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #111111;
}

.table th {
    background: #1a1a1a;
    color: #f1f170;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #222222;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #222222;
    color: #ffffff;
    vertical-align: middle;
}

.table tr:hover {
    background: #1a1a1a;
}

.table tr:last-child td {
    border-bottom: none;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cccccc;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #333333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #f1f170;
    box-shadow: 0 0 0 3px rgba(241, 241, 112, 0.1);
    background: #0f0f0f;
}

.form-control::placeholder {
    color: #666666;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    gap: 0.5rem;
}

.btn-primary {
    background: #f1f170;
    color: #000000;
}

.btn-primary:hover {
    background: #e6e65c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 241, 112, 0.3);
}

.btn-secondary {
    background: #333333;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #444444;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: #ffffff;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    color: #000000;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    color: #ffffff;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Botão especial OAuth */
.btn-important {
    background: #f1f170 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 1.25rem 2.5rem !important;
    font-size: 1.25rem !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 25px rgba(241, 241, 112, 0.4) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.btn-important:hover {
    background: #e6e65c !important;
    color: #000000 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(241, 241, 112, 0.5) !important;
    text-decoration: none !important;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #28a745;
    color: #ffffff;
}

.badge-warning {
    background: #ffc107;
    color: #000000;
}

.badge-danger {
    background: #dc3545;
    color: #ffffff;
}

.badge-info {
    background: #17a2b8;
    color: #ffffff;
}

.badge-premio-enviado {
    background: #28a745;
    color: #ffffff;
}

.badge-ativo {
    background: var(--primary-color);
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
}

.badge-ativo:hover {
    background: #e6e65c;
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Alertas */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #28a745;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #ffc107;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-color: #17a2b8;
    color: #17a2b8;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -1rem;
    align-items: flex-start;
}

.col {
    flex: 1;
    padding: 0 1rem;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 1rem;
}

.col-md-9 {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0 1rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 1rem;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 1rem;
    margin-right: 1rem;
}

.col-md-4:last-child {
    margin-right: 0;
}

.col-md-3 {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 1rem;
}

/* Estatísticas */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.stat-card {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.stat-card:hover {
    border-color: #333333;
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f170;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Resultados de sorteio */
.sorteio-result {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sorteio-result h3 {
    color: #f1f170;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Formulário de claim */
.claim-form {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.claim-form h4 {
    color: #f1f170;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: #111111;
    border-top: 1px solid #222222;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer p {
    color: #888888;
    margin: 0;
}

.footer a {
    color: #f1f170;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    color: #e6e65c;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .row {
        flex-wrap: wrap;
    }
    
    .col-md-6,
    .col-md-4,
    .col-md-3,
    .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn + .btn {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .btn-important {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }