/* ============================================================
   DBR Layout — "Noite atlântica"
   ============================================================
   Identidade visual própria (New Layout / DBR Design).
   Carrega DEPOIS de theme.css. Admin ainda pode ajustar via
   theme.override.css (última camada).
   ============================================================ */

:root {
    --bg-0:   #05070c;
    --bg-1:   #0a101c;
    --bg-2:   #121c2e;
    --bg-3:   #1a2740;
    --rust:   #3b82f6;
    --rust-2: #60a5fa;
    --bone:   #e8eef8;
    --moss:   #3d9b6e;
    --hazard: #f0b429;
    --dim:    #8b9bb4;
    --border: rgba(232, 238, 248, 0.10);

    --text-danger:  #fca5a5;
    --text-success: #86efac;
    --danger-overlay: rgba(231, 76, 60, 0.12);
    --danger-border:  rgba(231, 76, 60, 0.4);
    --hazard-overlay: rgba(240, 180, 41, 0.10);
    --hazard-border:  rgba(240, 180, 41, 0.28);
    --dark-overlay:   rgba(5, 7, 12, 0.78);

    --font-display: 'Chakra Petch', 'Segoe UI', sans-serif;
    --font-body:    'Manrope', 'Segoe UI', sans-serif;
    --font-mono:    'Chakra Petch', 'Segoe UI', sans-serif;

    --shadow-card: 0 24px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(96, 165, 250, 0.06);
    --shadow-text: 0 4px 28px rgba(5, 7, 12, 0.95);

    --dbr-accent-line: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.75), transparent);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-0);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(28, 47, 74, 0.45), transparent 50%);
    background-attachment: fixed;
}

/* Grade só fora do hero — no hero a foto precisa respirar */
body::before {
    background-image:
        linear-gradient(rgba(232, 238, 248, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 238, 248, 0.025) 1px, transparent 1px),
        radial-gradient(ellipse at center, transparent 50%, rgba(7, 11, 20, 0.55) 100%);
    background-size: 48px 48px, 48px 48px, 100% 100%;
    mix-blend-mode: normal;
    opacity: 0.35;
    /* não cobrir o hero (altura aproximada da 1ª viewport) */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 100vh, #000 100vh);
    mask-image: linear-gradient(to bottom, transparent 0, transparent 100vh, #000 100vh);
}

h1, h2, h3, h4,
.brand-name,
.btn,
.section-header h2 {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}

.site-header {
    background: rgba(5, 7, 12, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(1.2);
}

.site-header.scrolled {
    background: rgba(5, 7, 12, 0.92);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.nav-main a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-main a:hover { color: var(--rust-2); }
.nav-main a::after { background: var(--rust-2); height: 2px; }

.nav-main a.nav-discord {
    color: var(--rust-2);
}

.btn-player-area {
    background: transparent !important;
    border: 1px solid rgba(59, 130, 246, 0.55) !important;
    color: var(--bone) !important;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.65rem 1rem;
}

.btn-player-area:hover {
    background: rgba(59, 130, 246, 0.16) !important;
    border-color: var(--rust-2) !important;
    color: var(--bone) !important;
}

.user-pill:hover {
    border-color: var(--rust);
    background: rgba(59, 130, 246, 0.10);
}

.btn {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.btn:hover {
    background: var(--rust-2);
    border-color: var(--rust-2);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.28);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.12);
    color: var(--bone);
    border-color: var(--rust-2);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.18);
}

.section-kicker {
    margin: 0 0 0.65rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--rust-2);
}

.section-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
}

.section-header h2::after {
    background: var(--dbr-accent-line);
    height: 2px;
    width: min(220px, 50%);
    margin-top: 0.85rem;
    transform-origin: center;
}

.section-header p {
    max-width: 42rem;
    margin: 0 auto;
    color: rgba(232, 238, 248, 0.68);
    font-size: 0.95rem;
}

.section-bg-2 {
    background:
        radial-gradient(ellipse 70% 50% at 15% 0%, rgba(59, 130, 246, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(10, 16, 28, 0.96), rgba(5, 7, 12, 0.98));
    border-top: 1px solid rgba(59, 130, 246, 0.12);
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

.section-bg-3 {
    background:
        radial-gradient(ellipse 60% 40% at 85% 10%, rgba(240, 180, 41, 0.06), transparent 50%),
        linear-gradient(180deg, rgba(5, 7, 12, 0.98), rgba(10, 16, 28, 0.95));
}

.package-card,
.feature-card,
.gallery-item,
.review-card,
.feature {
    border-radius: 0;
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature {
    background: rgba(10, 16, 28, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-left: 3px solid var(--rust);
    padding: 1.5rem 1.35rem;
}

.feature h3 {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.feature-icon {
    color: var(--rust-2);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.package-card:hover,
.feature-card:hover,
.feature:hover {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.22);
    transform: translateY(-8px);
}

.package-card {
    background: rgba(8, 12, 22, 0.88);
    overflow: hidden;
}

.package-card img,
.package-card .pack-visual img {
    filter: brightness(0.88);
    transition: transform 0.65s ease, filter 0.35s ease;
}

.package-card:hover img,
.package-card:hover .pack-visual img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* ============================================================
   HERO — marca = H1, centro ótico, full-bleed legível
   ============================================================ */
.hero.hero--dbr {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center; /* filho segue o eixo central da página */
    overflow: hidden;
    padding: 0;
}

.hero--dbr .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/assets/img/background.png');
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: dbr-kenburns 32s ease-out both;
}

.hero--dbr .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 65% at 28% 48%, transparent 0%, rgba(5, 7, 12, 0.35) 55%, rgba(5, 7, 12, 0.82) 100%),
        linear-gradient(90deg,
            rgba(5, 7, 12, 0.88) 0%,
            rgba(10, 18, 36, 0.62) 38%,
            rgba(5, 7, 12, 0.32) 62%,
            rgba(5, 7, 12, 0.15) 100%),
        linear-gradient(180deg,
            rgba(5, 7, 12, 0.58) 0%,
            transparent 22%,
            transparent 58%,
            rgba(5, 7, 12, 0.88) 100%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.16), transparent 48%);
}

/* Stage: marca à esquerda + wipe à direita (mesmo container da página) */
.hero--dbr .container.hero-stage {
    position: relative;
    z-index: 2;
    width: min(1200px, 92%);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 7rem 0 4.5rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto;
    align-items: center;
    gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
}

.hero--dbr .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hero-eyebrow {
    margin: 0 0 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust-2);
    animation: dbr-rise 0.65s ease-out both;
}

.hero--dbr .hero-brand-name,
h1.hero-brand-name {
    display: block;
    margin: 0 0 1rem;
    max-width: 14ch;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.6rem, 11vw, 6.75rem);
    line-height: 0.88;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--bone);
    text-shadow: var(--shadow-text);
    animation: dbr-rise 0.75s ease-out 0.08s both;
}

.hero--dbr .hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(232, 238, 248, 0.9);
    max-width: 28ch;
    margin: 0 0 1.1rem;
    animation: dbr-rise 0.75s ease-out 0.18s both;
}

.hero-highlights {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0.7rem 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    max-width: 38rem;
    background: rgba(5, 7, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid var(--rust);
    animation: dbr-rise 0.75s ease-out 0.22s both;
}

.hero-highlights li {
    position: relative;
    padding-left: 0.95rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232, 238, 248, 0.82);
}

.hero-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    background: var(--rust-2);
}

.hero--dbr .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
    animation: dbr-rise 0.75s ease-out 0.32s both;
}

.hero--dbr .btn-hero-primary {
    min-width: 12rem;
    padding: 0.95rem 1.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
}

.hero--dbr .hero-actions .btn {
    min-width: 10.5rem;
}

.hero--dbr .hero-actions .btn-outline {
    border-color: rgba(232, 238, 248, 0.5);
    background: rgba(7, 11, 20, 0.35);
    backdrop-filter: blur(6px);
}

.hero--dbr .hero-actions .btn-outline:hover {
    border-color: var(--rust-2);
    background: rgba(59, 130, 246, 0.18);
    color: var(--bone);
}

/* Status ao vivo — dentro do bloco da marca (não mais canto inferior) */
.hero--dbr .hero-live {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    padding: 0.5rem 0.95rem;
    background: rgba(5, 7, 12, 0.72);
    border: 1px solid rgba(61, 155, 110, 0.32);
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(232, 238, 248, 0.9);
    box-sizing: border-box;
    animation: dbr-rise 0.75s ease-out 0.24s both;
}

.hero-live-badge {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 0.18rem 0.45rem;
    background: rgba(61, 155, 110, 0.22);
    border: 1px solid rgba(61, 155, 110, 0.45);
    color: #86efac;
}

.hero--dbr .hero-live:has(.hero-live-dot-off) .hero-live-badge {
    background: rgba(240, 180, 41, 0.16);
    border-color: rgba(240, 180, 41, 0.4);
    color: var(--hazard);
}

.hero-live-count {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1rem;
}

.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--dim);
}
.hero-live-dot-on {
    background: var(--moss);
    box-shadow: 0 0 0 3px rgba(61, 155, 110, 0.25);
}
.hero-live-dot-off {
    background: var(--hazard);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.22);
}
.hero--dbr .hero-live:has(.hero-live-dot-off) {
    border-color: rgba(240, 180, 41, 0.32);
}
.hero-live-sep { opacity: 0.5; }
.hero-live a { color: var(--rust-2); }
.hero-live-more {
    margin-left: 0.15rem;
    color: var(--rust-2);
    text-decoration: none;
}
.hero-live-more:hover {
    color: var(--bone);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Anula theme.css (.hero-wipe { absolute; bottom/left }) */
.hero--dbr .hero-wipe {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    z-index: 2;
    width: auto;
    min-width: 240px;
    max-width: 300px;
    margin: 0;
    justify-self: end;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1.25rem 1.35rem;
    background: rgba(5, 7, 12, 0.82);
    border: 1px solid rgba(240, 180, 41, 0.28);
    border-left: 3px solid var(--hazard);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    pointer-events: auto;
    animation: dbr-rise 0.75s ease-out 0.28s both;
}

.hero--dbr .hero-wipe .wipe-kicker {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(232, 238, 248, 0.55);
}

.hero--dbr .hero-wipe .wipe-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hazard);
}

.hero--dbr .hero-wipe .wipe-time {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bone);
    line-height: 1.05;
    margin: 0.15rem 0;
}

.hero--dbr .hero-wipe .wipe-details {
    margin-top: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--rust-2);
    text-decoration: none;
}
.hero--dbr .hero-wipe .wipe-details:hover {
    color: var(--bone);
    text-decoration: underline;
}

.hero--dbr .hero-wipe > * { pointer-events: auto; }

.hero--dbr .hero-kicker,
.hero--dbr .hero-status,
.hero--dbr .hero-stats,
.hero--dbr .hero-brand,
.hero--dbr .hero-title { display: none !important; }

.dbr-stats-strip {
    background: rgba(5, 7, 12, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.14);
    padding: 1.5rem 0;
}

.dbr-stats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.dbr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
}

.dbr-stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--bone);
    line-height: 1;
    letter-spacing: 0.04em;
}

.dbr-stat-label {
    margin-top: 0.4rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
}

.site-footer {
    background:
        linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.04)),
        var(--bg-0);
    border-top: 1px solid rgba(59, 130, 246, 0.16);
}

.footer-col a:hover { color: var(--rust-2); }

@keyframes dbr-rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes dbr-kenburns {
    from { transform: scale(1.08); }
    to   { transform: scale(1.04); }
}

@keyframes dbr-reveal {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dbr-reveal {
    opacity: 0;
    transform: translateY(22px);
}

.dbr-reveal.is-visible {
    animation: dbr-reveal 0.7s ease-out both;
}

@media (max-width: 900px) {
    .hero--dbr .container.hero-stage {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 6rem 0 4rem;
    }
    .hero--dbr .hero-wipe {
        justify-self: start;
        max-width: 100%;
        width: min(100%, 320px);
    }
    .hero-highlights {
        max-width: 100%;
    }
    .btn-player-area {
        font-size: 0;
        padding: 0.65rem 0.75rem;
    }
    .btn-player-area svg {
        margin-right: 0 !important;
    }
    .btn-player-area::after {
        content: 'Steam';
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 768px) {
    .hero--dbr .hero-brand-name,
    h1.hero-brand-name {
        font-size: clamp(2.75rem, 13vw, 3.75rem);
    }
    .hero-highlights {
        flex-direction: column;
        gap: 0.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--dbr .hero-bg,
    .hero-eyebrow,
    .hero--dbr .hero-brand-name,
    .hero--dbr .hero-subtitle,
    .hero-highlights,
    .hero--dbr .hero-actions,
    .hero--dbr .hero-live,
    .hero--dbr .hero-wipe,
    .dbr-reveal,
    .dbr-reveal.is-visible,
    .section-header h2::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
