/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #f5e6d3;
    background: #1a0e08;
    overflow-x: hidden;
    line-height: 1.65;
    letter-spacing: 0.005em;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

/* === GRADIENT CANVAS === */
.gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c2551a 0%, #d4456b 50%, #1a0e08 100%);
    background-size: 200% 200%;
    animation: gradient-shift 30s ease infinite;
    z-index: 0;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === RHINESTONE GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: grid-fadein 800ms ease forwards;
    background-image:
        radial-gradient(circle 1.5px at 30px 30px, rgba(232, 184, 77, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes grid-fadein {
    to { opacity: 1; }
}

/* === SPARKLE CANVAS === */
.sparkle-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* === TICKER BAR === */
.ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: rgba(26, 14, 8, 0.85);
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffd4a3;
    animation: ticker 35s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}

/* === HUD INDICATOR === */
.hud-indicator {
    position: fixed;
    top: 40px;
    left: 20px;
    z-index: 10;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff1e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d88;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* === CORNER BRACKETS === */
.corner-bracket {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

.corner-bracket::before,
.corner-bracket::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
}

.corner--tl { top: 32px; left: 8px; }
.corner--tl::before { top: 0; left: 0; width: 40px; height: 2px; }
.corner--tl::after { top: 0; left: 0; width: 2px; height: 40px; }

.corner--tr { top: 32px; right: 8px; }
.corner--tr::before { top: 0; right: 0; width: 40px; height: 2px; }
.corner--tr::after { top: 0; right: 0; width: 2px; height: 40px; }

.corner--bl { bottom: 64px; left: 8px; }
.corner--bl::before { bottom: 0; left: 0; width: 40px; height: 2px; }
.corner--bl::after { bottom: 0; left: 0; width: 2px; height: 40px; }

.corner--br { bottom: 64px; right: 8px; }
.corner--br::before { bottom: 0; right: 0; width: 40px; height: 2px; }
.corner--br::after { bottom: 0; right: 0; width: 2px; height: 40px; }

/* === CONTENT STACK === */
.content-stack {
    position: relative;
    z-index: 3;
    padding-bottom: 80px;
}

/* === PANELS (GLASSMORPHIC HUD) === */
.panel {
    position: relative;
    background: rgba(255, 241, 224, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin: 2rem auto;
    padding: 3rem;
    max-width: 900px;
    width: calc(100% - 3rem);
}

/* Reveal animation */
.reveal-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RHINESTONE CLUSTER (per panel) === */
.panel-rhinestones {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    gap: 4px;
    align-items: flex-start;
}

.rhinestone {
    display: block;
    background: #e8b84d;
    transform: rotate(45deg);
}

.rhinestone.r1 { width: 4px; height: 4px; opacity: 0.8; }
.rhinestone.r2 { width: 6px; height: 6px; opacity: 0.6; margin-top: 3px; }
.rhinestone.r3 { width: 4px; height: 4px; opacity: 0.9; margin-top: -2px; }
.rhinestone.r4 { width: 8px; height: 8px; opacity: 0.5; margin-top: 2px; }
.rhinestone.r5 { width: 3px; height: 3px; opacity: 0.7; margin-top: 5px; }

/* === HERO === */
.panel--hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff1e0;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fadein 800ms ease forwards;
    animation-delay: 400ms;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #ffa54f;
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateY(15px);
    animation: hero-fadein 800ms ease forwards;
    animation-delay: 600ms;
}

@keyframes hero-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTION TITLES === */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff1e0;
    margin-bottom: 2rem;
}

/* === WHAT'S ON TAP === */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.topic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-left: 4px solid #c2551a;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
    transition: background 200ms ease;
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.topic-info {
    flex: 1;
    margin-right: 1.5rem;
}

.topic-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: #fff1e0;
    margin-bottom: 0.35rem;
}

.topic-desc {
    color: #a08977;
    font-size: 0.9rem;
    line-height: 1.5;
}

.topic-icon {
    flex-shrink: 0;
}

/* === THE REGULARS === */
.regulars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.regular-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: background 200ms ease;
}

.regular-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.regular-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.regular-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffa54f;
    margin-bottom: 0.5rem;
}

.regular-quote {
    color: #f5e6d3;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === LAST CALL (DISCOURSE) === */
.panel--discourse {
    background: rgba(212, 69, 107, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.discourse-content {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.discourse-content p {
    margin-bottom: 1.5rem;
}

.discourse-content p:last-child {
    margin-bottom: 0;
}

/* === CLOSING === */
.panel--closing {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.closing-statement {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff1e0;
    max-width: 700px;
}

/* === BOTTOM BAR NAV === */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(26, 14, 8, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #c2551a;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 200ms ease, background 200ms ease;
}

.nav-pill:hover {
    transform: scale(1.05);
    background: rgba(194, 85, 26, 0.3);
}

.nav-dot-cluster {
    display: flex;
    gap: 2px;
}

.nav-dot {
    width: 3px;
    height: 3px;
    background: #e8b84d;
    border-radius: 50%;
}

.nav-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffa54f;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
    .panel {
        width: calc(100% - 1.5rem);
        margin: 0.75rem auto;
        padding: 2rem 1.25rem;
    }

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

    .topic-icon {
        display: none;
    }

    .bottom-bar {
        gap: 0.5rem;
    }

    .nav-pill {
        padding: 6px 12px;
    }

    .nav-label {
        font-size: 0.65rem;
    }

    .corner-bracket {
        display: none;
    }
}

@media (min-width: 1200px) {
    .panel {
        max-width: 1000px;
    }

    .panel--feature,
    .panel--sidebar-pair {
        max-width: 1100px;
    }
}
