/* Palpite Premiado — Belo Traje — Main CSS */

:root {
    --bg-dark: #0c0c0c;
    --bg-card: rgba(20, 18, 16, 0.88);
    --purple: #8b6914;
    --purple-light: #a67c3d;
    --cyan: #c69c5d;
    --sun: #b8894a;
    --sun-light: #d4b483;
    --warm: #9a7644;
    --green: #22c55e;
    --gold: #c69c5d;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.88);
    --border-glow: rgba(198, 156, 93, 0.28);
    --glass: rgba(255, 255, 255, 0.05);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Bootstrap dark theme */
    --bs-body-color: #ffffff;
    --bs-body-bg: #0c0c0c;
    --bs-secondary-color: rgba(255, 255, 255, 0.88);
    --bs-tertiary-color: rgba(255, 255, 255, 0.8);
    --bs-emphasis-color: #ffffff;
    --bs-heading-color: #ffffff;
    --bs-link-color: var(--gold);
    --bs-link-hover-color: var(--sun-light);
}

html[data-bs-theme="dark"],
html[data-theme="dark"] {
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 1.05rem;
}

/* Texto legível no tema escuro */
p, li, label, th, td, .form-text, .card-text, .list-group-item {
    color: #ffffff;
}

.text-muted,
.text-body-secondary,
.text-body-tertiary {
    color: rgba(255, 255, 255, 0.88) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #ffffff;
}

#particles-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 15%, rgba(198, 156, 93, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at 15% 25%, rgba(154, 118, 68, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 85%, rgba(139, 105, 20, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #0c0c0c 0%, #141210 45%, #101010 100%);
    z-index: -2;
}

#particles-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c69c5d' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: drift 20s linear infinite;
}

@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-60px); }
}

.text-neon { color: var(--cyan) !important; }
.text-sun { color: var(--sun-light) !important; }
.text-purple { color: var(--purple-light) !important; }
.text-gold { color: var(--gold) !important; }

/* Navbar */
.game-nav {
    background: rgba(8, 8, 8, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    padding: 0.75rem 0;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.15;
}

.brand-text-short { display: none; }

.brand-sub {
    font-weight: 500;
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.75);
}

.nav-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
}

.game-nav > .container {
    flex-wrap: wrap;
}

.game-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.game-nav .navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.35rem 0.55rem;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover { color: var(--cyan) !important; text-shadow: 0 0 10px var(--cyan); }

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    object-fit: cover;
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--green);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-nav .nav-item.dropdown .nav-link {
    position: relative;
}

.border-neon { border-color: var(--cyan) !important; }

/* Glass cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(198, 156, 93, 0.18);
    border-color: var(--gold);
}

.glass-dropdown {
    background: rgba(12, 12, 12, 0.96) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
}

/* Buttons */
.btn-neon {
    background: linear-gradient(135deg, var(--sun-light), var(--gold));
    border: none;
    color: #1a1208 !important;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(198, 156, 93, 0.45);
    color: #1a1208 !important;
}

.btn-outline-neon {
    border: 2px solid var(--gold);
    color: var(--sun-light);
    font-weight: 700;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-outline-neon:hover {
    background: var(--gold);
    color: #1a1208;
    box-shadow: 0 0 20px rgba(198, 156, 93, 0.35);
}

.btn-sun {
    background: linear-gradient(135deg, var(--sun-light), var(--gold));
    border: none;
    color: #1a1208 !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-sun:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(198, 156, 93, 0.4);
    color: #1a1208 !important;
}

.btn-outline-sun {
    border: 2px solid rgba(212, 180, 131, 0.55);
    color: var(--sun-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    background: rgba(198, 156, 93, 0.08);
    border-radius: 999px;
    transition: all 0.3s;
}

.btn-outline-sun:hover {
    background: rgba(198, 156, 93, 0.18);
    border-color: var(--sun-light);
    color: #fff;
    box-shadow: 0 4px 20px rgba(198, 156, 93, 0.25);
}

/* Hero */
.hero-section {
    padding: 3.5rem 0 3rem;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--sun-light);
    background: rgba(198, 156, 93, 0.12);
    border: 1px solid rgba(212, 180, 131, 0.35);
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.65rem, 3.2vw + 0.85rem, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: var(--sun-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.5;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 1rem;
}

.hero-glow {
    position: absolute;
    width: min(320px, 75%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(198, 156, 93, 0.4) 0%, rgba(154, 118, 68, 0.15) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(28px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.hero-ball {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 184, 48, 0.4));
}

.hero-mascote,
.auth-mascote,
.dashboard-mascote {
    height: auto;
    display: block;
    background: transparent;
}

.brand-logo {
    background: transparent;
}

.hero-mascote {
    position: relative;
    z-index: 1;
    max-width: min(420px, 92%);
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
}

.auth-mascote {
    max-width: 360px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.dashboard-mascote {
    width: auto;
    height: 72px;
    animation: float 3.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-stats {
    max-width: 420px;
}

.hero-stat {
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sun-light);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.35rem;
}

/* Stats bar */
.stat-bar {
    text-align: center;
    padding: 1rem;
}

.stat-bar .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--cyan);
}

.stat-bar .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Game cards */
.game-card {
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--green));
}

.team-flag {
    width: 52px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.team-name {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Palpite — layout MEX vs RSA / (México) (África do Sul) */
.palpite-match-title {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(198, 156, 93, 0.15);
}

.match-sigla {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 2px;
    color: var(--cyan);
}

.match-vs {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--purple-light);
    margin: 0 0.5rem;
    text-transform: lowercase;
}

.match-nome {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
    padding: 0 0.25rem;
}

.palpite-estadio {
    font-size: 0.65rem !important;
    line-height: 1.2;
    max-width: 90px;
    margin: 0 auto;
}

/* Jogo card — landing / dashboard */
.jogo-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.3px;
}

.jogo-datetime {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan) !important;
}

.jogo-card-center {
    min-width: 72px;
}

.jogo-card-compact .palpite-match-title {
    margin-bottom: 0.5rem !important;
    padding: 0.25rem 0;
}

.jogo-card-compact .match-sigla {
    font-size: 1.1rem;
}

.score-input {
    width: 60px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    background: rgba(0,0,0,0.4);
    border: 2px solid var(--border-glow);
    color: var(--cyan);
    border-radius: 8px;
    padding: 0.25rem;
}

.score-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(198, 156, 93, 0.3);
    outline: none;
}

.score-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vs-badge {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--purple-light);
    font-size: 1.2rem;
}

/* Status badges */
.badge-aberto { background: rgba(34, 197, 94, 0.2); color: var(--green); border: 1px solid var(--green); }
.badge-encerrado { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid #fbbf24; }
.badge-finalizado { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); border: 1px solid var(--text-muted); }

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Countdown */
.countdown {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--cyan);
}

.countdown.urgent { color: #ef4444; animation: pulse 1s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Ranking */
.ranking-table { width: 100%; }

.ranking-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: var(--glass);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.ranking-row:hover {
    border-color: var(--border-glow);
    background: rgba(198, 156, 93, 0.05);
}

.ranking-row.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.ranking-row.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border-color: var(--silver);
}

.ranking-row.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border-color: var(--bronze);
}

.rank-pos {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    width: 40px;
    text-align: center;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glow);
    margin-right: 0.75rem;
}

.rank-points {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--cyan);
    margin-left: auto;
}

/* Podium */
.podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.podium-item {
    text-align: center;
    flex: 1;
    max-width: 140px;
}

.podium-bar {
    border-radius: 12px 12px 0 0;
    padding: 1rem 0.5rem;
    margin-top: 0.5rem;
    position: relative;
}

.podium-1 .podium-bar { height: 120px; background: linear-gradient(180deg, var(--gold), rgba(255,215,0,0.3)); }
.podium-2 .podium-bar { height: 90px; background: linear-gradient(180deg, var(--silver), rgba(192,192,192,0.3)); }
.podium-3 .podium-bar { height: 70px; background: linear-gradient(180deg, var(--bronze), rgba(205,127,50,0.3)); }

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid;
    margin: 0 auto;
}

.podium-1 .podium-avatar { border-color: var(--gold); box-shadow: 0 0 20px rgba(255,215,0,0.5); }
.podium-2 .podium-avatar { border-color: var(--silver); }
.podium-3 .podium-avatar { border-color: var(--bronze); }

/* Achievements */
.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--border-glow);
    border-radius: 30px;
    font-size: 0.85rem;
    margin: 0.25rem;
}

.achievement-badge i { color: var(--gold); }

/* Forms */
.form-control, .form-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glow);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(198, 156, 93, 0.2);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-label { font-weight: 600; color: #ffffff !important; }

.auth-card { max-width: 440px; margin: 2rem auto; }

/* Premio banner */
.premio-banner {
    background: linear-gradient(135deg, rgba(198, 156, 93, 0.14), rgba(154, 118, 68, 0.12));
    border: 1px solid rgba(212, 180, 131, 0.28);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.premio-banner::after {
    content: '🏆';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.2;
}

/* Feed */
.feed-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.feed-item:last-child { border-bottom: none; }

.feed-time { color: var(--text-muted); font-size: 0.75rem; }

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-game {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-glow);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Points animation */
.points-popup {
    position: fixed;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--green);
    pointer-events: none;
    animation: pointsFly 1.5s ease-out forwards;
    z-index: 10000;
    text-shadow: 0 0 20px var(--green);
}

@keyframes pointsFly {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}

/* Footer */
.game-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-glow);
    margin-top: 3rem;
    background: rgba(10, 14, 39, 0.5);
}

.main-content { min-height: calc(100vh - 200px); padding-bottom: 2rem; }

/* Section titles */
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i { color: var(--cyan); }

/* Tabs */
.nav-pills .nav-link {
    color: var(--text-muted);
    border-radius: 8px;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #ffffff !important;
}

/* Palpites — navegação por fase/rodada */
.palpite-fase-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.palpite-fase-mata {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Segunda fase — cards conforme tabela oficial */
.palpite-segunda-fase-card {
    padding-top: 1.25rem;
}

.palpite-jogo-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.palpite-jogo-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: center;
}

.palpite-jogo-cidade {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.palpite-jogo-datetime {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
}

.palpite-slot-shield {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.palpite-slot-label,
.match-slot {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.2px;
}

.palpite-slot-label {
    min-height: 1.5rem;
}

@media (min-width: 992px) {
    .game-nav > .container {
        flex-wrap: nowrap;
        align-items: center;
    }

    .nav-header-row {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .game-nav { padding: 0.55rem 0; }

    .brand-text-full { display: none; }
    .brand-text-short {
        display: inline;
        font-size: clamp(0.72rem, 3.4vw, 0.88rem);
        letter-spacing: -0.03em;
        white-space: nowrap;
    }

    .brand-logo {
        height: 30px !important;
        width: auto !important;
    }

    .game-nav .navbar-brand {
        gap: 0.4rem;
    }

    .game-nav .navbar-collapse {
        width: 100%;
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .game-nav .navbar-nav {
        gap: 0.15rem;
    }

    .game-nav .nav-link {
        padding: 0.65rem 0.5rem;
        border-radius: 8px;
    }

    .game-nav .nav-link:hover,
    .game-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.04);
    }

    .game-nav .nav-item.dropdown {
        margin-top: 0.35rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .game-nav .nav-item.dropdown .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.35rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .hero-section { padding: 1.25rem 0 1.75rem; }
    .hero-title { font-size: clamp(1.85rem, 7vw, 2.35rem); }
    .hero-subtitle { font-size: 1.15rem; max-width: none; line-height: 1.55; }
    .hero-badge { font-size: 0.78rem; padding: 0.4rem 0.85rem; }
    .hero-visual { min-height: 220px; padding: 0.25rem 0 0.75rem; }
    .hero-mascote { max-width: min(240px, 70%); }
    .hero-stats { max-width: 100%; }
    .hero-stat-value { font-size: 1.35rem; }
    .hero-stat-label { font-size: 0.65rem; }
    .hero-section .btn-lg {
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
    }
    .section-title { font-size: 1.25rem; margin-bottom: 1rem; }
    .podium { gap: 0.5rem; }
    .podium-avatar { width: 48px; height: 48px; }
    .score-input { width: 50px; font-size: 1.2rem; }
    .ranking-row { padding: 0.5rem; font-size: 0.9rem; }
}

@media (max-width: 380px) {
    .brand-text-short { font-size: 0.68rem; }
    .brand-logo {
        height: 26px !important;
        width: auto !important;
    }
    .hero-title { font-size: 1.7rem; }
}

/* Toast custom */
.toast-game {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    color: var(--text);
    backdrop-filter: blur(16px);
}

.toast-game .toast-header {
    background: transparent;
    color: var(--cyan);
    border-bottom: 1px solid var(--border-glow);
}

/* Calendário de jogos — landing */
.jogos-calendario-widget.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s;
}

.jogos-calendario-nav .fase-tabs .nav-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.jogos-calendario-nav .fase-tabs .nav-link.active {
    background: rgba(198, 156, 93, 0.12);
    border-color: var(--border-glow);
    color: var(--cyan);
}

.jogos-calendario-nav .fase-tabs .nav-link.disabled {
    opacity: 0.35;
}

.dia-navigator .cal-label-main {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
}

.dia-navigator .cal-nav-btn {
    min-width: 2.25rem;
}

.match-pendente {
    opacity: 0.55;
}

.flag-pendente {
    opacity: 0.9;
}

.jogo-resultado {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
}

.jogo-estadio {
    font-size: 0.7rem;
    line-height: 1.2;
}
