/* ═══════════════════════════════════════════════════════════════════
   FLAMENGO PAGE — CUSTOM STYLES
   Reutiliza o design system do M-Square + cores do Flamengo
   ═══════════════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --bg-dark: #0a0a0a;
    --fla-red: #E11D1D;
    --fla-dark-red: #8B0000;
    --fla-black: #1A1A1A;
    --fla-gold: #C5A55A;
    --accent-primary: #833ab4;
    --accent-secondary: #fd1d1d;
    --accent-tertiary: #fcb045;
    --text-main: #ffffff;
    --text-muted: #888;
    --surface: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.7);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════════════════════════════════ */

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand svg {
    width: 22px;
    height: 22px;
}

.nav-brand-text {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, var(--accent-tertiary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.nav-back:hover {
    color: var(--text-main);
    border-color: var(--fla-red);
    background: rgba(225, 29, 29, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    padding: 140px 30px 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.95) 100%),
        radial-gradient(ellipse at center, rgba(225, 29, 29, 0.2) 0%, transparent 80%),
        url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center 30%;
    z-index: 0;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(225, 29, 29, 0.15);
    border: 1px solid rgba(225, 29, 29, 0.3);
    color: var(--fla-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(225, 29, 29, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(225, 29, 29, 0.2);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--fla-red) 50%, var(--fla-gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   LIVE SECTION
   ═══════════════════════════════════════════════════════════════════ */

.live-section {
    padding: 0 30px;
    max-width: 1200px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 10;
}

.live-section-inner {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95), rgba(30, 0, 0, 0.9));
    border: 1px solid rgba(225, 29, 29, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(225, 29, 29, 0.05);
}

.live-badge {
    background-color: var(--fla-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: flashLive 2s infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes flashLive {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(225, 29, 29, 0.8);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 2px rgba(225, 29, 29, 0.2);
    }
}

@media (max-width: 768px) {
    .live-section {
        margin-top: -20px;
    }

    .live-section-inner {
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════ */

.section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.section-icon.red {
    background: linear-gradient(135deg, rgba(225, 29, 29, 0.2), rgba(139, 0, 0, 0.3));
    border: 1px solid rgba(225, 29, 29, 0.3);
}

.section-icon.gold {
    background: linear-gradient(135deg, rgba(197, 165, 90, 0.2), rgba(197, 165, 90, 0.3));
    border: 1px solid rgba(197, 165, 90, 0.3);
}

.section-title-group h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section-title-group p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   VIDEO GRID
   ═══════════════════════════════════════════════════════════════════ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--fla-black);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: cardEntrance 0.6s ease-out forwards;
}

.video-card:nth-child(1) {
    animation-delay: 0.1s;
}

.video-card:nth-child(2) {
    animation-delay: 0.2s;
}

.video-card:nth-child(3) {
    animation-delay: 0.3s;
}

.video-card:nth-child(4) {
    animation-delay: 0.4s;
}

.video-card:nth-child(5) {
    animation-delay: 0.5s;
}

.video-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(225, 29, 29, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(225, 29, 29, 0.08);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 16px 18px;
}

.video-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.video-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.video-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

.video-tag.classico {
    background: rgba(225, 29, 29, 0.15);
    color: var(--fla-red);
    border: 1px solid rgba(225, 29, 29, 0.25);
}

.video-tag.libertadores {
    background: rgba(197, 165, 90, 0.15);
    color: var(--fla-gold);
    border: 1px solid rgba(197, 165, 90, 0.25);
}

.video-tag.imperador {
    background: linear-gradient(135deg, rgba(225, 29, 29, 0.15), rgba(197, 165, 90, 0.15));
    color: #f0c060;
    border: 1px solid rgba(197, 165, 90, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   ADRIANO IMPERADOR — SPECIAL SECTION
   ═══════════════════════════════════════════════════════════════════ */

.adriano-section {
    position: relative;
}

.adriano-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fla-red), var(--fla-gold), var(--fla-red), transparent);
}

.adriano-highlight {
    background-image:
        linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.95)),
        url('./assets/adriano-bg.png');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(197, 165, 90, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 50px rgba(197, 165, 90, 0.05);
}

.adriano-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.adriano-highlight p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.adriano-highlight strong {
    color: var(--fla-gold);
}

.adriano-quote {
    font-style: italic;
    position: relative;
    z-index: 1;
    padding-left: 20px;
    border-left: 3px solid var(--fla-red);
    margin-top: 15px;
}

/* ═══════════════════════════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════════════════════════ */

.section-divider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.page-footer {
    text-align: center;
    padding: 50px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.page-footer p {
    font-size: 0.75rem;
    color: #444;
}

.page-footer a {
    color: var(--fla-red);
    text-decoration: none;
    transition: color 0.3s;
}

.page-footer a:hover {
    color: var(--fla-gold);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand svg {
    width: 18px;
    height: 18px;
}

.version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.6rem;
    color: #333;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   AD SLOT
   ═══════════════════════════════════════════════════════════════════ */

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

.ad-wrapper {
    background: rgba(8, 8, 16, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    contain: paint layout;
    isolation: isolate;
}

.ad-label {
    font-size: 0.55rem;
    color: #252535;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-bar {
        padding: 12px 16px;
    }

    .nav-brand-text {
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .section {
        padding: 40px 16px;
    }

    .adriano-highlight {
        padding: 20px;
    }

    .section-header {
        gap: 12px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .section-title-group h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .video-info h3 {
        font-size: 0.85rem;
    }
}