:root {
  color-scheme: dark;
  --bg: #0b1019; --surface: #141b27; --surface2: #1a2330;
  --line: #30394a; --text: #f5f3eb; --muted: #b0b9c5;
  --accent: #b8ed81; --warm: #ecbc96;
  --font: 'DM Sans', system-ui, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: var(--accent); color: var(--bg); padding: 12px 18px; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.ambient { position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(80px); }
.ambient-one { width: 480px; height: 480px; background: #303f3755; top: 110px; right: -220px; }
.ambient-two { width: 340px; height: 340px; background: #30334a55; top: 590px; left: -240px; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff1e; gap: 16px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font: 700 24px var(--display); letter-spacing: -1.5px; white-space: nowrap; }
.brand-dot { color: var(--accent); }
.brand-mark { display: grid; grid-template-columns: repeat(2,7px); grid-template-rows: repeat(2,7px); gap: 3px; transform: rotate(-20deg); margin-right: 3px; }
.brand-mark span { background: var(--accent); border-radius: 2px; }
.brand-mark span:nth-child(2) { opacity: .55; }
.brand-mark span:nth-child(3) { opacity: .75; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.header-caption, .eyebrow, .section-kicker, .section-divider, .preview-no, .preview-bottom, .form-top, .service-tag, .service-product, .footer > span:last-child { font: 600 11px/1.5 var(--display); letter-spacing: 2px; }
.header-caption { color: #aab6bc; margin-right: 18px; }
.nav-link, .inline-button, .text-back { background: none; border: 0; color: var(--text); padding: 8px; min-height: 44px; }
.nav-link:hover, .inline-button:hover, .text-back:hover { color: var(--accent); }
.nav-user { font-weight: 600; color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #10171a; padding: 15px 22px; font-weight: 700; line-height: 1.3; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { background: #d2f7ae; border-color: #d2f7ae; transform: translateY(-2px); }
.button-small { padding: 10px 16px; gap: 14px; font-size: 14px; }
.button-outline { background: transparent; border-color: #5c6a79; color: var(--text); }
.button-outline:hover { background: #25312c; color: var(--accent); border-color: var(--accent); }
.button-full { width: 100%; justify-content: space-between; margin-top: 24px; }
.notice { margin: 22px 0; border: 1px solid var(--accent); border-radius: 8px; padding: 14px 18px; background: #263927; color: var(--text); }
.notice.error, .notice[data-type="error"] { border-color: #ed9c98; background: #3d2529; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.13; }
em { font-style: normal; color: var(--accent); }
.eyebrow, .section-kicker { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.eyebrow-line { width: 28px; height: 1px; background: #7a8d8d; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; min-height: 660px; padding-block: 82px 90px; }
.hero-copy h1, .auth-intro h1 { font-size: clamp(3.3rem, 6.5vw, 6.7rem); letter-spacing: -.075em; margin: 28px 0; }
.hero-lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 550px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-footnote { margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.hero-footnote span { color: var(--accent); margin-right: 8px; }
.hero-art { min-height: 510px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; width: min(88%,440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,#35473c 0%,#202c2d 38%,transparent 72%); filter: blur(12px); z-index: -1; }
.art-orbit { position: absolute; border: 1px solid #63766755; border-radius: 50%; aspect-ratio: 1; }
.orbit-outer { width: min(100%, 500px); transform: rotate(-22deg) scaleY(.87); }
.orbit-inner { width: min(76%, 380px); transform: rotate(20deg) scaleY(.88); }
.art-monogram { font: 700 clamp(9rem, 20vw, 17rem)/1 var(--display); letter-spacing: -.15em; text-shadow: 0 20px 70px #0009; transform: rotate(-9deg); padding-right: .1em; }
.art-monogram span { color: var(--accent); }
.art-card { position: absolute; display: flex; align-items: center; gap: 14px; width: max-content; max-width: 85%; padding: 14px 18px; border: 1px solid #ffffff30; border-radius: 12px; background: #1b2632ed; box-shadow: 0 18px 45px #0007; }
.art-card strong, .art-card small { display: block; }
.art-card strong { font-size: 13px; }
.art-card small { color: var(--muted); font-size: 11px; }
.art-card-top { top: 12%; right: 0; transform: rotate(4deg); }
.art-card-bottom { bottom: 10%; left: 0; transform: rotate(-4deg); }
.art-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #364b3b; color: var(--accent); font-size: 23px; }
.art-arrow { color: var(--accent); margin-left: 12px; }
.art-avatars { display: flex; padding-left: 6px; }
.art-avatars i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border: 2px solid #1b2632; border-radius: 50%; background: #b8ed81; color: #19201c; font: 700 11px var(--display); }
.art-avatars i:nth-child(2) { background: var(--warm); }
.art-avatars i:nth-child(3) { background: #acb8df; }
.art-spark { position: absolute; color: var(--accent); font-size: 32px; }
.spark-one { left: 12%; top: 15%; }
.spark-two { right: 12%; bottom: 19%; color: var(--warm); }
.section-divider { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); }
.section-divider span:first-child { color: var(--accent); }
.intro-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; margin: 100px 0 54px; }
.intro-section h2, .onboarding h2, .final-cta h2, .admin-heading h2, .member-guide h2 { font-size: clamp(2.5rem, 4.3vw, 4.4rem); letter-spacing: -.06em; margin: 14px 0 0; }
.intro-section h2 span { color: var(--accent); }
.intro-section > p { color: var(--muted); max-width: 410px; line-height: 1.8; margin: 0 0 8px; }
.preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.preview-card { display: flex; flex-direction: column; min-height: 320px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg,#1b2530,#111924); padding: 28px; transition: border-color .2s, transform .2s; }
.preview-card:hover { border-color: #829572; transform: translateY(-4px); }
.preview-glyph { color: var(--accent); font-size: 36px; line-height: 1; margin-bottom: 42px; }
.preview-no { color: var(--accent); }
.preview-card h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.035em; margin: 14px 0 10px; }
.preview-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.preview-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; color: #d8e3d2; }
.preview-bottom span { color: var(--accent); font-size: 18px; }
.onboarding { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; margin: 130px 0; }
.onboarding-heading > p:last-child { color: var(--muted); margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; }
.steps li > span { font: 600 12px var(--display); color: var(--accent); padding-top: 5px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.7; }
.onboarding-note { grid-column: 1/-1; color: var(--muted); border: 1px solid var(--line); background: #1b2430; border-radius: 8px; padding: 17px 22px; font-size: 13px; }
.onboarding-note span { color: var(--accent); margin-right: 10px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px clamp(28px,6vw,80px); border-radius: 14px; background: radial-gradient(circle at 90% 80%,#3e584280,transparent 50%),#1e3029; border: 1px solid #49694d; }
.final-cta h2 { margin-bottom: 0; }
.auth-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,480px); align-items: center; gap: clamp(30px,8vw,110px); min-height: 650px; padding: 90px 0; }
.auth-intro > p { color: var(--muted); max-width: 500px; line-height: 1.8; }
.text-back { margin: 22px 0 0 -8px; }
.form-card { padding: clamp(24px,4vw,44px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 24px 70px #0003; }
.form-top { display: flex; align-items: center; gap: 13px; color: var(--accent); padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.form-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #2d4135; font-size: 24px; }
.form-card label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.form-card input, .form-card textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #536071; border-radius: 6px; background: #0d1520; color: var(--text); outline: none; }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #8995a4; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px #b8ed8130; }
.form-fine { color: var(--muted); margin: 20px 0 0; text-align: center; font-size: 13px; }
.inline-button { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding: 2px; }
.dashboard-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 90px 0 75px; }
.dashboard-hero h1 { max-width: 780px; margin: 24px 0 14px; font-size: clamp(3rem,6vw,6rem); letter-spacing: -.07em; }
.dashboard-hero p { color: var(--muted); font-size: 18px; }
.dashboard-stamp { flex: none; display: grid; place-items: center; width: 170px; height: 170px; border: 1px solid #7c9866; border-radius: 50%; font: 700 56px var(--display); color: var(--accent); transform: rotate(13deg); }
.dashboard-stamp span { position: absolute; font-size: 28px; right: 10px; top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 34px 0 0; }
.service-card { display: flex; flex-direction: column; min-height: 300px; min-width: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: transform .2s,border-color .2s,background .2s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent); background: #1e2c29; }
.service-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 30px; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: #314533; color: var(--accent); font-size: 25px; }
.service-arrow { font-size: 24px; color: var(--accent); }
.service-tag { color: var(--accent); }
.service-card strong { display: block; margin: 10px 0 0; font: 700 clamp(1.65rem,2.5vw,2.3rem)/1.2 var(--display); letter-spacing: -.04em; }
.service-product { display: block; margin-top: 4px; color: var(--warm); }
.service-description { display: block; margin: 16px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; color: var(--accent); font-size: 14px; font-weight: 700; }
.service-discover .service-icon { background: #443c37; color: var(--warm); }
.service-games .service-icon { background: #373c55; color: #c4b9fa; }
.service-panel .service-icon { background: #344456; color: #9ccce9; }
.service-status .service-icon { background: #345049; color: #a6e9cd; }
.access-note { margin: 30px 0; padding: 18px 22px; background: #1c2730; border-left: 3px solid var(--accent); color: var(--muted); font-size: 14px; }
.member-guide { margin-top: 76px; }
.member-guide h2 { margin: 28px 0; }
.member-guide .preview-card { min-height: 270px; }
.member-guide .preview-card p { line-height: 1.7; }
.member-guide .preview-card a { color: #b3ffdb; text-decoration: underline; text-underline-offset: 4px; }
.guide-bottom { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 22px; }
.guide-bottom > div { background: #ffffff09; border: 1px solid #ffffff17; border-radius: 18px; padding: 26px; }
.guide-bottom h3 { margin: 0 0 10px; font-size: 1.15rem; }
.guide-bottom p { color: var(--muted); line-height: 1.7; margin: 0; }
.admin-section { margin: 100px 0 0; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 36px 0 50px; }
.admin-heading p { color: var(--muted); margin: 14px 0 0; }
.admin-subheading { font-size: 1.35rem; margin: 40px 0 16px; }
.request-list { display: grid; gap: 12px; }
.request-list > * { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 20px; }
.request-list button { border: 1px solid var(--accent); border-radius: 5px; padding: 8px 14px; background: var(--accent); color: var(--bg); font-weight: 700; margin: 5px 8px 5px 0; }
.request-list button:hover { background: #d2f7ae; }
.empty-state { color: var(--muted); }
.admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 150px; border-top: 1px solid var(--line); margin-top: 110px; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--text); font-size: 21px; }
@media (min-width: 700px) {
  .footer > span:last-child { text-align: right; }
}
@media (max-width: 1000px) {
  .header-caption { display: none; }
  .hero { gap: 10px; }
  .hero-art { min-height: 420px; }
  .onboarding { gap: 38px; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), 620px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 21px; }
  .header-actions { gap: 4px; }
  .header-actions .button-small { padding: 9px 10px; gap: 4px; }
  .hero { grid-template-columns: 1fr; padding: 60px 0 70px; min-height: 0; gap: 0; }
  .hero-copy h1, .auth-intro h1 { font-size: clamp(3.25rem, 11vw, 5rem); }
  .hero-art { min-height: 390px; width: min(100%,470px); margin: 0 auto; }
  .intro-section, .onboarding, .auth-panel { grid-template-columns: 1fr; }
  .intro-section { margin: 70px 0 32px; gap: 20px; }
  .preview-grid, .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .onboarding { margin: 80px 0; gap: 28px; }
  .onboarding-note { grid-column: 1; }
  .auth-panel { padding: 60px 0; gap: 24px; min-height: 0; }
  .dashboard-hero { padding: 70px 0 50px; }
  .dashboard-stamp { width: 110px; height: 110px; font-size: 38px; }
  .footer { flex-wrap: wrap; padding-block: 35px; min-height: 0; margin-top: 75px; }
}
@media (max-width: 550px) {
  .site-header { flex-wrap: wrap; padding: 14px 0; }
  .header-actions { width: 100%; justify-content: space-between; }
  .nav-link { padding-left: 0; }
  .hero-copy h1, .auth-intro h1 { font-size: clamp(2.8rem,12vw,4rem); }
  .hero-art { min-height: 310px; }
  .art-monogram { font-size: 9.5rem; }
  .art-card { padding: 9px 11px; gap: 7px; }
  .art-card-top { top: 4%; }
  .art-card-bottom { bottom: 5%; }
  .art-card strong { font-size: 11px; }
  .art-card small { font-size: 9px; }
  .art-icon { width: 30px; height: 30px; font-size: 18px; }
  .preview-grid, .service-grid, .admin-grid, .guide-bottom { grid-template-columns: 1fr; }
  .preview-card { min-height: 245px; }
  .preview-glyph { margin-bottom: 22px; }
  .service-card { min-height: 260px; }
  .final-cta, .admin-heading { flex-direction: column; align-items: flex-start; }
  .final-cta { padding: 34px 24px; }
  .final-cta .button { width: 100%; justify-content: space-between; }
  .dashboard-stamp { display: none; }
  .footer > span:last-child { width: 100%; }
  .section-divider { letter-spacing: 1px; }
  .member-guide { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
