/* ================= ROOT VARIABLES ================= */

:root {
    --bg: #07111e;
    --bg-deep: #030813;
    --surface: rgba(14, 22, 37, 0.82);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text: #f5f7fb;
    --muted: #9aa9c4;
    --green: #88f7a1;
    --green-strong: #3dda76;
    --yellow: #ffd86b;
    --blue: #72b8ff;
    --purple: #b07cff;
    --danger: #ff8f8f;
    --shadow-soft: 0 20px 44px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 38px rgba(0, 0, 0, 0.3);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max-width: 1180px;
    --transition-fast: 180ms ease;
    --transition-base: 320ms ease;
}

/* ================= RESET / BASE ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(114, 184, 255, 0.18), transparent 32%),
        radial-gradient(circle at 82% 10%, rgba(176, 124, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #08111f 0%, #060b15 36%, #030813 100%);
    color: var(--text);
    font-family: "Manrope", sans-serif;
}

body.menu-open,
body.purchase-open {
    overflow: hidden;
}

a,
button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ================= PAGE LAYOUT ================= */

main {
    position: relative;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(18, 29, 48, 0.76), rgba(8, 13, 23, 0.9));
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.section-shell {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-intro {
    max-width: 620px;
    margin-bottom: 1.8rem;
}

.section-intro h2 {
    margin-top: 0.95rem;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.04;
}

.section-intro p {
    margin-top: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ================= NAVIGATION LAYOUT ================= */

.menu-container {
    position: sticky;
    top: 15px;
    z-index: 30;
    width: min(var(--max-width), calc(100% - 1rem));
    margin: 0.75rem auto 0;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    background: rgba(7, 13, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    width: 2.7rem;
    height: 2.7rem;
    flex-shrink: 0;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(114, 184, 255, 0.24))
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26));
}

.logo-copy {
    font-family: "Oxanium", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-copy span {
    color: var(--green);
}

.menu-toggle {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-close {
    display: none;
}

.menu-toggle.is-open .icon-open {
    display: none;
}

.menu-toggle.is-open .icon-close {
    display: inline;
}

.dropdown-nav {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    width: min(21rem, calc(100vw - 1.5rem));
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(7, 13, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.45rem);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.dropdown-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-list a {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    color: var(--muted);
}

.nav-actions {
    margin-top: 0.85rem;
}

/* ================= HERO LAYOUT ================= */

.hero-section {
    position: relative;
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 7rem) 0 2.5rem;
    min-height: calc(100vh - 5.5rem);
    display: flex;
    align-items: center;
}

.hero-noise,
.hero-orb {
    position: absolute;
    pointer-events: none;
}

.hero-noise {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 3.2rem 3.2rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.22;
}

.hero-orb {
    border-radius: 50%;
    filter: blur(26px);
    opacity: 0.55;
}

.hero-orb-a {
    width: 16rem;
    height: 16rem;
    top: 4%;
    right: 8%;
    background: rgba(114, 184, 255, 0.16);
}

.hero-orb-b {
    width: 13rem;
    height: 13rem;
    bottom: 6%;
    left: -2rem;
    background: rgba(176, 124, 255, 0.14);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.6rem;
    align-items: center;
    width: 100%;
}

.hero-copy h1 {
    margin-top: 1rem;
    max-width: 9ch;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(3.35rem, 8vw, 6.2rem);
    line-height: 0.93;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-visual-card {
    padding: 1.2rem;
    border-radius: var(--radius-xl);
}

.hero-visual-media {
    min-height: clamp(22rem, 56vw, 36rem);
    border-radius: calc(var(--radius-xl) - 6px);
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(114, 184, 255, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero-character {
    width: min(100%, 520px);
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38));
}

.hero-placeholder {
    display: none;
    text-align: center;
    padding: 2rem;
}

.hero-visual-media.is-placeholder .hero-placeholder {
    display: grid;
    gap: 0.55rem;
}

.hero-visual-caption {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.hero-visual-caption strong {
    color: var(--text);
    font-family: "Oxanium", sans-serif;
}

/* ================= FOOTER LAYOUT ================= */

.main-footer {
    margin-top: 1rem;
    padding: 2rem 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 17, 0.9);
}

.footer-top {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    align-items: center;
}

.footer-logo {
    font-family: "Oxanium", sans-serif;
    font-size: 1.5rem;
}

.footer-brand p,
.footer-links a,
.footer-bottom p {
    color: var(--muted);
}

.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.footer-bottom {
    width: min(var(--max-width), 100%);
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.92rem;
}
