/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fla-red: #c8102e;
    --fla-red-dark: #9b0c24;
    --fla-black: #1a1a1a;
    --fla-gray: #f4f4f5;
    --fla-text: #333;
    --fla-muted: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--fla-text);
    background-color: #ececec;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--fla-black) 0%, var(--fla-red-dark) 55%, var(--fla-red) 100%);
    color: white;
    padding: 48px 0 56px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 8px;
}

.header h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto;
}

/* Banner oficial */
.official-banner {
    background: #fff8e6;
    border: 1px solid #f0d080;
    border-left: 4px solid var(--fla-red);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 24px 0 12px;
    font-size: 0.98rem;
    color: #5c4a1f;
    line-height: 1.65;
}

.official-banner a {
    color: var(--fla-red-dark);
    font-weight: 700;
}

/* Quick nav */
.quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.quick-nav a {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: var(--fla-black);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.quick-nav a:hover {
    background: var(--fla-red);
    border-color: var(--fla-red);
    color: #fff;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

.section {
    margin-bottom: 28px;
    background: white;
    padding: 32px 28px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.section h2 {
    color: var(--fla-red);
    font-size: 1.65rem;
    margin-bottom: 12px;
    border-bottom: 3px solid var(--fla-red);
    padding-bottom: 8px;
}

.section-lead {
    color: var(--fla-muted);
    font-size: 1.02rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.section-lead a {
    color: var(--fla-red-dark);
    font-weight: 600;
}

/* Games */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    background: var(--fla-gray);
}

.game-championship {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fla-red-dark);
    margin-bottom: 14px;
}

.game-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.team-logo-fallback {
    font-size: 2rem;
    line-height: 1;
}

.team-name {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    word-break: break-word;
}

.game-vs {
    font-size: 1.2rem;
    font-weight: 700;
    color: #999;
    flex-shrink: 0;
}

.game-meta {
    list-style: none;
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 12px;
}

.game-meta li {
    padding: 4px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.game-note {
    font-size: 0.88rem;
    color: var(--fla-muted);
    line-height: 1.55;
    padding-top: 8px;
    border-top: 1px dashed #ccc;
}

.game-note a {
    color: var(--fla-red-dark);
    font-weight: 600;
}

.empty-state {
    padding: 24px;
    text-align: center;
    color: var(--fla-muted);
    background: var(--fla-gray);
    border-radius: 8px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 24px 20px;
    background: var(--fla-gray);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    color: var(--fla-red);
    margin-bottom: 10px;
}

.feature-card h3 {
    color: var(--fla-black);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--fla-muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Info Section */
.info-content p {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

.info-content a {
    color: var(--fla-red-dark);
    font-weight: 600;
}

.legal-note {
    font-size: 0.92rem;
    color: #777;
    margin-top: 12px;
}

.legal-note a {
    color: var(--fla-red-dark);
}

/* News */
.news-list {
    display: grid;
    gap: 16px;
}

.news-item {
    padding: 18px 20px;
    background: var(--fla-gray);
    border-radius: 8px;
    border-left: 3px solid var(--fla-red);
}

.news-item h3 {
    font-size: 1.05rem;
    color: var(--fla-black);
    margin-bottom: 6px;
}

.news-item p {
    color: var(--fla-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    font-size: 1rem;
    color: #444;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fla-red);
    font-size: 1.3rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--fla-black);
    color: white;
    text-align: center;
    padding: 28px 0;
    margin-top: 20px;
}

.footer p {
    margin: 5px 0;
    opacity: 0.9;
    font-size: 0.92rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline;
}

.footer a:hover {
    color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.85rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 24px 18px;
    }

    .section h2 {
        font-size: 1.35rem;
    }

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

    .quick-nav a {
        font-size: 0.82rem;
        padding: 7px 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 36px 0 44px;
    }

    .header h1 {
        font-size: 1.55rem;
    }

    .game-match {
        flex-direction: column;
        gap: 8px;
    }

    .game-vs {
        transform: rotate(90deg);
    }
}
