/* ============================================================
   MARÉ CHEIA SPORTS — Landing Page
   Dark + Cyan Glow + Gold Outline
   ============================================================ */

:root {
    --bg: #040a14;
    --navy: #060f1f;
    --navy-card: #0a1830;
    --cyan: #00a8c8;
    --cyan-bright: #00d4f0;
    --cyan-glow: rgba(0,212,240,0.30);
    --gold: #c8960c;
    --gold-bright: #e6a817;
    --gold-outline: rgba(200,150,12,0.45);
    --danger: #e53935;
    --danger-glow: rgba(229,57,53,0.4);
    --text: #ffffff;
    --text-light: #c0cddb;
    --text-muted: #556580;
    --border: rgba(255,255,255,0.07);
    --border-cyan: rgba(0,212,240,0.18);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- GLOW DE FUNDO (luz de estádio + raios de sol dourados) ---- */
body::before {
    content: '';
    position: fixed; top: -15%; left: 50%; transform: translateX(-50%);
    width: 1100px; height: 900px;
    background: 
        /* raio de sol amarelo vazado por trás */
        radial-gradient(ellipse at 50% 28%, rgba(230,168,23,0.10) 0%, rgba(200,150,12,0.04) 25%, transparent 55%),
        /* glow ciano de estádio */
        radial-gradient(ellipse at 50% 22%, rgba(0,212,240,0.14) 0%, rgba(0,170,200,0.05) 30%, transparent 60%);
    pointer-events: none; z-index: 0;
}
body::after {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at 50% 12%, rgba(0,190,220,0.06) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}

/* ---- HEADER ---- */
.site-header {
    width: 100%; position: sticky; top: 0; z-index: 1000;
    background: rgba(6,15,31,0.94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-cyan);
}
.header-container {
    max-width: 700px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo-area { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-img {
    height: 54px; width: auto;
    filter: drop-shadow(0 0 14px rgba(0,212,240,0.3));
}
.logo-text { display:flex; flex-direction:column; }
.logo-text .brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem; font-weight: 800; color: #fff;
    letter-spacing: 1px; text-transform: uppercase; line-height: 1;
}
.logo-text .brand-name .highlight {
    background: linear-gradient(135deg, var(--cyan-bright), var(--gold-bright));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-text .brand-sub {
    font-size: 0.55rem; color: var(--cyan); letter-spacing: 3px;
    text-transform: uppercase; font-weight: 600;
}

.live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--danger); color: #fff;
    padding: 8px 18px; border-radius: 50px;
    font-weight: 700; font-size: 0.75rem;
    letter-spacing: 0.5px; animation: pulse-glow 2s infinite;
    box-shadow: 0 0 20px var(--danger-glow);
    text-transform: uppercase;
}
.live-badge .dot {
    width: 8px; height: 8px; background: #fff; border-radius: 50%;
    animation: blink 1s infinite;
}
@keyframes pulse-glow {
    0%,100% { box-shadow: 0 0 12px var(--danger-glow); }
    50% { box-shadow: 0 0 28px rgba(229,57,53,0.6), 0 0 44px rgba(229,57,53,0.2); }
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.3;transform:scale(0.7);} }

/* ---- WARNINGS ---- */
.warning-bar {
    width: 100%; padding: 9px 20px; text-align: center;
    font-weight: 500; font-size: 0.74rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    letter-spacing: 0.2px; position: relative; z-index: 1;
}
.warning-bar .close-warning {
    background: rgba(0,0,0,0.25); border: none; color: inherit;
    width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); flex-shrink: 0; opacity: 0.7;
}
.warning-bar .close-warning:hover { background: rgba(0,0,0,0.45); opacity: 1; }

/* ---- HERO ---- */
.hero-section {
    position: relative; z-index: 1; text-align: center;
    padding: 60px 24px 40px;
    max-width: 600px; margin: 0 auto;
}
.hero-glow {
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 450px;
    background: 
        /* raio de sol amarelo — mais intenso no centro */
        radial-gradient(ellipse at 50% 40%, rgba(230,168,23,0.16) 0%, rgba(200,150,12,0.05) 30%, transparent 60%),
        /* glow ciano por cima */
        radial-gradient(ellipse at 50% 30%, rgba(0,212,240,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero-logo {
    display: block; width: 220px; height: auto;
    margin: 0 auto 24px;
    position: relative; z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0,212,240,0.4)) drop-shadow(0 0 60px rgba(230,168,23,0.3));
}
.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem; font-weight: 900; line-height: 1;
    text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 12px; position: relative; z-index: 1;
    text-shadow: 0 0 40px rgba(0,212,240,0.35);
}
.hero-title .cyan {
    color: var(--cyan-bright);
    text-shadow: 0 0 50px rgba(0,212,240,0.5), 0 0 80px rgba(0,212,240,0.2);
}
.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 5px;
    text-transform: uppercase; padding: 7px 24px; border-radius: 4px;
    border: 1px solid var(--gold-outline);
    color: var(--gold-bright); background: transparent;
    position: relative; z-index: 1;
}
.hero-event {
    margin-top: 16px; font-size: 0.9rem; color: var(--text-light);
    font-weight: 500; position: relative; z-index: 1;
}

/* ---- PLAYER (condicional) ---- */
.player-section {
    width: 100%; max-width: 800px; margin: 0 auto 28px;
    background: var(--navy-card); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-cyan);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(0,212,240,0.05);
    position: relative; z-index: 1;
}
.player-wrapper {
    position: relative; width: 100%; background: #000;
    aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
}
.player-wrapper iframe { position:absolute; inset:0; width:100%; height:100%; border:none; }
.player-info-bar {
    padding: 10px 20px; background: rgba(10,20,40,0.9);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; font-size: 0.78rem; color: var(--text-light); flex-wrap: wrap;
}
.live-since { display:flex; align-items:center; gap:6px; color:var(--cyan-bright); font-weight:600; }
.live-since .pulse-dot {
    width:7px; height:7px; background:var(--cyan-bright); border-radius:50%;
    animation:pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%,100%{box-shadow:0 0 0 0 rgba(0,212,240,0.6);}
    50%{box-shadow:0 0 0 8px rgba(0,212,240,0);}
}

/* Waiting */
.waiting-state { text-align:center; padding:60px 30px; }
.waiting-spinner {
    width:50px; height:50px; margin:0 auto 24px;
    border:3px solid rgba(255,255,255,0.08); border-top-color:var(--cyan);
    border-radius:50%; animation:spin 0.8s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg);} }
.waiting-state h3 { font-size:1.1rem; font-weight:700; color:var(--cyan-bright); margin-bottom:6px; }
.waiting-state p { color:var(--text-muted); font-size:0.82rem; }

/* Alt Links */
.alt-links-container { padding:14px 20px; border-top:1px solid var(--border); }
.alt-links-header {
    display:flex; align-items:center; gap:8px;
    font-size:0.68rem; font-weight:700; color:var(--text-muted);
    text-transform:uppercase; letter-spacing:1.5px; margin-bottom:10px;
}
.alt-links-header i { font-size:0.8rem; color:var(--gold-bright); }
.alt-links-list { display:flex; flex-wrap:wrap; gap:8px; }
.alt-link-btn {
    display:inline-flex; align-items:center; gap:6px;
    background:rgba(255,255,255,0.04); color:var(--text-light);
    border:1px solid var(--border); padding:8px 16px;
    border-radius:50px; font-size:0.74rem; font-weight:600;
    cursor:pointer; text-decoration:none;
    transition:all var(--transition); font-family:inherit;
}
.alt-link-btn:hover { border-color:var(--cyan); color:#fff; }
.alt-link-btn.active-link {
    background:rgba(0,212,240,0.12); border-color:var(--cyan);
    color:var(--cyan-bright);
}

/* ---- CTA BUTTONS (YouTube / Facebook) ---- */
.cta-section {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 14px;
    width: 100%; max-width: 460px; margin: 0 auto 28px;
    padding: 0 20px;
}
.cta-btn {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 28px; border-radius: 16px;
    text-decoration: none; transition: all var(--transition);
    border: 2px solid transparent;
}
.cta-btn i { font-size: 2rem; width: 44px; text-align: center; flex-shrink: 0; }
.cta-btn span { display: flex; flex-direction: column; }
.cta-btn strong { font-size: 1rem; font-weight: 800; }
.cta-btn small { font-size: 0.7rem; opacity: 0.8; font-weight: 500; margin-top: 2px; }

.cta-btn.youtube {
    background: rgba(255,0,0,0.12); color: #ff5555;
    border-color: rgba(255,0,0,0.25);
}
.cta-btn.youtube:hover {
    background: rgba(255,0,0,0.22); border-color: #ff0000;
    box-shadow: 0 0 35px rgba(255,0,0,0.3); transform: translateY(-2px);
}

.cta-btn.facebook {
    background: rgba(24,119,242,0.12); color: #5ba0ff;
    border-color: rgba(24,119,242,0.25);
}
.cta-btn.facebook:hover {
    background: rgba(24,119,242,0.22); border-color: #1877F2;
    box-shadow: 0 0 35px rgba(24,119,242,0.3); transform: translateY(-2px);
}

/* ---- SOCIAL PILLS ---- */
.social-section {
    position: relative; z-index: 1;
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 28px; padding: 0 20px;
}
.social-pill {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 18px; border-radius: 50px;
    font-weight: 600; font-size: 0.76rem; text-decoration: none;
    background: rgba(255,255,255,0.03); color: var(--text-muted);
    border: 1px solid var(--border); transition: all var(--transition);
}
.social-pill i { font-size: 0.9rem; }
.social-pill:hover { background: rgba(255,255,255,0.07); border-color:rgba(255,255,255,0.15); color:#fff; transform:translateY(-1px); }
.social-pill.instagram:hover { border-color:#E1306C; color:#E1306C; }

/* ---- HORÁRIO — badge destacado ACIMA dos botões ---- */
.cta-time-badge {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin: 0 auto 20px; padding: 12px 28px;
    background: rgba(230,168,23,0.10);
    border: 1px solid var(--gold-outline);
    border-radius: 50px;
    font-size: 0.9rem; font-weight: 700; color: var(--gold-bright);
    letter-spacing: 0.5px; text-transform: uppercase;
    max-width: 380px; width: fit-content;
}
.cta-time-badge i { font-size: 1rem; }
.cta-time-badge strong { font-size: 1.1rem; color: #fff; margin: 0 2px; }

/* ---- POPUP ---- */
.popup-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(2,6,16,0.92);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
}
.popup-overlay.active { display: flex; }

.popup-box {
    background: var(--navy-card); border: 1px solid var(--border-cyan);
    border-radius: var(--radius-lg); padding: 40px 30px;
    text-align: center; max-width: 400px; width: 90%;
    box-shadow: 0 0 60px rgba(0,212,240,0.12), 0 0 100px rgba(230,168,23,0.08);
    animation: popIn 0.3s ease;
}
@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    background: rgba(230,168,23,0.12); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--gold-outline);
}
.popup-icon i { font-size: 2rem; color: var(--gold-bright); }

.popup-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem; font-weight: 800; line-height: 1.2;
    color: var(--text); margin-bottom: 10px;
    text-transform: uppercase; letter-spacing: 1px;
}
.popup-text {
    font-size: 0.85rem; color: var(--text-light);
    margin-bottom: 18px; line-height: 1.5;
}
.popup-time {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,212,240,0.08); border: 1px solid var(--border-cyan);
    padding: 10px 20px; border-radius: 8px;
    font-size: 0.82rem; color: var(--cyan-bright);
    margin-bottom: 22px;
}
.popup-time strong { color: var(--gold-bright); font-size: 1rem; }

.popup-close {
    display: block; width: 100%; padding: 13px;
    background: var(--gold); color: #000; border: none;
    border-radius: 10px; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
    font-family: inherit; transition: all var(--transition);
}
.popup-close:hover { background: var(--gold-bright); }

/* ---- FOOTER ---- */
.site-footer {
    width: 100%; border-top: 1px solid rgba(255,255,255,0.05);
    padding: 24px 20px; text-align: center;
    position: relative; z-index: 1; margin-top: auto;
}
.footer-inner { max-width: 500px; margin: 0 auto; }
.footer-copy { color:var(--text-muted); font-size:0.72rem; font-weight:500; }
.footer-copy span { color:var(--cyan-bright); font-weight:700; }
.footer-credit { color:var(--text-muted); font-size:0.72rem; font-weight:500; margin-top:2px; }
.footer-disclaimer { color:var(--text-muted); font-size:0.62rem; margin-top:8px; line-height:1.5; opacity:0.5; }

/* ---- UTILS ---- */
.hidden { display:none !important; }

::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(255,255,255,0.06); border-radius:10px; }
::selection { background:rgba(0,212,240,0.3); color:#fff; }
:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; border-radius:2px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero-section { padding: 36px 20px 20px; flex-shrink: 0; }
    .hero-glow { width: 400px; height: 300px; top: -40px; }
    .hero-logo { width: 150px; margin-bottom: 16px; }
    .hero-title { font-size: 2.2rem; letter-spacing: 2px; margin-bottom: 8px; }
    .hero-subtitle { font-size: 0.72rem; letter-spacing: 3px; padding: 5px 16px; }
    .hero-event { font-size: 0.8rem; margin-top: 10px; }
    .player-section { max-width: 100%; margin: 0 12px 18px; border-radius: 12px; flex-shrink: 0; }
    .player-info-bar { padding: 8px 14px; font-size: 0.7rem; flex-direction: column; align-items: flex-start; gap: 4px; }
    .alt-links-container { padding: 10px 14px; }
    .alt-link-btn { padding: 6px 12px; font-size: 0.68rem; }
    .cta-section { max-width: 100%; padding: 0 16px; gap: 10px; margin-bottom: 18px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .cta-btn { padding: 18px 22px; gap: 14px; border-radius: 14px; }
    .cta-btn i { font-size: 1.8rem; width: 40px; }
    .cta-btn strong { font-size: 1rem; }
    .cta-time-badge { padding: 8px 18px; font-size: 0.74rem; margin-bottom: 14px; }
    .social-section { padding: 0 16px; gap: 8px; margin-bottom: 18px; flex-shrink: 0; }
    .social-pill { padding: 9px 16px; font-size: 0.72rem; }
    .header-container { padding: 10px 16px; }
    .logo-img { height: 40px; }
    .logo-text .brand-name { font-size: 0.95rem; }
    .logo-text .brand-sub { font-size: 0.5rem; letter-spacing: 2px; }
    .live-badge { padding: 6px 12px; font-size: 0.65rem; gap: 4px; }
    .live-badge .dot { width: 6px; height: 6px; }
    .warning-bar { font-size: 0.66rem; padding: 6px 12px; }
    .popup-box { padding: 28px 18px; max-width: 90%; }
    .popup-title { font-size: 1.2rem; }
    .popup-text { font-size: 0.76rem; }
    .popup-time { padding: 8px 14px; font-size: 0.7rem; }
    .popup-close { padding: 11px; font-size: 0.8rem; }
    .site-footer { padding: 16px; flex-shrink: 0; }
    .footer-copy { font-size: 0.66rem; }
}

@media (max-width: 500px) {
    .hero-section { padding: 24px 14px 16px; }
    .hero-glow { width: 300px; height: 220px; top: -30px; }
    .hero-logo { width: 110px; margin-bottom: 12px; }
    .hero-title { font-size: 1.7rem; letter-spacing: 1px; margin-bottom: 6px; }
    .hero-subtitle { font-size: 0.66rem; letter-spacing: 2px; padding: 4px 12px; }
    .hero-event { font-size: 0.72rem; margin-top: 8px; }
    .cta-section { padding: 0 10px; gap: 8px; margin-bottom: 14px; }
    .cta-btn { padding: 16px 18px; gap: 12px; border-radius: 12px; }
    .cta-btn i { font-size: 1.5rem; width: 34px; }
    .cta-btn strong { font-size: 0.9rem; }
    .cta-btn small { font-size: 0.62rem; }
    .cta-time-badge { padding: 7px 14px; font-size: 0.68rem; margin-bottom: 10px; }
    .social-section { padding: 0 10px; gap: 6px; margin-bottom: 14px; }
    .social-pill { padding: 8px 14px; font-size: 0.68rem; gap: 5px; }
    .social-pill i { font-size: 0.8rem; }
    .header-container { padding: 8px 12px; }
    .logo-img { height: 34px; }
    .logo-text .brand-name { font-size: 0.8rem; }
    .logo-text .brand-sub { display: none; }
    .live-badge { padding: 4px 10px; font-size: 0.58rem; }
    .warning-bar { font-size: 0.6rem; padding: 5px 10px; flex-wrap: wrap; }
    .warning-bar .close-warning { width: 18px; height: 18px; font-size: 0.6rem; }
    .player-section { margin: 0 6px 14px; border-radius: 10px; }
    .player-info-bar { padding: 6px 10px; font-size: 0.64rem; }
    .alt-links-header { font-size: 0.6rem; }
    .alt-link-btn { padding: 5px 10px; font-size: 0.62rem; }
    .popup-box { padding: 22px 14px; }
    .popup-icon { width: 50px; height: 50px; margin-bottom: 12px; }
    .popup-icon i { font-size: 1.3rem; }
    .popup-title { font-size: 1rem; }
    .popup-text { font-size: 0.7rem; margin-bottom: 12px; }
    .popup-time { padding: 6px 10px; font-size: 0.64rem; }
    .popup-close { padding: 10px; font-size: 0.72rem; }
    .site-footer { padding: 14px 10px; }
    .footer-copy { font-size: 0.6rem; }
}

@media (max-width: 380px) {
    .hero-section { padding: 20px 10px 12px; }
    .hero-logo { width: 90px; margin-bottom: 10px; }
    .hero-title { font-size: 1.4rem; }
    .hero-subtitle { font-size: 0.6rem; letter-spacing: 1.5px; padding: 3px 10px; }
    .cta-section { padding: 0 8px; gap: 7px; }
    .cta-btn { padding: 14px 16px; gap: 10px; }
    .cta-btn i { font-size: 1.3rem; width: 28px; }
    .cta-btn strong { font-size: 0.82rem; }
    .cta-time-badge { padding: 6px 12px; font-size: 0.62rem; margin-bottom: 8px; }
    .header-container { padding: 6px 10px; }
    .logo-img { height: 30px; }
    .logo-text .brand-name { font-size: 0.7rem; }
    .live-badge { padding: 3px 8px; font-size: 0.52rem; }
    .live-badge .dot { width: 5px; height: 5px; }
    .social-pill { padding: 7px 12px; font-size: 0.62rem; }
    .footer-copy { font-size: 0.56rem; }
    .site-footer { padding: 12px 8px; }
}
