:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #0c0910; color: #f9f4ff; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1180px; padding-inline: clamp(20px, 5vw, 64px); }
header, footer { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid #33273d; }
a { color: inherit; text-decoration: none; }
.brand { font-weight: 800; letter-spacing: .18em; }
.hero { min-height: 460px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: 40px 0; }
.hero img { width: 100%; height: auto; max-width: 510px; display: block; }
h1 { font-size: clamp(3.4rem, 9vw, 7rem); letter-spacing: -.075em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; margin: 0 0 20px; }
p { color: #cbbdd8; line-height: 1.65; }
.hero p { max-width: 40ch; font-size: 1.125rem; margin-bottom: 28px; }
.action, button { display: inline-block; background: #c6a6ff; color: #1b0c30; padding: 12px 18px; border: 0; border-radius: 8px; font: inherit; font-weight: 750; cursor: pointer; }
.products { padding: 44px 0; border-top: 1px solid #33273d; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
article { border: 1px solid #423450; border-radius: 16px; padding: 22px; background: #17101e; }
article h3 { margin: 0 0 14px; }
article strong { color: #e0ccff; font-size: 1.15rem; }
.contractor { border-color: #a375eb; }
form div { display: flex; gap: 8px; margin: 8px 0; }
input { width: 100%; min-width: 0; border: 1px solid #695084; border-radius: 8px; padding: 8px; font: inherit; }
output { display: block; min-height: 1.5em; color: #e0ccff; }
footer { border-top: 1px solid #33273d; border-bottom: 0; color: #cbbdd8; }
:focus-visible { outline: 2px solid #ecdfff; outline-offset: 4px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero img { max-width: 360px; margin: auto; }
  .plans { grid-template-columns: 1fr; }
}
header { gap: 16px; flex-wrap: wrap; }
.hero { min-height: 0; }
.hero img { max-width: 380px; justify-self: center; }

.brand-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.server-grid img { width: 100%; max-width: 290px; height: auto; display: block; margin: 0 auto 18px; }
.server-grid p { margin-bottom: 0; }
.community-link { color: #e0ccff; text-decoration: underline; text-underline-offset: 4px; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.community-grid h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
@media (max-width: 760px) { .community-grid { grid-template-columns: 1fr; } }
.hero-logo { display: block; width: 100%; max-width: 380px; justify-self: center; }
.community-grid #discord, .community-grid #botlar { display: flex; flex-direction: column; }
.discord-card { padding: 0; flex: 1; display: flex; border-color: #574176; overflow: hidden; }
.discord-card--reverie { background: radial-gradient(ellipse at 100% 0, #32205a 0%, #17101e 72%); }
.discord-card--nox { background: radial-gradient(ellipse at 100% 0, #392047 0%, #17101e 72%); }
.discord-card a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 16px; row-gap: 6px; width: 100%; padding: clamp(16px, 3vw, 24px); border-radius: inherit; }
.discord-card a:hover { background-color: #ba8cff12; }
.discord-card a:focus-visible { outline-offset: -4px; }
.discord-card img { grid-row: span 2; width: clamp(52px, 7vw, 72px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid #765a9b; }
.discord-card h3 { margin: 4px 0 0; font-size: clamp(1.15rem, 2.5vw, 1.4rem); align-self: end; }
.discord-card p { margin: 0; }
.discord-card a > span { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; border-top: 1px solid #58426e; padding-top: 14px; color: #e0ccff; font-weight: 650; }
.launch-card { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); align-items: center; gap: 20px; background: linear-gradient(120deg, #1a1024, #24163a); border-color: #705194; }
.launch-card img { width: 100%; height: auto; border-radius: 10px; }
.launch-card h3 { margin-bottom: 0; font-size: clamp(1.25rem, 3vw, 1.85rem); }
.launch-card p { margin: 8px 0 16px; }
@media (max-width: 560px) { .launch-card { grid-template-columns: 1fr; } .launch-card img { max-width: 180px; } }
.discord-card--xaeron { background: radial-gradient(ellipse at 100% 0, #371936 0%, #17101e 72%); }
.community-grid #discord .discord-card + .discord-card { margin-top: 12px; }
.community-grid #botlar .discord-card { flex: 0 0 auto; }
html:has(.ghostyra-home) {
  background-color: #0c0910;
  background-image:
    radial-gradient(ellipse at 82% 4%, #382052 0%, transparent 47%),
    radial-gradient(ellipse at 9% 28%, #1e1639 0%, transparent 42%),
    linear-gradient(#d4aeff09 1px, transparent 1px),
    linear-gradient(90deg, #d4aeff09 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}
.ghostyra-home { max-width: 1680px; padding-inline: clamp(20px, 5vw, 92px); }
.home-header nav { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #decbed; }
.home-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero { padding-block: clamp(40px, 7vw, 84px); }
.home-hero > img { width: min(100%, 470px); max-width: none; border-radius: 24px; }
@media (max-width: 760px) {
  .home-hero > img { grid-row: 1; width: min(100%, 300px); }
}
.ghostyra-home .products { padding-block: clamp(28px, 5vw, 48px); }
.ghostyra-home .products h2 { font-size: clamp(1.7rem, 4vw, 2.65rem); }
.home-reverie { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(14px, 3vw, 28px); }
.home-reverie img { width: clamp(56px, 11vw, 110px); height: auto; border-radius: 14px; }
.home-reverie h2 { margin-bottom: 8px; }
.home-reverie p { margin: 0 0 8px; }
.home-header .home-destinations { display: flex; flex-wrap: wrap; gap: 8px; }
.home-header .home-destinations .action { padding: 8px 13px; border: 1px solid #5d4578; background: #1c1227; color: #f9f4ff; font-size: .9rem; }
.home-header .home-destinations .action:hover { background: #35214f; border-color: #bb91fa; text-decoration: none; }
.identity-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; padding: 14px; background: #100d19; border-block: 1px solid #33273d; list-style: none; font: 650 .72rem ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.identity-strip li:first-child::before { content: "•"; color: #8de6ce; margin-right: 9px; }
.brand-hero { --accent: #c8a6ff; --glow: #512a784d; padding: clamp(30px, 5vw, 68px) clamp(14px, 3vw, 32px); margin-block: 22px; background: radial-gradient(ellipse at 82% 32%, var(--glow), transparent 56%), repeating-linear-gradient(90deg, #ffffff09 0 1px, transparent 1px 56px), repeating-linear-gradient(0deg, #ffffff09 0 1px, transparent 1px 56px); border-radius: 18px; }
.audio-hero { --accent: #ffaca8; --glow: #8c283b55; }
.brand-hero h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); }
.brand-hero em { display: block; font-style: normal; color: var(--accent); }
.brand-hero .action { background: var(--accent); color: #18101c; }
.brand-hero .outline-action { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.brand-hero img { border-radius: 14px; }
.home-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px clamp(20px, 5vw, 56px); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #f9f4ff; }
.footer-brand img { border-radius: 6px; }
.footer-services { margin: 6px 0 0; font-size: .75rem; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; }
.home-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .home-footer { grid-template-columns: 1fr; } }
.home-hero h1 {
  width: fit-content;
  font-size: clamp(3rem, 11vw, 8.2rem);
  font-weight: 850;
  line-height: 1.12;
  padding-bottom: .12em;
  letter-spacing: -.055em;
  color: #f7e9ff;
}
@supports (background-clip: text) {
  .home-hero h1 {
    background: linear-gradient(105deg, #fff 12%, #e7cdff 55%, #bf88ff 100%);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px #a064ff50);
  }
}
.home-wordmark { display: inline-flex; align-items: center; }
.home-wordmark img { display: block; width: clamp(138px, 18vw, 180px); height: auto; }
.hero-ghost-symbol { position: relative; width: min(100%, 310px); aspect-ratio: 1; overflow: hidden; justify-self: center; }
.hero-ghost-symbol img { position: absolute; top: 50%; left: -6%; width: 424%; max-width: none; margin: 0; transform: translateY(-50%); }
@media (max-width: 760px) { .hero-ghost-symbol { width: min(100%, 200px); grid-row: 1; } }
.home-auth { margin-inline-start: auto; }
.home-header .home-auth { gap: 8px; }
.home-auth .action { border: 1px solid #6a4b87; padding: 8px 13px; font-size: .9rem; }
.home-auth .register-action { background: transparent; color: #f9f4ff; }
.home-auth .login-action { background: #c6a6ff; color: #1b0c30; }
.auth-preview { margin: 48px auto; max-width: 560px; }
.auth-preview h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.auth-preview nav { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 600px) { .home-auth { margin-inline-start: 0; } }
.auth-preview form:not([hidden]) { display: grid; gap: 10px; max-width: 380px; margin-block: 24px; }
.auth-preview form button { justify-self: start; }
.auth-preview h2 { margin-top: 30px; font-size: 1.5rem; }
.home-about p { max-width: 68ch; }
.home-about .about-lead { color: #f0defc; font-size: clamp(1.1rem, 2.3vw, 1.35rem); }
.home-draxgrid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 36px); }
.home-draxgrid img { display: block; width: 100%; height: auto; border-radius: 14px; }
.home-draxgrid h2 { margin-bottom: 8px; }
.home-draxgrid p { max-width: 58ch; margin: 0 0 14px; }
.ghostyra-home .home-reverie h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.home-reverie img { width: clamp(50px, 7vw, 72px); }
@media (max-width: 600px) { .home-draxgrid { grid-template-columns: 1fr; } .home-draxgrid img { max-width: 210px; } }

.ghostyra-home .home-header { border-bottom-color: #79559e; }
.ghostyra-home .identity-strip { border-block-color: #79559e; }
.ghostyra-home .products,
.ghostyra-home .home-footer { border-top-color: #79559e; }
.home-about h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
.community-about p { max-width: 68ch; }
#discord .discord-card + .discord-card { margin-top: 12px; }
