:root {
  --bg: #06050c;
  --bg-soft: #0b0716;
  --panel: rgba(13, 8, 27, .78);
  --panel-strong: rgba(11, 6, 24, .94);
  --text: #f4eee7;
  --muted: #b9afc6;
  --gold: #e8be61;
  --gold-2: #ffdf8a;
  --violet: #8f3fff;
  --violet-2: #c871ff;
  --line: rgba(224, 182, 92, .28);
  --line-violet: rgba(160, 78, 255, .35);
  --success: #38e889;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --shell: 1480px;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select { font: inherit; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 999; transform: translateY(-150%); background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 78px; border-bottom: 1px solid rgba(224,182,92,.16); background: linear-gradient(180deg, rgba(4,3,10,.94), rgba(4,3,10,.70)); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-crown { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(232,190,97,.5); border-radius: 50%; color: var(--gold-2); background: radial-gradient(circle at 50% 30%, rgba(151,62,255,.45), rgba(21,12,37,.85) 60%); box-shadow: 0 0 28px rgba(143,63,255,.25); font-size: 22px; }
.brand-copy { display: grid; line-height: .95; font-family: Georgia, "Times New Roman", serif; color: var(--gold-2); text-shadow: 0 0 18px rgba(232,190,97,.15); }
.brand-copy strong { letter-spacing: .06em; font-size: 21px; }
.brand-copy small { margin-top: 7px; color: #d7cfde; letter-spacing: .5em; font-size: 9px; text-align: center; }
.main-nav { justify-self: center; display: flex; align-items: stretch; height: 100%; gap: 38px; }
.main-nav a { position: relative; display: grid; place-items: center; color: #cbc3d0; font-family: Georgia, serif; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; transition: color .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-2); }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 68px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .language-control { height: 42px; min-width: 42px; display: grid; place-items: center; border: 1px solid rgba(232,190,97,.28); background: rgba(12,8,22,.66); color: #ded7e4; border-radius: 8px; }
.icon-button:hover { border-color: rgba(232,190,97,.6); color: var(--gold-2); }
.language-control { grid-auto-flow: column; gap: 5px; padding: 0 10px; }
.language-control select { border: 0; outline: 0; background: transparent; color: #eee7ef; cursor: pointer; }
.language-control option { background: #100b1b; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: currentColor; }
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 126px 0 80px; isolation: isolate; background: #07050d; }
.hero-backdrop { position: absolute; inset: 0; z-index: -5; background-image: linear-gradient(90deg, rgba(4,3,10,.90) 0%, rgba(7,4,14,.62) 44%, rgba(4,3,10,.42) 100%), linear-gradient(180deg, rgba(4,3,10,.18), #080511 94%), url('/assets/theme-bg.webp'); background-size: cover; background-position: center; transform: scale(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -4; background: radial-gradient(circle at 62% 32%, rgba(130,36,255,.26), transparent 24%), radial-gradient(circle at 34% 60%, rgba(82,21,177,.16), transparent 36%), linear-gradient(180deg, transparent 60%, #080511 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -2; height: 260px; background: linear-gradient(180deg, transparent, #080511); }
.energy { position: absolute; z-index: -3; width: 520px; height: 520px; border-radius: 50%; filter: blur(48px); opacity: .24; pointer-events: none; animation: drift 8s ease-in-out infinite alternate; }
.energy-one { right: 12%; top: 8%; background: #6b22ff; }
.energy-two { left: -7%; bottom: -18%; background: #4510a7; animation-delay: -3s; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.12); } }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember { position: absolute; bottom: -16px; width: 2px; height: 2px; border-radius: 50%; background: #ff7a2a; box-shadow: 0 0 10px #ff4b20; opacity: 0; animation: emberUp linear forwards; }
@keyframes emberUp { 10% { opacity: .8; } 100% { transform: translate3d(var(--drift), -100vh, 0) scale(.2); opacity: 0; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(430px, .92fr); align-items: center; gap: 56px; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 18px; color: #e0a9ff; font-family: Georgia, serif; font-size: clamp(11px, 1vw, 15px); letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 0 18px rgba(200,113,255,.34); }
.eyebrow.simple { letter-spacing: .16em; color: var(--gold); }
.hero h1 { margin: 0; max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(52px, 5.2vw, 88px); line-height: .95; letter-spacing: .015em; color: transparent; background: linear-gradient(180deg, #fff4c4 3%, #f4c768 32%, #a45f1d 66%, #ffd98c 88%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #5b2d0e) drop-shadow(0 0 14px rgba(237,166,72,.18)); }
.hero h1 span { white-space: nowrap; }
.hero-lead { max-width: 610px; margin: 24px 0 0; color: #d3cbd9; font-size: clamp(15px, 1.2vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 7px; border: 1px solid var(--line-violet); text-transform: uppercase; font-family: Georgia, serif; letter-spacing: .025em; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff2af; border-color: rgba(239,198,88,.78); background: radial-gradient(circle at 50% 0%, rgba(141,50,255,.85), rgba(58,18,98,.95) 70%); box-shadow: inset 0 0 0 2px rgba(200,113,255,.12), 0 0 26px rgba(130,46,255,.26); }
.button-primary:hover { box-shadow: inset 0 0 0 2px rgba(255,222,138,.16), 0 0 38px rgba(130,46,255,.4); }
.button-secondary { background: rgba(49,16,78,.55); color: #f1e9f7; }
.button-ghost { background: rgba(6,5,13,.46); color: #e7dfee; border-color: rgba(224,182,92,.22); }
.button-large { min-height: 58px; padding-inline: 44px; font-size: 17px; }
.hero-status { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; margin-top: 26px; }
.status-card { min-height: 126px; padding: 18px 20px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(17,10,35,.87), rgba(8,6,18,.75)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.status-card::after { content: ""; position: absolute; right: -20px; bottom: -40px; width: 130px; height: 130px; background: radial-gradient(circle, rgba(138,55,255,.3), transparent 68%); }
.status-label { color: var(--gold); font-family: Georgia, serif; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.status-card > strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-weight: 400; font-size: 29px; text-transform: uppercase; }
.countdown { display: flex; gap: 18px; margin-top: 9px; }
.countdown span { position: relative; display: grid; }
.countdown span + span::before { content: ""; position: absolute; left: -9px; top: 2px; bottom: 2px; width: 1px; background: rgba(255,255,255,.16); }
.countdown b { font-family: Georgia, serif; font-size: 15px; font-weight: 500; }
.countdown small { font-size: 8px; color: #b5abba; text-transform: uppercase; }
.server-card p { display: flex; align-items: center; gap: 8px; margin: 9px 0 0; color: #bbb1c6; font-size: 12px; }
.live-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.live-dot.offline { background: #ff5b65; box-shadow: 0 0 10px #ff5b65; }
.hero-visual { position: relative; display: grid; justify-items: center; align-content: center; min-height: 650px; }
.hero-visual > img:not(.knight) { position: relative; z-index: 3; width: min(100%, 610px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; filter: drop-shadow(0 0 30px rgba(125,47,255,.22)); }
.knight { position: absolute; z-index: 1; right: -13%; top: 5%; height: 74%; width: auto; opacity: .48; object-fit: contain; mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); filter: saturate(1.05) contrast(1.1); }
.halo { position: absolute; border-radius: 50%; pointer-events: none; }
.halo-a { width: 68%; aspect-ratio: 1; border: 1px solid rgba(218,173,83,.22); box-shadow: 0 0 70px rgba(119,47,255,.25), inset 0 0 55px rgba(119,47,255,.18); animation: spin 22s linear infinite; }
.halo-b { width: 56%; aspect-ratio: 1; border: 1px dashed rgba(200,113,255,.34); animation: spin 15s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.coming-soon { position: relative; z-index: 4; margin: -36px 0 14px; color: var(--gold-2); font-family: Georgia, serif; font-size: 17px; text-transform: uppercase; text-shadow: 0 0 12px rgba(232,190,97,.3); }
.platforms { position: relative; z-index: 4; width: 100%; max-width: 650px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.platforms span { min-height: 74px; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 0 10px; padding: 12px 14px; border: 1px solid rgba(160,78,255,.28); background: rgba(15,9,30,.72); text-transform: uppercase; font-family: Georgia, serif; font-size: 13px; }
.platforms b { grid-row: span 2; align-self: center; font-size: 25px; color: #d7d1dd; }
.platforms small { color: #9f96a8; font-family: system-ui, sans-serif; font-size: 9px; }
.scroll-cue { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 12px; color: #c6a3e7; font-family: Georgia, serif; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.scroll-cue::before, .scroll-cue::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, rgba(160,78,255,.45)); }
.scroll-cue::after { transform: scaleX(-1); }
.section { position: relative; padding: 96px 0; background: linear-gradient(180deg, #080511, #090611); }
.section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 0, rgba(119,47,255,.09), transparent 36%); }
.section-heading { position: relative; text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading.align-left { text-align: left; margin-inline: 0; }
.section-heading > span { color: var(--gold); font-family: Georgia, serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.section h2 { margin: 7px 0 12px; font-family: Georgia, serif; font-weight: 500; font-size: clamp(34px, 4vw, 54px); color: #f5e6c2; }
.section-heading p, .body-copy { color: #bdb3c7; }
.feature-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: rgba(8,5,17,.78); }
.feature-card { min-height: 245px; padding: 32px 21px; text-align: center; border-right: 1px solid rgba(224,182,92,.12); transition: background .25s ease, transform .25s ease; }
.feature-card:last-child { border-right: 0; }
.feature-card:hover { background: radial-gradient(circle at 50% 10%, rgba(125,47,255,.2), transparent 65%); transform: translateY(-4px); }
.feature-icon { width: 84px; height: 84px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-2); font-size: 37px; border: 1px solid rgba(200,113,255,.4); background: radial-gradient(circle at 50% 40%, rgba(109,35,190,.6), rgba(22,10,39,.88) 67%); box-shadow: 0 0 28px rgba(115,41,226,.18); }
.feature-card h3 { margin: 0 0 8px; color: var(--gold); font-family: Georgia, serif; font-weight: 500; text-transform: uppercase; font-size: 16px; }
.feature-card p { margin: 0; color: #ada4b7; font-size: 13px; }
.section-panel { background: #07050d; }
.split-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 80px; }
.crystal-panel { min-height: 420px; display: grid; place-items: center; border: 1px solid rgba(160,78,255,.2); background: radial-gradient(circle at 50% 50%, rgba(114,35,223,.24), transparent 48%), linear-gradient(135deg, rgba(28,12,48,.5), rgba(8,5,17,.8)); overflow: hidden; }
.crystal { color: #ce8cff; font-size: 190px; line-height: 1; transform: rotate(45deg); text-shadow: 0 0 18px #a34cff, 0 0 70px rgba(129,38,255,.8); animation: crystalPulse 2.8s ease-in-out infinite alternate; }
@keyframes crystalPulse { to { transform: rotate(45deg) scale(1.06); filter: brightness(1.2); } }
.body-copy { max-width: 740px; font-size: 17px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.mini-stats span { min-width: 150px; padding: 16px 18px; border-left: 2px solid var(--violet); background: rgba(255,255,255,.025); color: #afa4ba; }
.mini-stats strong { display: block; color: var(--gold-2); font-family: Georgia, serif; font-size: 25px; }
.class-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.class-grid article { min-height: 260px; padding: 30px; border: 1px solid rgba(160,78,255,.2); background: linear-gradient(160deg, rgba(31,14,53,.48), rgba(8,5,17,.82)); }
.class-grid b { font-size: 44px; color: var(--violet-2); text-shadow: 0 0 20px rgba(200,113,255,.35); }
.class-grid h3 { margin: 18px 0 8px; color: #f0cf83; font-family: Georgia, serif; font-size: 22px; }
.class-grid p { margin: 0; color: #afa5b8; }
.download-section { padding-top: 34px; }
.download-card, .community-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 44px 52px; border: 1px solid var(--line); background: radial-gradient(circle at 15% 50%, rgba(112,35,215,.25), transparent 28%), linear-gradient(135deg, rgba(22,10,38,.94), rgba(7,5,15,.92)); box-shadow: var(--shadow); overflow: hidden; }
.download-card::after, .community-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border: 1px solid rgba(232,190,97,.16); transform: rotate(45deg); }
.download-card h2, .community-card h2 { margin: 4px 0 9px; font-size: clamp(30px, 3vw, 44px); }
.download-card p, .community-card p { max-width: 700px; margin: 0 0 10px; color: #bdb3c7; }
.download-card small { color: #807789; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.news-grid article { padding: 28px; border: 1px solid rgba(224,182,92,.18); background: rgba(10,7,19,.72); }
.news-grid time { color: var(--violet-2); font-size: 11px; letter-spacing: .12em; }
.news-grid h3 { color: #ead9b6; font-family: Georgia, serif; font-size: 23px; }
.news-grid p { color: #a9a0b3; }
.news-grid a { color: var(--gold); font-size: 13px; }
.community-section { padding-top: 22px; padding-bottom: 110px; }
.community-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.site-footer { border-top: 1px solid rgba(224,182,92,.16); background: #040309; padding: 28px 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.footer-grid p { margin: 0; text-align: center; color: #7f7688; font-size: 12px; }
.footer-grid nav { display: flex; gap: 18px; color: #9c92a7; font-size: 12px; }
.footer-brand .brand-crown { width: 34px; height: 34px; font-size: 17px; }
.footer-brand .brand-copy strong { font-size: 16px; }
.noscript { position: fixed; inset: auto 12px 12px; z-index: 999; padding: 12px 16px; background: #fff; color: #111; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 24px; }
  .hero-visual { min-height: 580px; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .feature-card:nth-child(3) { border-right: 0; }
  .feature-card:nth-child(-n+3) { border-bottom: 1px solid rgba(224,182,92,.12); }
  .feature-card:nth-child(4) { grid-column: 1 / 2; }
  .feature-card:nth-child(5) { grid-column: 2 / 3; }
}
@media (max-width: 980px) {
  .site-header { height: 70px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: fixed; inset: 70px 0 auto; display: grid; height: auto; gap: 0; padding: 10px 22px 20px; background: rgba(5,3,11,.98); border-bottom: 1px solid rgba(224,182,92,.18); transform: translateY(-140%); opacity: 0; visibility: hidden; transition: .25s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { min-height: 48px; justify-content: start; border-bottom: 1px solid rgba(255,255,255,.05); }
  .main-nav a.active::after { display: none; }
  .header-actions { display: none; }
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: auto; margin-top: 12px; }
  .hero-visual > img:not(.knight) { width: min(76vw, 540px); }
  .knight { right: 2%; opacity: .30; }
  .platforms { max-width: 700px; }
  .split-layout { grid-template-columns: 1fr; gap: 34px; }
  .crystal-panel { min-height: 320px; }
  .class-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .download-card, .community-card { grid-template-columns: 1fr; padding: 36px; }
  .community-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 8px; }
  .brand-crown { width: 38px; height: 38px; }
  .hero { min-height: auto; padding: 104px 0 72px; }
  .hero-backdrop { background-position: 62% center; }
  .eyebrow { line-height: 1.6; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); line-height: .98; }
  .hero h1 span { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-status { grid-template-columns: 1fr; }
  .status-card { min-height: 118px; }
  .countdown { gap: 22px; }
  .hero-visual { margin-top: 18px; }
  .hero-visual > img:not(.knight) { width: 94vw; max-width: 520px; }
  .knight { width: 50%; height: auto; right: -5%; top: 5%; }
  .coming-soon { margin-top: -18px; }
  .platforms { grid-template-columns: 1fr; width: 100%; }
  .platforms span { min-height: 62px; }
  .scroll-cue { display: none; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 30px; }
  .feature-grid { grid-template-columns: 1fr; border: 0; gap: 10px; background: transparent; }
  .feature-card, .feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: auto; border: 1px solid rgba(224,182,92,.16); min-height: 220px; }
  .class-grid { grid-template-columns: 1fr; }
  .crystal-panel { min-height: 260px; }
  .crystal { font-size: 130px; }
  .mini-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .download-card, .community-card { padding: 28px 22px; }
  .footer-grid nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 420px) {
  .countdown { justify-content: space-between; gap: 0; }
  .countdown span + span::before { left: -12px; }
  .mini-stats { grid-template-columns: 1fr; }
}
