@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #090b10;
  --surface: #0e1118;
  --panel: #121721;
  --text: #f3f5f8;
  --muted: #9da5b3;
  --subtle: #687281;
  --accent: #b7f36b;
  --cyan: #74e6de;
  --line: rgba(215, 227, 242, .11);
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
body:before { position: fixed; z-index: -1; inset: 0; pointer-events: none; content: ""; opacity: .16; background-image: radial-gradient(rgba(255,255,255,.19) .55px, transparent .55px); background-size: 5px 5px; mask-image: linear-gradient(to bottom, #000, transparent 70%); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.section-wrap { width: min(1120px, 86%); margin-inline: auto; }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 7%; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 40px; height: 40px; border-radius: 5px; object-fit: cover; }
.brand-name { font: 700 16px/1 var(--display); letter-spacing: -.06em; }
.brand-name > span { color: var(--accent); }
.brand-name small { color: var(--cyan); font-size: 10px; letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 34px; color: #c1c8d2; font-size: 12px; }
.main-nav > a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(183,243,107,.5); border-radius: 4px; color: var(--accent); transition: background .2s, color .2s; }
.nav-cta span { padding-left: 9px; }
.nav-cta:hover { background: var(--accent); color: var(--bg); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 720px; height: min(850px, 100vh); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4%; overflow: hidden; padding: 105px 7% 60px; background: radial-gradient(ellipse at 82% 38%, rgba(37,76,88,.19), transparent 35%), radial-gradient(ellipse at 18% 82%, rgba(69,87,42,.13), transparent 35%), var(--bg); }
.hero:after { position: absolute; top: 0; right: 50%; width: 1px; height: 100%; content: ""; background: linear-gradient(transparent, rgba(255,255,255,.04) 20%, rgba(255,255,255,.04) 80%, transparent); }
.hero-copy { position: relative; z-index: 2; max-width: 610px; margin: 12px 0 0 7%; }
.pill { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(183,243,107,.2); border-radius: 3px; background: rgba(183,243,107,.05); color: #c6d1bc; font-size: 9px; letter-spacing: .16em; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.065em; }
h1 { margin: 25px 0 18px; font-size: clamp(56px, 6.2vw, 82px); line-height: .99; }
h1 span, h2 span { color: var(--accent); }
.hero-copy > p { max-width: 455px; color: #aab2bd; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 31px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #10150b; }
.button-primary:hover { background: #d0ff8d; }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.025); color: #d5dce5; }
.button-quiet:hover { border-color: rgba(183,243,107,.5); }
.button span { font-size: 15px; }
.play-icon { color: var(--cyan); font-size: 9px; }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 68px; color: #7f8997; font-size: 9px; letter-spacing: .18em; }
.sparkle { color: var(--accent); font-size: 15px; }
.hero-visual { position: relative; min-height: 520px; max-width: 620px; width: 100%; justify-self: center; overflow: hidden; border: 1px solid rgba(210,226,240,.12); border-radius: 3px; background: #121b25; box-shadow: 0 32px 100px rgba(0,0,0,.4); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,9,13,.4), transparent 27%, transparent 62%, rgba(6,9,13,.68)), linear-gradient(90deg, rgba(7,10,15,.16), transparent 35%, rgba(7,10,15,.08)); }
.visual-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.86); font-size: 8px; letter-spacing: .16em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.tag-top { top: 27px; left: 28px; }
.tag-glyph { color: var(--accent); font-size: 17px; }
.tag-bottom { bottom: 25px; left: 28px; color: #9ca9a0; }
.tag-line { width: 24px; height: 1px; background: var(--accent); }
.scroll-cue { position: absolute; left: 7%; bottom: 29px; display: flex; align-items: center; gap: 10px; color: #737d89; font-size: 8px; letter-spacing: .17em; }
.scroll-cue span { width: 30px; height: 1px; background: var(--accent); }

.section-kicker { color: #84909d; font-size: 9px; font-weight: 600; letter-spacing: .2em; }
.section-kicker span { color: var(--accent); }
.about { padding-top: 116px; padding-bottom: 80px; }
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 12%; align-items: start; margin-top: 30px; }
h2 { margin-bottom: 19px; font-size: clamp(42px, 5vw, 62px); line-height: 1.06; }
.about-copy { padding-top: 8px; color: var(--muted); font-size: 13px; }
.about-copy p { margin-bottom: 16px; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--text); font-size: 12px; }
.arrow-link span { color: var(--accent); transition: transform .2s; }
.arrow-link:hover span { transform: translate(3px, -3px); }
.about-marquee { margin-top: 70px; padding: 18px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #89949e; font: 600 11px var(--display); letter-spacing: .2em; white-space: nowrap; }
.about-marquee span { display: block; text-align: center; }
.about-marquee i { margin: 0 20px; color: var(--accent); font-style: normal; }

.world { padding: 94px 0 105px; border-block: 1px solid rgba(255,255,255,.04); background: radial-gradient(ellipse at 85% 15%, rgba(53,91,87,.09), transparent 35%), var(--surface); }
.world-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 29px; }
.world-heading h2 { margin: 0; }
.world-heading > p { max-width: 330px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.feature-card { position: relative; min-height: 255px; padding: 23px 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); transition: transform .25s, border-color .25s, background .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(183,243,107,.4); background: linear-gradient(145deg, rgba(183,243,107,.07), rgba(255,255,255,.01)); }
.card-highlight { border-color: rgba(116,230,222,.22); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(183,243,107,.28); border-radius: 4px; background: rgba(183,243,107,.06); color: var(--accent); font: 21px var(--display); }
.icon-build { border-color: rgba(116,230,222,.28); background: rgba(116,230,222,.06); color: var(--cyan); }
.icon-play { border-color: rgba(185,155,255,.28); background: rgba(185,155,255,.06); color: #c4a8ff; }
.card-num { color: #687381; font: 10px var(--display); letter-spacing: .1em; }
.feature-card h3 { margin: 28px 0 8px; font: 600 21px var(--display); letter-spacing: -.04em; }
.feature-card p { position: relative; z-index: 1; max-width: 290px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.card-decoration { position: absolute; right: 20px; bottom: -27px; color: rgba(183,243,107,.07); font: 150px/1 var(--display); }
.decor-cube { color: rgba(116,230,222,.07); }
.decor-spark { color: rgba(196,168,255,.08); }

.join { padding-top: 105px; padding-bottom: 105px; }
.join-panel { min-height: 380px; display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(120deg, #121821, #10151b); }
.join-content { padding: 43px 10%; }
.join-content h2 { margin: 25px 0 14px; font-size: clamp(38px, 4vw, 52px); }
.join-content > p { max-width: 430px; margin-bottom: 19px; color: var(--muted); font-size: 12px; }
.server-address { width: fit-content; display: flex; align-items: center; gap: 11px; margin: 20px 0 23px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,255,255,.025); color: #9da8b2; font-size: 8px; letter-spacing: .12em; }
.server-address strong { padding-left: 9px; border-left: 1px solid var(--line); color: var(--accent); font: 500 11px var(--sans); letter-spacing: 0; }
.address-light { width: 6px; height: 6px; border-radius: 50%; background: #62ef86; box-shadow: 0 0 8px rgba(98,239,134,.8); animation: server-pulse 1.4s ease-in-out infinite; }
.join-content .button { min-height: 43px; }
.copy-status { min-height: 18px; margin: 8px 0 0; color: var(--accent); font-size: 11px; }
.join-art { position: relative; min-height: 380px; overflow: hidden; background: #130d11; }
.join-art-image { display: block; width: 100%; height: 100%; object-fit: contain; }

.feedback { padding: 3px 0 110px; }
.feedback-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 12%; margin-top: 30px; }
.feedback-copy h2 { font-size: clamp(42px, 5vw, 60px); }
.feedback-copy > p { max-width: 350px; color: var(--muted); font-size: 13px; }
.contact-note { display: flex; align-items: center; gap: 13px; margin-top: 33px; color: #82909b; font-size: 8px; letter-spacing: .12em; line-height: 1.8; }
.contact-note-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(183,243,107,.28); border-radius: 50%; color: var(--accent); font-size: 16px; }
.contact-note strong { color: #d4dce2; font-size: 11px; font-weight: 500; letter-spacing: 0; }
#feedback-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #aeb8c2; font-size: 10px; }
#feedback-form input, #feedback-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 3px; outline: 0; resize: vertical; background: rgba(255,255,255,.025); color: var(--text); font-size: 12px; transition: border-color .2s, background .2s; }
#feedback-form input:focus, #feedback-form textarea:focus { border-color: rgba(183,243,107,.58); background: rgba(183,243,107,.025); }
#feedback-form input::placeholder, #feedback-form textarea::placeholder { color: #687381; }
#feedback-form .button { justify-self: start; min-height: 43px; }
.form-hint, .form-status { margin: -9px 0 0; color: var(--subtle); font-size: 10px; }
.form-status { min-height: 18px; margin: -12px 0 0; color: var(--accent); }
.site-footer { min-height: 105px; display: grid; grid-template-columns: 1fr 1.5fr .5fr 1fr; align-items: center; gap: 20px; padding: 22px 7%; border-top: 1px solid var(--line); }
.footer-brand .brand-logo { width: 32px; height: 32px; }
.footer-brand .brand-name { font-size: 13px; }
.site-footer > p { margin: 0; color: #77828f; font-size: 10px; }
.back-top, .copyright { color: #7d8793; font-size: 8px; letter-spacing: .12em; }
.back-top { justify-self: center; }
.copyright { justify-self: end; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .85fr; gap: 2%; padding-inline: 5%; }
  .hero-copy { margin-left: 2%; }
  .hero-visual { min-height: 450px; }
  .site-header { padding-inline: 5%; }
  .main-nav { gap: 20px; }
  .section-wrap { width: 90%; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 70px; padding-inline: 6%; }
  .menu-toggle { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; border: 1px solid var(--line); border-radius: 4px; background: transparent; }
  .menu-toggle > span { width: 17px; height: 1px; background: var(--text); }
  .main-nav { position: absolute; top: 69px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 6% 20px; border-bottom: 1px solid var(--line); background: rgba(9,11,16,.97); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a { padding: 12px 0; }
  .main-nav .nav-cta { margin-top: 7px; padding: 10px 14px; text-align: center; }
  .hero { min-height: 900px; height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding: 135px 6% 70px; }
  .hero:after { display: none; }
  .hero-copy { width: 100%; margin: 0; }
  h1 { margin-top: 22px; font-size: clamp(51px, 12vw, 72px); }
  .hero-copy > p { max-width: 440px; font-size: 14px; }
  .hero-footnote { margin-top: 38px; }
  .hero-visual { width: 100%; min-height: 370px; }
  .scroll-cue { display: none; }
  .section-wrap { width: 88%; }
  .about { padding-top: 76px; padding-bottom: 65px; }
  .about-grid, .feedback-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { margin-top: 25px; }
  h2 { font-size: clamp(40px, 10vw, 56px); }
  .about-marquee { margin-top: 45px; }
  .about-marquee span { width: max-content; animation: marquee 20s linear infinite; }
  .world { padding: 75px 0; }
  .world-heading { display: block; margin-top: 25px; }
  .world-heading > p { margin-top: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .feature-card { min-height: 215px; }
  .join { padding-top: 72px; padding-bottom: 75px; }
  .join-panel { grid-template-columns: 1fr; }
  .join-content { padding: 33px 7%; }
  .join-art { min-height: 280px; }
  .feedback { padding-bottom: 76px; }
  .feedback-grid { margin-top: 25px; }
  .contact-note { margin-top: 23px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 15px; padding: 24px 6%; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .back-top { grid-column: 2; grid-row: 1; }
  .copyright { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 380px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: center; }
  .hero-visual { min-height: 320px; }
  .tag-top { top: 18px; left: 16px; }
  .tag-bottom { bottom: 18px; left: 16px; font-size: 7px; }
}
@keyframes marquee { to { transform: translateX(-45%); } }
@keyframes server-pulse {
  50% { opacity: .4; box-shadow: 0 0 0 5px rgba(98,239,134,0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
