@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: #171225;
    --bg-2: #241936;
    --panel: rgba(48, 35, 68, 0.72);
    --panel-strong: rgba(61, 42, 82, 0.86);
    --line: rgba(244, 207, 255, 0.38);
    --text: #fff5ff;
    --muted: #dcc4ed;
    --pink: #f5c4df;
    --pink-strong: #ff9bd2;
    --lavender: #d9bdf2;
    --purple: #9b75ff;
    --night: #111024;
    --shadow: 0 24px 80px rgba(22, 13, 39, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Quicksand', system-ui, sans-serif;
    background:
        radial-gradient(circle at 12% 4%, rgba(245, 196, 223, 0.34), transparent 24%),
        radial-gradient(circle at 84% 12%, rgba(155, 117, 255, 0.32), transparent 25%),
        linear-gradient(180deg, #120f22 0%, var(--bg) 48%, #0c0a18 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 78%);
}

a {
    color: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 48px;
    position: relative;
    z-index: 1;
}

.site-header,
.brand,
.nav,
.hero-actions,
.quick-stats,
.ribbon-grid {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid rgba(244, 207, 255, 0.18);
    border-radius: 24px;
    background: rgba(18, 15, 34, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.brand {
    text-decoration: none;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #2a1b3e;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: 0 0 34px rgba(245, 196, 223, 0.32);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-kicker,
.eyebrow,
.section-label {
    display: block;
    color: var(--pink);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand strong {
    display: block;
    margin-top: 3px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.nav {
    justify-content: flex-end;
}

.menu-button {
    display: none;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(244, 207, 255, 0.35);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
    font-weight: 700;
}

.nav a,
.ribbon-grid a,
.ribbon-grid span {
    text-decoration: none;
    color: var(--muted);
}

.nav a:hover,
.ribbon-grid a:hover {
    color: var(--text);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 22px;
    align-items: stretch;
    min-height: clamp(500px, 70vh, 650px);
}

.hero-copy,
.panel,
.ribbon-grid a {
    background: linear-gradient(180deg, var(--panel), rgba(28, 19, 43, 0.78));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(24px, 4vw, 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    min-width: 0;
    overflow: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0;
}

h1 {
    margin-top: 10px;
    max-width: 100%;
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
    line-height: 0.9;
    color: #fff8ff;
    text-shadow: 0 0 28px rgba(255, 155, 210, 0.34);
    overflow-wrap: anywhere;
}

h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pink);
}

h3 {
    margin: 0 0 12px;
    color: var(--lavender);
    font-size: 1.5rem;
}

p,
li {
    color: var(--muted);
    line-height: 1.6;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(244, 207, 255, 0.45);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-weight: 700;
}

.button.primary {
    color: #291a3d;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
}

.quick-stats {
    margin-top: 22px;
}

.quick-stats span {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    border: 1px solid rgba(244, 207, 255, 0.2);
}

.quick-stats strong {
    color: var(--text);
}

.hero-art {
    min-height: 0;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(244, 207, 255, 0.28);
    box-shadow: var(--shadow);
    background: var(--night);
}

.hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-art {
    display: grid;
    place-items: end center;
    background:
        radial-gradient(circle at 50% 26%, rgba(245, 196, 223, 0.2), transparent 24%),
        radial-gradient(circle at 56% 58%, rgba(155, 117, 255, 0.22), transparent 34%),
        linear-gradient(180deg, #21183f 0%, #130f25 100%);
}

.portrait-art img {
    width: min(76%, 380px);
    height: min(90%, 540px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.46));
}

.ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
}

.ribbon-grid a,
.ribbon-grid span {
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    font-weight: 700;
}

.split-section,
.card-grid,
.command-columns,
.gear-grid {
    display: grid;
    gap: 18px;
}

.split-section {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    margin-top: 18px;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.panel {
    border-radius: 24px;
    padding: 24px;
}

.about-panel {
    position: relative;
    padding-top: 86px;
}

.panel-tab {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 66px;
    display: flex;
    align-items: center;
    padding-left: 30px;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    background:
        radial-gradient(circle at 6% 18%, #ffffff 0 4px, transparent 5px),
        radial-gradient(circle at 23% 40%, #ffffff 0 3px, transparent 4px),
        linear-gradient(135deg, #f2c8df, #d9bdf2);
    border-bottom: 1px solid rgba(255,255,255,0.48);
    border-radius: 24px 24px 0 0;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.65);
}

.goal-card {
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 155, 210, 0.18), transparent 35%),
        linear-gradient(180deg, var(--panel-strong), rgba(28, 19, 43, 0.78));
}

.goal-bar {
    height: 18px;
    margin: 18px 0;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(244, 207, 255, 0.28);
}

.goal-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pink-strong), var(--purple));
}

.clean-list,
.tag-list,
.bits-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.clean-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(244, 207, 255, 0.12);
}

.command-panel,
.setup-panel {
    margin-top: 18px;
}

.command-columns {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    margin-top: 18px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list li,
.bits-list li {
    border: 1px solid rgba(244, 207, 255, 0.22);
    background: rgba(255,255,255,0.05);
}

.tag-list li {
    padding: 9px 11px;
    border-radius: 999px;
}

.bits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bits-list li {
    padding: 9px 10px;
    border-radius: 12px;
}

.bits-list strong {
    color: var(--pink);
}

.gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.gear-grid p {
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(244, 207, 255, 0.14);
}

.gear-grid strong {
    color: var(--text);
}

.home-hero {
    min-height: clamp(500px, 70vh, 650px);
}

.home-hero h1 {
    font-size: clamp(2.45rem, 3.8vw, 4.05rem);
    line-height: 0.95;
}

.creator-lockup {
    display: grid;
    gap: 4px;
    margin: 18px 0 8px;
}

.creator-lockup span {
    color: var(--pink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    line-height: 1;
}

.creator-lockup strong {
    color: var(--text);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero {
    padding: clamp(30px, 7vw, 78px);
    margin-bottom: 18px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.18), transparent 5%),
        radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.14), transparent 3%),
        linear-gradient(135deg, rgba(245, 196, 223, 0.24), rgba(155, 117, 255, 0.14)),
        linear-gradient(180deg, var(--panel), rgba(28, 19, 43, 0.78));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 860px;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.mission-panel,
.stream-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(245, 196, 223, 0.16), rgba(155, 117, 255, 0.11)),
        rgba(48, 35, 68, 0.62);
    box-shadow: var(--shadow);
}

.mission-panel {
    margin-top: 18px;
}

.countdown-grid,
.stream-card-grid,
.page-link-grid {
    display: grid;
    gap: 14px;
}

.countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 16px 0 8px;
}

.countdown-grid span {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 207, 255, 0.18);
}

.countdown-grid strong {
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
}

.stream-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.stream-card h2 {
    margin-bottom: 12px;
}

.schedule-card[hidden] {
    display: none;
}

.schedule-card {
    background:
        radial-gradient(circle at 82% 18%, rgba(245, 196, 223, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(61, 42, 82, 0.82), rgba(28, 19, 43, 0.78));
}

.portrait-panel {
    display: grid;
    place-items: center;
    min-height: 520px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgba(245, 196, 223, 0.18), transparent 25%),
        linear-gradient(180deg, rgba(39, 28, 63, 0.92), rgba(18, 15, 34, 0.96));
}

.portrait-panel img {
    width: min(84%, 360px);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.42));
}

.page-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.page-link-grid a {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(180deg, rgba(61, 42, 82, 0.72), rgba(28, 19, 43, 0.78));
    border: 1px solid rgba(244, 207, 255, 0.24);
    box-shadow: 0 18px 54px rgba(22, 13, 39, 0.24);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    transition: transform 180ms ease, border-color 180ms ease;
}

.page-link-grid a:hover,
.button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.58);
}

.page-link-grid span {
    color: var(--pink);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.86rem;
}

.button {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(244, 207, 255, 0.18);
}

.site-footer p {
    margin: 0;
    font-size: 0.94rem;
}

.footer-admin {
    color: var(--muted);
    text-decoration: none;
    opacity: 0.72;
}

.footer-admin:hover {
    color: var(--text);
    opacity: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .hero,
    .split-section,
    .card-grid,
    .command-columns,
    .gear-grid,
    .ribbon-grid,
    .stream-card-grid,
    .page-link-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 400px;
        height: auto;
    }

    .portrait-art img {
        width: min(76%, 330px);
        height: 370px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 22px, 1180px);
    }

    .hero-copy,
    .panel,
    .page-hero,
    .mission-panel,
    .stream-card {
        border-radius: 18px;
        padding: 18px;
    }

    .site-header {
        top: 8px;
        border-radius: 18px;
    }

    .menu-button {
        display: inline-flex;
    }

    .nav {
        display: none;
        width: 100%;
        justify-content: flex-start;
        padding-top: 8px;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        width: calc(50% - 8px);
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }

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

    .hero,
    .home-hero {
        min-height: auto;
    }

    .hero-art {
        min-height: 340px;
    }

    .portrait-art img {
        height: 320px;
    }

    .about-panel {
        padding-top: 78px;
    }

    .panel-tab {
        border-radius: 18px 18px 0 0;
        font-size: 1.7rem;
    }
}
