/* Central de Palpites - Compras Mix Atacarejo */
/* Folha de Estilos CSS Vanilla Premium - Foco em Estética de Alto Padrão, Fluidez e Responsividade */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
    --bg-primary: #050a0d;
    --bg-card: rgba(12, 20, 25, 0.7);
    --border-glass: rgba(255, 223, 0, 0.18);
    --border-hover: rgba(255, 223, 0, 0.4);
    
    /* Cores do Brasil Premium */
    --brasil-green: #009c3b;
    --brasil-green-dark: #006024;
    --brasil-yellow: #ffdf00;
    --brasil-yellow-glow: rgba(255, 223, 0, 0.35);
    --brasil-blue: #002776;
    --brasil-blue-glow: rgba(0, 39, 118, 0.4);
    
    /* Gradientes */
    --grad-gold: linear-gradient(135deg, #ffe534 0%, #d4af37 50%, #b8860b 100%);
    --grad-green: linear-gradient(135deg, #00c94f 0%, #009c3b 50%, #006024 100%);
    --grad-blue: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
    --grad-dark: linear-gradient(135deg, #0e171e 0%, #050a0d 100%);
    
    /* Tipografia */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-impact: 'Anton', sans-serif;
    --font-sport: 'Oswald', sans-serif;
    
    /* Transições */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset e Configurações Globais */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Efeito de Atmosfera de Estádio */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 25% 10%, rgba(0, 156, 59, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 90%, rgba(255, 223, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 39, 118, 0.1) 0%, transparent 80%),
        var(--bg-primary);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brasil-green), var(--brasil-green-dark));
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--grad-gold);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sport);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.text-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-green {
    color: #00ff66;
}

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

/* Header Premium */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 10, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 223, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-glass {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.header-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brasil-green), var(--brasil-yellow), var(--brasil-blue), transparent);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 2rem;
    color: var(--brasil-yellow);
    animation: rotateBall 10s linear infinite;
}

.logo-text {
    font-family: var(--font-impact);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-family: var(--font-sport);
    font-size: 0.75rem;
    color: var(--brasil-yellow);
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-family: var(--font-sport);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brasil-yellow);
    background: rgba(255, 223, 0, 0.06);
}

.btn-admin-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 223, 0, 0.1);
    border: 1px solid rgba(255, 223, 0, 0.3);
    color: var(--brasil-yellow);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-sport);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-admin-nav:hover {
    background: var(--grad-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--brasil-yellow-glow);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Seção Hero e Countdown */
.hero {
    padding: 40px 0 60px;
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,223,0,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-tag {
    background: rgba(0, 156, 59, 0.15);
    border: 1px solid rgba(0, 156, 59, 0.4);
    color: #39ff7a;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: var(--font-sport);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tag-live {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff4a5a;
    animation: pulseRed 2s infinite;
}

.hero-title {
    font-family: var(--font-impact);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 35px;
}

/* Próximo Jogo Placar/Display no Hero */
.hero-match-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    width: 100%;
    max-width: 600px;
}

.hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.hero-flag {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--border-glass);
    background: rgba(0,0,0,0.3);
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: var(--transition);
    object-fit: contain;
}

.hero-team:hover .hero-flag {
    transform: scale(1.1);
    border-color: var(--brasil-yellow);
    box-shadow: 0 8px 30px var(--brasil-yellow-glow);
}

.hero-team-name {
    font-family: var(--font-sport);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 10px;
}

.hero-vs-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-vs {
    font-family: var(--font-impact);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.hero-live-score {
    background: linear-gradient(180deg, #1c2730, #0c1218);
    border: 1px solid var(--border-glass);
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-impact);
    font-size: 2.5rem;
    display: flex;
    gap: 15px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.6);
}

.hero-live-time {
    background: #ff4a5a;
    color: white;
    font-family: var(--font-sport);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: flash 1.5s infinite;
}

/* Countdown Estilizado */
.countdown-box {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.countdown-label {
    font-family: var(--font-sport);
    font-size: 0.95rem;
    color: var(--brasil-yellow);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.cd-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 75px;
    padding: 12px 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cd-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.cd-val {
    font-family: var(--font-impact);
    font-size: 2.2rem;
    color: white;
    line-height: 1;
}

.cd-lbl {
    font-family: var(--font-sport);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* Botões do Hero */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--grad-gold);
    color: var(--bg-primary) !important;
    border: none;
    border-radius: 14px;
    font-family: var(--font-sport);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 
        0 10px 25px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition: var(--transition);
}

.hero-cta-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(212, 175, 55, 0.6),
        0 0 25px rgba(255, 223, 0, 0.4);
}

.hero-cta-btn:disabled {
    background: linear-gradient(135deg, #2a353c, #1f272c);
    color: rgba(255,255,255,0.3) !important;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: not-allowed;
}

/* Seção do Calendário */
.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-eyebrow {
    color: var(--brasil-yellow);
    font-family: var(--font-sport);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.section-main-title {
    font-family: var(--font-impact);
    font-size: 2.8rem;
    letter-spacing: 0.02em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.match-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.match-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px rgba(255, 223, 0, 0.1);
}

.match-card.active-match {
    border-color: rgba(255, 223, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 223, 0, 0.15);
}

.match-card.active-match::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-gold);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-badge {
    font-family: var(--font-sport);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.badge-next {
    background: rgba(255, 223, 0, 0.15);
    border: 1px solid rgba(255, 223, 0, 0.4);
    color: var(--brasil-yellow);
}

.badge-finished {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
}

.badge-live {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff4a5a;
    animation: pulseRed 2s infinite;
}

.match-rodada {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    text-transform: uppercase;
}

.match-teams-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.match-team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.match-flag-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.2);
    padding: 6px;
    object-fit: contain;
}

.match-team-name-small {
    font-family: var(--font-sport);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    white-space: nowrap;
}

.match-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-vs-small {
    font-family: var(--font-impact);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.3);
}

.match-score-small {
    font-family: var(--font-impact);
    font-size: 1.8rem;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.match-details-list {
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.match-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.match-detail-item i {
    color: var(--brasil-yellow);
    width: 16px;
}

.match-action-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-sport);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
}

.match-action-btn:hover {
    background: var(--grad-green);
    border-color: var(--brasil-green);
    box-shadow: 0 5px 15px rgba(0, 156, 59, 0.3);
}

.match-action-btn.active {
    background: var(--grad-gold);
    color: var(--bg-primary);
    border-color: var(--brasil-yellow);
    box-shadow: 0 5px 15px var(--brasil-yellow-glow);
}

.match-action-btn:disabled {
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.2);
    border-color: transparent;
    cursor: not-allowed;
}

/* Seção de Cadastro e Palpite */
.palpite-section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

.palpite-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.form-card-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
}

.form-card-title {
    font-family: var(--font-impact);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.form-card-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* Score Inputs do Formulário */
.form-score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 35px;
}

.form-score-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.form-score-team span {
    font-family: var(--font-sport);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.score-input {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-impact);
    font-size: 2.2rem;
    text-align: center;
    transition: var(--transition);
}

.score-input:focus {
    outline: none;
    border-color: var(--brasil-yellow);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 15px var(--brasil-yellow-glow);
}

.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-score-vs {
    font-family: var(--font-impact);
    font-size: 1.8rem;
    color: rgba(255,255,255,0.25);
}

/* Campos de Cadastro */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group-full {
    grid-column: 1 / span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-label {
    font-family: var(--font-sport);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.8);
}

.form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brasil-green);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 12px rgba(0, 156, 59, 0.25);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

/* Checkbox LGPD */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
    text-align: left;
}

.form-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--brasil-green);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--brasil-yellow);
    text-decoration: underline;
}

/* Disclaimer de Envio */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 15px;
}

/* Modais (Regulamento e Avisos) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: linear-gradient(135deg, #0e171e 0%, #050a0d 100%);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.active .modal-card {
    transform: scale(1);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-sport);
    font-size: 1.3rem;
    color: var(--brasil-yellow);
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: white;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    text-align: left;
}

.modal-body h3 {
    color: var(--brasil-yellow);
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 5px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-sport);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Estilo do Regulamento Detalhado e LGPD */
.regulamento-consent-box {
    background-color: rgba(0, 156, 59, 0.08); 
    border-left: 4px solid var(--brasil-green); 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 4px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

/* Área do Painel Administrativo e Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    text-align: center;
}

.login-logo {
    font-size: 3rem;
    color: var(--brasil-yellow);
    margin-bottom: 15px;
}

/* Painel Administrativo Geral */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

.admin-title-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.admin-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
    /* custom soft red */
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-sport);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
    transform: translateY(-2px);
}

/* Painel Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 223, 0, 0.08);
    color: var(--brasil-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-icon.green {
    background: rgba(0, 156, 59, 0.08);
    color: #00ff66;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-lbl {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-val {
    font-family: var(--font-sport);
    font-size: 1.6rem;
    font-weight: 700;
}

/* Layout Admin Principal */
.admin-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 25px;
}

.sidebar-box h3 {
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-admin-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 25px;
}

.form-admin-score input {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.admin-main {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.admin-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.admin-main-title {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Filtro Dropdown */
.select-filter {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-sport);
    font-weight: 500;
    cursor: pointer;
    outline: none;
}
/* Opções da lista aberta: fundo escuro sólido e texto claro (evita branco no branco) */
.select-filter option,
select.form-control option {
    background-color: #14181f;
    color: #ffffff;
}

/* Tabela Personalizada Premium */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th {
    background: rgba(255,255,255,0.02);
    border-bottom: 2px solid rgba(255,255,255,0.08);
    padding: 14px 18px;
    font-family: var(--font-sport);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
}

.table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.table tr:hover td {
    background: rgba(255,255,255,0.01);
}

.table tr.highlight-winner td {
    background: rgba(255, 223, 0, 0.03);
    border-bottom-color: rgba(255, 223, 0, 0.15);
}

.table tr.highlight-winner:hover td {
    background: rgba(255, 223, 0, 0.05);
}

/* Badges de colocação */
.place-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-family: var(--font-sport);
    font-weight: 700;
    font-size: 0.85rem;
}

.place-1 { background: radial-gradient(circle, #ffe534, #b8860b); color: #000; box-shadow: 0 0 10px rgba(255,223,0,0.5); }
.place-2 { background: linear-gradient(135deg, #e0e0e0, #9e9e9e); color: #000; }
.place-3 { background: linear-gradient(135deg, #cd7f32, #8c521f); color: #fff; }
.place-normal { background: rgba(255,255,255,0.1); color: #fff; }

/* Alert Box */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(0, 156, 59, 0.15);
    border: 1px solid rgba(0, 156, 59, 0.4);
    color: #39ff7a;
}

.alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff5263;
}

.alert-info {
    background: rgba(0, 39, 118, 0.15);
    border: 1px solid rgba(0, 39, 118, 0.4);
    color: #6fb1fc;
}

/* Roda da Sorte / Raffle Modal */
.raffle-container {
    text-align: center;
    padding: 20px 0;
}

.raffle-wheel-box {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid var(--brasil-yellow);
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #0e171e 30%, #050a0d 100%);
    box-shadow: 0 0 35px var(--brasil-yellow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.raffle-inner-spin {
    font-family: var(--font-impact);
    font-size: 1.4rem;
    color: var(--brasil-yellow);
    animation: pulseGlow 1.5s infinite;
}

.raffle-wheel-box.spinning {
    animation: spinSlowly 0.15s linear infinite;
    border-color: #ff00ff;
    box-shadow: 0 0 35px rgba(255, 0, 255, 0.4);
}

.winner-announce-card {
    background: rgba(0, 156, 59, 0.08);
    border: 2px solid var(--brasil-green);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.winner-title {
    font-family: var(--font-sport);
    color: var(--brasil-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.winner-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 8px 0;
    font-size: 0.95rem;
}

.winner-detail-row span:first-child {
    color: rgba(255,255,255,0.5);
}

/* Rodapé Premium */
.footer {
    background: #030608;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 40px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-top: 80px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-impact);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--brasil-yellow);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brasil-yellow);
}

/* Animações e Keyframes */
@keyframes rotateBall {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; text-shadow: 0 0 10px rgba(255, 223, 0, 0.6); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes spinSlowly {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Responsividade */
@media (max-width: 992px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    /* Sem isto, o overflow:hidden do header corta o menu suspenso (ficava invisível) */
    .header-glass {
        overflow: visible;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 200;
        background: rgba(5, 10, 13, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--border-glass);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }
    .nav-menu.active {
        display: flex;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: 1;
    }
    .hero-match-preview {
        gap: 15px;
    }
    .hero-flag {
        width: 70px;
        height: 70px;
    }
    .hero-team-name {
        font-size: 1.1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Flag Fallbacks */
.flag-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--border-glass);
    background: linear-gradient(135deg, #1c2e3d 0%, #0c151d 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sport);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brasil-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.flag-fallback.small {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
    border-width: 2px;
}
.hero-team:hover .flag-fallback {
    transform: scale(1.1);
    border-color: var(--brasil-yellow);
    box-shadow: 0 8px 30px var(--brasil-yellow-glow);
}
