* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tema escuro */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-blue: #58a6ff;
    --accent-gold: #ffd700;
    --accent-green: #3fb950;
    --accent-red: #f85149;
    --border-color: #30363d;
    --hover-bg: #262c36;

    /* Fontes */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transições */
    --transition: all 0.3s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.nav-btn:hover,
.nav-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Pages */
.page {
    display: none;
    min-height: calc(100vh - 80px);
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    padding: 2rem 0;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0 3rem 0;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
    border-radius: 2px;
}

/* Animação de brilho para seção ao vivo */
.ao-vivo-section .section-title {
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-red);
        color: var(--accent-red);
    }
    50% { 
        text-shadow: 0 0 20px var(--accent-red), 0 0 30px var(--accent-red), 0 0 40px var(--accent-red);
        color: #ff6b6b;
    }
}

/* Modalidades Section */
.modalidades-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.modalidade-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.modalidade-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.1);
}

.modalidade-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modalidade-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modalidade-card p {
    color: var(--text-secondary);
}

.modalidade-stats {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.modalidade-card.popular {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(255, 215, 0, 0.1));
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.modalidade-card.live-active {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(248, 81, 73, 0.1));
    animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(248, 81, 73, 0); }
}

.stat-live {
    color: var(--accent-red);
}

.stat-today {
    color: var(--accent-green);
}

/* Calendário Section */
.calendario-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.day-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.day-card.final-day {
    border-color: var(--accent-gold);
}

.day-header {
    background: var(--accent-blue);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.final-day .day-header {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.day-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.day-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.day-month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.day-games {
    padding: 1.5rem;
}

.game-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.game-item:last-child {
    border-bottom: none;
}

.game-item.special {
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.game-time {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent-blue);
}

.game-match {
    color: var(--text-primary);
    font-weight: 500;
}

.game-sport {
    background: var(--hover-bg);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Salas Section */
.salas-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.salas-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.year-group {
    text-align: center;
}

.year-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    position: relative;
}

.year-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.salas-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sala-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sala-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.1);
}

.sala-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

.sala-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-name {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.sala-pontos {
    color: var(--accent-gold);
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Jogos Section */
.jogos-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.jogos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.jogo-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.jogo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.jogo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jogo-modalidade {
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.jogo-horario {
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.jogo-confronto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.team-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
}

.team-name {
    font-weight: 600;
    color: var(--text-primary);
}

.versus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Sala Individual Page */
.sala-page {
    display: none;
    padding: 4rem 0;
    background: var(--bg-primary);
    min-height: calc(100vh - 80px);
}

.sala-page.active {
    display: block;
}

.back-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: var(--hover-bg);
}

.sala-detail {
    text-align: center;
}

.sala-detail-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
}

.sala-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.sala-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sala-history {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
}

.sala-history h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.sala-history p {
    color: var(--text-secondary);
}

.history-item {
    margin-bottom: 1rem;
}

.history-game {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.history-game-info strong {
    color: var(--text-primary);
}

.history-game-info small {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .header-logo {
        height: 32px;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .modalidades-section,
    .calendario-section,
    .salas-section,
    .jogos-section,
    .sobre-section {
        padding: 2rem 0;
    }

    .modalidades-grid,
    .calendario-grid,
    .salas-cards,
    .jogos-grid,
    .resultados-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modalidade-card,
    .day-card,
    .sala-card,
    .jogo-card,
    .resultado-card {
        padding: 1.5rem;
    }

    .jogo-confronto,
    .resultado-placar {
        flex-direction: column;
        gap: 1rem;
    }

    .versus {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }

    .year-title {
        font-size: 1.5rem;
    }

    .year-group {
        gap: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sala-detail-logo {
        width: 80px;
        height: 80px;
    }

    .sala-detail h1 {
        font-size: 1.8rem;
    }

    .medalhas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-content {
        padding: 0.5rem 0;
    }

    .header-logo {
        height: 28px;
    }

    .nav-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .year-title {
        font-size: 1.3rem;
    }

    .modalidades-section,
    .calendario-section,
    .salas-section,
    .jogos-section,
    .sobre-section {
        padding: 1.5rem 0;
    }

    .modalidade-card,
    .day-card,
    .sala-card,
    .jogo-card,
    .resultado-card,
    .sobre-card {
        padding: 1rem;
    }

    .modalidade-icon {
        font-size: 2rem;
    }

    .day-number {
        font-size: 2rem;
    }

    .day-name {
        font-size: 1rem;
    }

    .sala-logo {
        width: 48px;
        height: 48px;
    }

    .team-logo {
        width: 36px;
        height: 36px;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .medalhas-grid {
        grid-template-columns: 1fr;
    }

    .medalha-item {
        padding: 1rem;
    }

    .medalha {
        font-size: 1.5rem;
    }

    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .sala-detail h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .sala-detail-logo {
        width: 60px;
        height: 60px;
    }
}

/* Destaque do Dia Section */
.destaque-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.destaque-card {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.destaque-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.destaque-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
}

.destaque-info h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.destaque-motivo {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.destaque-stats {
    display: flex;
    gap: 1rem;
}

.destaque-stats .stat {
    background: var(--hover-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Frase Motivacional Section */
.motivacional-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.motivacional-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.frase-card, .foto-dia-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.frase-card h3, .foto-dia-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.frase-card blockquote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.frase-card cite {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.foto-placeholder {
    background: var(--hover-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-mockup {
    text-align: center;
    color: var(--text-secondary);
}

.foto-mockup span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Medalhas Section */
.medalhas-section {
    margin: 3rem 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.medalhas-section h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.medalhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.medalha-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.modalidade-nome {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.medalhas {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.medalha {
    font-size: 2rem;
    transition: var(--transition);
    cursor: pointer;
}

.medalha.inactive {
    filter: grayscale(1);
    opacity: 0.3;
}

.medalha:hover:not(.inactive) {
    transform: scale(1.2);
}

/* Galeria Section */
.galeria-section {
    margin: 3rem 0;
}

.galeria-section h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.galeria-grid .foto-placeholder {
    aspect-ratio: 1;
    min-height: 120px;
}



/* Countdown Section */
.countdown-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.countdown-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-card h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.countdown-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    font-family: var(--font-mono);
}

.time-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Resultados Section */
.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resultado-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.resultado-card:hover {
    border-color: var(--accent-blue);
}

.resultado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.resultado-modalidade {
    background: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.resultado-data {
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.resultado-placar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.resultado-placar .team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.team-score.winner {
    color: var(--accent-gold);
}

/* Sobre Section */
.sobre-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.sobre-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sobre-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
}

.sobre-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.sobre-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.sobre-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sobre-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .motivacional-section .container {
        grid-template-columns: 1fr;
    }

    .destaque-content {
        flex-direction: column;
        text-align: center;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-number {
        font-size: 2rem;
    }

    .resultado-placar {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === AO VIVO SECTION === */
.ao-vivo-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border-top: 3px solid var(--accent-red);
}

.jogos-ao-vivo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.jogos-ao-vivo-grid.single-game-layout {
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.jogos-ao-vivo-grid.single-game-layout .live-game-card {
    padding: 2.5rem;
    border-width: 3px;
}

.jogos-ao-vivo-grid.single-game-layout .score {
    font-size: 3rem;
}

.jogos-ao-vivo-grid.single-game-layout .team-name {
    font-size: 1.1rem;
}

.jogos-ao-vivo-grid.single-game-layout .vs-live {
    font-size: 1.5rem;
}

.live-game-card {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-red);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.live-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), transparent, var(--accent-red));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 5px var(--accent-red);
    }
    50% { 
        opacity: 0.7; 
        text-shadow: 0 0 15px var(--accent-red), 0 0 25px var(--accent-red);
    }
}

.live-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.live-indicator {
    background: var(--accent-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.live-game-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.team-live {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.team-live .team-info {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.team-live .team-name {
    font-weight: 600;
    color: var(--text-primary);
}

.team-live .team-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-mono);
    min-width: 60px;
    text-align: center;
}

.vs-live {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin: 0 1rem;
}

.no-games-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-games-message .small-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* === ADMIN CONTROLS === */
.admin-controls {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.score-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.score-controls .score-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.score-btn.plus {
    background: var(--accent-green);
    color: white;
}

.score-btn.plus:hover {
    background: #2ea043;
}

.score-btn.minus {
    background: var(--accent-red);
    color: white;
}

.score-btn.minus:hover {
    background: #da3633;
}

.game-management-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.finish-game-btn, .remove-game-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.finish-game-btn {
    background: var(--accent-blue);
    color: white;
}

.finish-game-btn:hover {
    background: #4493f8;
}

.remove-game-btn {
    background: var(--accent-red);
    color: white;
}

.remove-game-btn:hover {
    background: #da3633;
}

/* === VOTING SECTION === */
.voting-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.voting-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.vote-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.vote-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.vote-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* === MODAIS === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    background: var(--bg-tertiary);
    margin: 0;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    align-self: center;
    justify-self: center;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.admin-content {
    max-width: 900px;
    max-height: 85vh;
    margin: 0;
    position: relative;
    align-self: center;
    justify-self: center;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: var(--transition);
    z-index: 10;
    background: var(--bg-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.close:hover {
    color: var(--accent-red);
    background: var(--bg-primary);
    border-color: var(--accent-red);
    transform: scale(1.1);
}

.modal h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-right: 60px; /* Para não sobrepor o botão de fechar */
}

.modal h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal input, .modal select, .modal textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.modal input:focus, .modal select:focus, .modal textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.modal input::placeholder {
    color: var(--text-muted);
}

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

.modal button {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.modal button:hover {
    background: var(--accent-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 185, 80, 0.3);
}

.modal button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.modal a:hover {
    text-decoration: underline;
    color: var(--accent-gold);
}

.logout-btn {
    background: var(--accent-red) !important;
}

.logout-btn:hover {
    background: #ff6b6b !important;
    box-shadow: 0 4px 12px rgba(248, 81, 73, 0.3) !important;
}

/* Modal específico para login */
.login-modal .modal-content {
    max-width: 400px;
    text-align: center;
}

.login-modal .auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.auth-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

.auth-btn img {
    width: 20px;
    height: 20px;
}

/* Modal de confirmação */
.confirmation-modal .modal-content {
    max-width: 450px;
    text-align: center;
}

.confirmation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.confirm-btn {
    background: var(--accent-red);
    flex: 1;
}

.confirm-btn:hover {
    background: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cancel-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    flex: 1;
}

.cancel-btn:hover {
    background: var(--hover-bg);
    border-color: var(--accent-blue);
}

/* Modal de resultados */
.results-modal .results-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 1rem 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-teams {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.result-score {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.result-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 0;
        border-radius: var(--radius-md);
        max-height: 95vh;
    }

    .admin-content {
        max-width: none;
        max-height: 95vh;
    }

    .close {
        top: 0.75rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .modal h2 {
        font-size: 1.5rem;
        padding-right: 50px;
    }

    .confirmation-buttons {
        flex-direction: column;
    }

    .result-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .result-teams {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        padding: 1rem;
    }

    .modal h2 {
        font-size: 1.3rem;
    }

    .modal button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .auth-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* === ADMIN PANEL === */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.admin-tab.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-game-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.admin-game-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.admin-game-info strong {

/* === CONTROLES ADMIN MOBILE === */
@media (max-width: 768px) {
    .admin-controls {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        margin-top: 1rem;
    }

    .score-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .score-btn {
        padding: 1rem 0.75rem !important;
        font-size: 1rem !important;
        font-weight: 600;
        border-radius: 8px;
        border: 2px solid transparent;
        transition: all 0.2s ease;
        min-height: 44px; /* Requisito de acessibilidade mobile */
        touch-action: manipulation; /* Otimizar para toque */
    }

    .score-btn.plus {
        background: var(--accent-green);
        color: white;
    }

    .score-btn.minus {
        background: var(--accent-red);
        color: white;
    }

    .score-btn:active {
        transform: scale(0.95);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .game-management-controls {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .finish-game-btn, .remove-game-btn {
        flex: 1;
        padding: 0.875rem 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        min-height: 44px;
        touch-action: manipulation;
    }

    .finish-game-btn {
        background: var(--accent-blue);
        color: white;
    }

    .remove-game-btn {
        background: var(--accent-red);
        color: white;
    }

    /* Loading durante updates */
    .updating-score-loader {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 1rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        z-index: 10000;
        backdrop-filter: blur(4px);
    }

    /* Indicador de modo offline para admin */
    body.offline-mode .admin-controls::before {
        content: "⚠️ MODO OFFLINE - CONTROLES INDISPONÍVEIS";
        display: block;
        background: var(--accent-red);
        color: white;
        padding: 0.5rem;
        text-align: center;
        font-weight: bold;
        margin-bottom: 1rem;
        border-radius: 6px;
        animation: blink 1s infinite;
    }

    body.offline-mode .score-btn,
    body.offline-mode .finish-game-btn,
    body.offline-mode .remove-game-btn {
        opacity: 0.5;
        pointer-events: none;
    }
}

/* Animação de alerta */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Melhorar visibilidade em telas pequenas */
@media (max-width: 480px) {
    .live-game-card {
        padding: 1.5rem 1rem;
    }

    .admin-controls {
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-top: 2px solid var(--border-color);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .score-btn {
        font-size: 1.1rem !important;
        padding: 1.25rem 1rem !important;
    }
}

    color: var(--text-primary);
    font-size: 1.1rem;
}

.admin-game-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-game-actions {
    display: flex;
    gap: 0.75rem;
}

.admin-game-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.no-active-games {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

/* === RESPONSIVIDADE MÓVEL === */
@media (max-width: 768px) {
    .jogos-ao-vivo-grid {
        grid-template-columns: 1fr;
    }

    .live-game-score {
        flex-direction: column;
        gap: 1rem;
    }

    .team-live {
        justify-content: center;
        width: 100%;
    }

    .vs-live {
        margin: 0;
        transform: rotate(90deg);
    }

    .admin-controls {
        justify-content: center;
    }

    .vote-buttons {
        flex-direction: column;
        align-items: center;
    }

    .vote-btn {
        width: 100%;
        max-width: 200px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-game-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }

/* === PWA STYLES === */

/* Botão de instalação PWA */
.install-btn {
    background: var(--accent-green) !important;
    animation: pulse-install 2s infinite;
}

@keyframes pulse-install {
    0%, 100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(63, 185, 80, 0); }
}

/* Banner de atualização */
.update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-blue);
    color: white;
    z-index: 1001;
    padding: 1rem;
    transform: translateY(-100%);
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    to { transform: translateY(0); }
}

.update-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.update-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.dismiss-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* Mensagens de status */
.status-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.status-success {
    background: var(--accent-green);
}

.status-warning {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.status-error {
    background: var(--accent-red);
}

.status-info {
    background: var(--accent-blue);
}

/* Modo PWA standalone */
.pwa-mode .header {
    padding-top: env(safe-area-inset-top);
}

.pwa-mode {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Modo offline */
.offline-mode {
    filter: grayscale(0.3);
}

.offline-mode::before {
    content: '📴 Modo Offline';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-red);
    color: white;
    text-align: center;
    padding: 0.5rem;
    z-index: 999;
    font-size: 0.9rem;
    font-weight: 600;
}

.offline-mode .header {
    margin-top: 2.5rem;
}

/* Animações aprimoradas para PWA */
@media (prefers-reduced-motion: no-preference) {
    .modalidade-card,
    .sala-card,
    .day-card,
    .jogo-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .modalidade-card:hover,
    .sala-card:hover,
    .day-card:hover,
    .jogo-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
}

/* Responsividade para PWA mobile */
@media (max-width: 768px) and (display-mode: standalone) {
    .header-content {
        padding: 1rem 0 0.5rem 0;
    }
    
    .hero {
        padding: 2rem 0 1rem 0;
    }
    
    .update-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .status-message {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}

/* iOS PWA específico */
@media (display-mode: standalone) and (-webkit-touch-callout: none) {
    .header {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* === NEW STYLES FOR GAME STATUS === */
.game-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-proximo {
    background: var(--accent-blue);
    color: white;
}

.status-andamento {
    background: var(--accent-red);
    color: white;
    animation: pulse 2s infinite;
}

.status-finalizado {
    background: var(--accent-green);
    color: white;
}

.section-divider {
    border-top: 2px solid var(--border-color);
    margin: 3rem 0 2rem 0;
    padding-top: 2rem;
}

.game-result {
    opacity: 0.8;
}

.winner-highlight {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Estados dos Cards de Jogos */
.jogo-card.game-upcoming {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(88, 166, 255, 0.05));
}

.jogo-card.game-upcoming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), transparent, var(--accent-blue));
    animation: slide 3s infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.jogo-card.game-finished {
    opacity: 0.9;
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(63, 185, 80, 0.05));
    border-color: var(--accent-green);
}

.jogo-card.recently-finished {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(255, 215, 0, 0.1));
    position: relative;
    overflow: hidden;
}

.jogo-card.recently-finished::after {
    content: '🆕 RECÉM FINALIZADO';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.game-modalidade-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-modalidade {
    position: relative;
}

.modalidade-futsal { background: #e74c3c; }
.modalidade-vôlei { background: #3498db; }
.modalidade-tênis-mesa { background: #f39c12; }
.modalidade-xadrez { background: #9b59b6; }
.modalidade-dominó { background: #1abc9c; }
.modalidade-rummikub { background: #e67e22; }

.winner-badge {
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.game-status-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.game-timing {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.versus-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.final-result {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-mono);
}

.winning-score {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.jogo-card {
    position: relative;
    overflow: hidden;
}

/* Estilos para o Modal de Aviso (Matheus) */
.modal-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.modal-notice.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95);
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.modal-header {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--text-primary);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.modal-body {
    max-height: 500px; /* Defina uma altura máxima para ativar a barra de rolagem */
    overflow-y: auto;  /* Ativa a barra de rolagem vertical quando o conteúdo exceder */
    padding-right: 15px; /* Adicione um padding para compensar a largura da barra de rolagem, se ela aparecesse */
    margin-right: -15px; /* Compensa o padding para que o conteúdo não fique espremido */
    
    /* Esconder a barra de rolagem no Webkit (Chrome, Safari) */
    &::-webkit-scrollbar {
        width: 0px;
        background: transparent; /* make scrollbar transparent */
    }

    /* Esconder a barra de rolagem no Firefox */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}