:root {
    --bg: #080b12;
    --surface: #0f1420;
    --surface-soft: #141a27;
    --ink: #f7f8fc;
    --muted: #949caf;
    --line: rgba(255,255,255,.1);
    --blue: #4c8dff;
    --green: #41d98b;
    --orange: #ff8a4c;
    --violet: #a87aff;
    --display: "Avenir Next", "Segoe UI", sans-serif;
    --body: "Avenir Next", "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
    --bg: #f3f5f9;
    --surface: #fff;
    --surface-soft: #e9edf5;
    --ink: #101522;
    --muted: #60697b;
    --line: rgba(16,21,34,.12);
}

html { scroll-behavior: smooth; }
body.portal-page { display: block; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--body); transition: background .3s, color .3s; }
.portal-page *, .portal-page *::before, .portal-page *::after { box-sizing: border-box; }
.portal-page a { color: inherit; text-decoration: none; }
.portal-page button, .portal-page a { -webkit-tap-highlight-color: transparent; }
.portal-page p { color: var(--muted); }
.portal-shell { width: 100%; max-width: none; padding: 0; }

.site-header { position: absolute; z-index: 10; top: 0; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 48px)); height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(76,141,255,.55); background: rgba(76,141,255,.1); color: var(--blue); font-family: var(--display); font-weight: 800; letter-spacing: -.08em; border-radius: 12px 4px 12px 4px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--display); font-size: 14px; letter-spacing: .02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.site-nav > a { color: var(--muted); transition: color .2s; }
.site-nav > a:hover { color: var(--ink); }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.theme-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.hero { min-height: 790px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: 40px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0 80px; }
.hero::before { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; left: -340px; top: 90px; background: rgba(76,141,255,.12); filter: blur(120px); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; animation: rise .75s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--blue) !important; font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .about h2 { margin: 0; font-family: var(--display); letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 720px; font-size: clamp(3.4rem, 6vw, 6.25rem); font-weight: 800; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(145,174,227,.72); font-style: normal; }
:root[data-theme="light"] .hero h1 em { -webkit-text-stroke-color: rgba(28,64,130,.6); }
.hero-lead { margin: 34px 0 8px; color: var(--ink) !important; font-size: 20px; font-weight: 600; }
.hero-text { max-width: 520px; margin: 0; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff !important; background: var(--blue); border-color: var(--blue); box-shadow: 0 12px 40px rgba(76,141,255,.24); }
.button-secondary { background: rgba(255,255,255,.025); }

.hero-visual { position: relative; aspect-ratio: 1; animation: appear 1s .15s ease-out both; }
.hero-visual::after { content: ""; position: absolute; inset: 18%; background: radial-gradient(circle, rgba(76,141,255,.2), transparent 66%); filter: blur(25px); }
.orbit { position: absolute; inset: 50%; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit::before { content: ""; position: absolute; inset: 9%; border: 1px dashed rgba(76,141,255,.18); border-radius: inherit; }
.orbit-one { width: 94%; height: 94%; }
.orbit-two { width: 68%; height: 68%; }
.orbit-three { width: 42%; height: 42%; }
.visual-core { position: absolute; z-index: 2; inset: 50%; transform: translate(-50%,-50%); width: 156px; height: 156px; display: grid; align-content: center; justify-items: center; background: linear-gradient(145deg, rgba(76,141,255,.22), var(--surface)); border: 1px solid rgba(76,141,255,.4); box-shadow: 0 0 80px rgba(76,141,255,.2), inset 0 0 40px rgba(76,141,255,.08); border-radius: 42% 58% 55% 45%; animation: morph 8s ease-in-out infinite; }
.visual-core span { font: 800 48px/1 var(--display); letter-spacing: -.1em; }
.visual-core small { margin-top: 8px; color: var(--blue); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.satellite { position: absolute; z-index: 3; width: 14px; height: 14px; border: 3px solid var(--bg); border-radius: 50%; box-shadow: 0 0 22px currentColor; }
.satellite-crypto { top: 19%; right: 21%; color: var(--green); background: currentColor; }
.satellite-video { bottom: 23%; right: 6%; color: var(--orange); background: currentColor; }
.satellite-collection { bottom: 7%; left: 26%; color: var(--violet); background: currentColor; }

.universes { padding: 112px max(24px, calc((100vw - 1180px) / 2)); background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .about h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.section-heading > p { max-width: 360px; margin: 0; text-align: right; }
.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.universe-card { --accent: var(--blue); min-height: 390px; position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.universe-card::before { content: ""; position: absolute; width: 230px; height: 230px; top: -120px; right: -90px; background: var(--accent); opacity: .08; filter: blur(44px); border-radius: 50%; transition: opacity .3s; }
.universe-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 52%, transparent); box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.universe-card:hover::before { opacity: .16; }
.card-crypto { --accent: var(--green); }
.card-video { --accent: var(--orange); }
.card-collection { --accent: var(--violet); }
.card-number { align-self: flex-end; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.card-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-top: 40px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 15px; }
.card-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.card-copy { margin-top: 28px; }
.card-copy strong, .card-copy > span { display: block; }
.card-copy strong { font: 700 21px var(--display); }
.card-copy > span { min-height: 68px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; color: var(--accent); border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.card-link b { font-size: 16px; transition: transform .2s; }
.universe-card:hover .card-link b { transform: translate(3px,-3px); }

.about { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 132px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.about-copy > p:last-child { max-width: 540px; margin: 30px 0 0; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--line); }
.stats div { padding: 32px 16px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font: 700 clamp(2rem, 4vw, 3.5rem)/1 var(--display); color: var(--blue); letter-spacing: -.06em; }
.stats dd { margin: 9px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.site-footer { width: min(1180px, calc(100% - 48px)); min-height: 130px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer > span { justify-self: end; color: var(--muted); }
.brand-footer .brand-mark { width: 34px; height: 34px; font-size: 12px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes appear { from { opacity: 0; transform: scale(.95); } }
@keyframes morph { 0%,100% { border-radius: 42% 58% 55% 45%; } 50% { border-radius: 58% 42% 43% 57%; } }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 170px; }
    .hero-copy { text-align: center; }
    .eyebrow, .hero-actions { justify-content: center; }
    .hero-text { margin-inline: auto; }
    .hero-visual { width: min(480px, 90vw); margin: -30px auto 0; }
    .universe-grid { grid-template-columns: 1fr; }
    .universe-card { min-height: 300px; }
    .card-icon { margin-top: 10px; }
    .card-copy > span { min-height: 0; }
    .about { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 620px) {
    .site-header { width: calc(100% - 32px); height: 76px; }
    .site-nav { gap: 10px; }
    .site-nav > a { display: none; }
    .hero { width: calc(100% - 32px); min-height: auto; padding: 130px 0 64px; }
    .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-lead { margin-top: 26px; font-size: 18px; }
    .hero-actions { flex-direction: column; }
    .button { width: 100%; min-height: 54px; }
    .hero-visual { width: 108%; margin-left: -4%; }
    .visual-core { width: 120px; height: 120px; }
    .visual-core span { font-size: 38px; }
    .universes { padding: 78px 16px; }
    .section-heading { display: block; margin-bottom: 34px; }
    .section-heading .eyebrow { justify-content: flex-start; }
    .section-heading > p { margin-top: 20px; text-align: left; }
    .universe-card { min-height: 330px; padding: 24px; }
    .about { width: calc(100% - 32px); padding: 84px 0; }
    .about .eyebrow { justify-content: flex-start; }
    .stats div { padding: 24px 6px; }
    .site-footer { width: calc(100% - 32px); padding: 30px 0; grid-template-columns: 1fr auto; }
    .site-footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
