/*
  Wispmire static game-site template
  Visual system: Celestial Fragment / starry sky / Milky Way
*/

:root {
  --void: #070817;
  --void-deep: #03040c;
  --ink: #eef2ff;
  --muted: #9ca8c9;
  --dim: #6d779f;
  --violet: #9b8cff;
  --violet-hot: #c0a8ff;
  --cyan: #75e5ff;
  --amber: #ffcd77;
  --rose: #ff8dc7;
  --line: rgba(184, 195, 255, 0.16);
  --line-strong: rgba(184, 195, 255, 0.31);
  --surface: rgba(14, 17, 43, 0.72);
  --surface-solid: #111532;
  --surface-soft: rgba(24, 29, 67, 0.56);
  --success: #79edca;
  --danger: #ff9aa9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --page-width: 1220px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
          radial-gradient(circle at 13% 18%, rgba(101, 71, 189, 0.21), transparent 26rem),
          radial-gradient(circle at 78% 9%, rgba(31, 134, 189, 0.18), transparent 26rem),
          radial-gradient(circle at 89% 78%, rgba(128, 58, 138, 0.15), transparent 25rem),
          var(--void);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: 0.72;
  background-image:
          radial-gradient(circle at 7% 12%, #fff 0 1px, transparent 1.5px),
          radial-gradient(circle at 23% 38%, #cbd5ff 0 1px, transparent 1.5px),
          radial-gradient(circle at 42% 8%, #fff 0 1px, transparent 1.5px),
          radial-gradient(circle at 56% 23%, #e6d2ff 0 1.1px, transparent 1.6px),
          radial-gradient(circle at 70% 47%, #e4f9ff 0 1px, transparent 1.5px),
          radial-gradient(circle at 89% 31%, #fff 0 1px, transparent 1.5px),
          radial-gradient(circle at 81% 83%, #ffe3f3 0 1px, transparent 1.5px),
          radial-gradient(circle at 38% 76%, #c9d8ff 0 1px, transparent 1.5px),
          radial-gradient(circle at 14% 86%, #fff 0 1px, transparent 1.5px);
  background-size: 260px 250px, 330px 370px, 430px 280px, 290px 350px, 400px 430px, 290px 300px, 380px 390px, 350px 270px, 310px 360px;
}

body::after {
  z-index: -3;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 4, 12, 0.14) 60%, #05050f 100%);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-shell { position: relative; min-height: 100vh; }
.container { width: min(calc(100% - 44px), var(--page-width)); margin: 0 auto; }
.page-section { padding: 92px 0; }
.page-section--compact { padding: 56px 0 92px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  content: "";
}

.display-title,
.section-title,
.form-title,
.policy-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.display-title { max-width: 800px; font-size: clamp(3.35rem, 7vw, 6.9rem); line-height: 0.92; }
.section-title { max-width: 700px; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.02; }
.form-title { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.04; }
.policy-title { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; }

.lede {
  max-width: 610px;
  margin: 26px 0 0;
  color: #c8d1ef;
  font-size: clamp(1.03rem, 1.5vw, 1.19rem);
}

.muted { color: var(--muted); }
.text-cyan { color: var(--cyan); }
.text-violet { color: var(--violet-hot); }
.text-amber { color: var(--amber); }

.site-header {
  position: relative;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(218, 227, 255, 0.1);
  background: rgba(7, 8, 23, 0.7);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(204, 220, 255, 0.72);
  background: linear-gradient(145deg, rgba(165, 141, 255, 0.72), rgba(77, 210, 255, 0.22));
  box-shadow: 0 0 28px rgba(135, 117, 255, 0.42);
}
.brand-mark::after { width: 9px; height: 9px; border-radius: 99px; background: #fff; box-shadow: 0 0 14px #fff; content: ""; }
.brand-word { color: #f7f5ff; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; letter-spacing: 0.11em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 10px 13px; color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--ink); }

.user-menu { position: relative; }
.user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--ink);
  background: rgba(23, 25, 60, 0.72);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.user-menu__trigger:hover { border-color: rgba(156, 140, 255, 0.76); }
.user-menu__avatar { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #0b0c21; background: linear-gradient(145deg, var(--cyan), var(--violet-hot)); font-size: .78rem; font-weight: 900; }
.user-menu__caret { font-size: .75rem; opacity: .76; }
.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 184px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(13, 16, 42, 0.97);
  box-shadow: var(--shadow);
}
.user-menu.is-open .user-menu__dropdown { display: block; animation: constellation-in .18s ease-out both; }
.user-menu__dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: #dbe1fc; font-size: .87rem; font-weight: 700; }
.user-menu__dropdown a:hover { color: #fff; background: rgba(142, 122, 246, .18); }

.hero { position: relative; min-height: 630px; isolation: isolate; overflow: hidden; }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
          linear-gradient(90deg, rgba(7, 8, 23, .96) 0%, rgba(7, 8, 23, .68) 48%, rgba(7, 8, 23, .8) 100%),
          linear-gradient(180deg, rgba(7, 8, 23, .14), rgba(7, 8, 23, .7)),
          url("/img/cover-silver-echo.jpg") center / cover no-repeat;
  content: "";
}
.hero::after {
  position: absolute;
  z-index: -1;
  top: 17%; right: 10%;
  width: min(52vw, 640px); height: min(52vw, 640px);
  border: 1px solid rgba(204, 218, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(137, 108, 255, .04), 0 0 0 117px rgba(102, 202, 255, .025);
  content: "";
}
.hero .container { display: flex; min-height: 630px; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 52px; padding-bottom: 92px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: #111126; background: linear-gradient(100deg, #d2c7ff, #8ee7ff); box-shadow: 0 10px 30px rgba(132, 144, 255, .26); }
.button--light:hover { box-shadow: 0 16px 40px rgba(132, 144, 255, .38); }
.button--outline { border-color: rgba(231, 239, 255, .34); color: #eef1ff; background: rgba(12, 14, 39, .42); }
.button--outline:hover { border-color: var(--cyan); background: rgba(76, 178, 237, .12); }
.button--small { min-height: 39px; padding: 0 15px; font-size: .72rem; }
.button--block { width: 100%; }

.fragment-line { display: flex; align-items: center; gap: 9px; margin-top: 46px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fragment-line::before { width: 50px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); content: ""; }
.fragment-line i { display: block; width: 5px; height: 5px; transform: rotate(45deg); background: var(--violet-hot); box-shadow: 0 0 11px var(--violet-hot); }

.shelf-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.shelf-intro .lede { max-width: 430px; margin: 0; color: var(--muted); }

.game-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.game-card { position: relative; min-height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-solid); box-shadow: inset 0 1px rgba(255,255,255,.08); cursor: pointer;}
.game-card::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(4, 5, 17, .28) 46%, rgba(4, 5, 17, .94) 100%); content: ""; pointer-events: none; }
.game-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.game-card:hover { border-color: rgba(178, 181, 255, .72); box-shadow: 0 18px 45px rgba(1, 2, 11, .35), 0 0 30px rgba(131, 105, 255, .12); }
.game-card:hover img { transform: scale(1.08); filter: saturate(1.14) contrast(1.08); }
.game-card__name { position: absolute; z-index: 2; right: 17px; bottom: 14px; left: 17px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.24rem; line-height: 1.05; letter-spacing: -.03em; text-shadow: 0 2px 16px #000; }
.game-card__glint { position: absolute; z-index: 2; top: 14px; right: 14px; width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid rgba(255,255,255,.74); background: rgba(170, 149, 255, .6); box-shadow: 0 0 13px rgba(183, 160, 255, .88); }
.game-card:nth-child(5n + 2) .game-card__glint { background: rgba(107, 229, 255, .68); }
.game-card:nth-child(5n + 3) .game-card__glint { background: rgba(255, 205, 119, .72); }
.game-card:nth-child(5n + 4) .game-card__glint { background: rgba(255, 141, 199, .72); }

.orbit-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(87, 68, 158, .1); }
.orbit-band::before { position: absolute; top: -140px; left: 50%; width: 840px; height: 270px; transform: translateX(-50%); border: 1px solid rgba(149, 179, 255, .17); border-radius: 50%; content: ""; }
.orbit-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; }
.orbit-band p { max-width: 680px; margin: 0; color: #d5ddf6; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.03em; }

.page-hero { position: relative; overflow: hidden; padding: 88px 0 55px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(79, 54, 150, .2), transparent 60%); }
.page-hero::after { position: absolute; top: -210px; right: 11%; width: 500px; height: 500px; border: 1px solid rgba(179, 192, 255, .17); border-radius: 50%; box-shadow: 0 0 0 75px rgba(140, 120, 255, .035), 0 0 0 150px rgba(115, 220, 255, .025); content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lede { max-width: 620px; }

.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(350px, .74fr); gap: clamp(34px, 7vw, 106px); align-items: center; min-height: 610px; }
.auth-aside { position: relative; padding: 46px 0; }
.auth-aside::after { position: absolute; top: 0; left: 20%; width: 250px; height: 250px; border: 1px solid rgba(140, 177, 255, .22); border-radius: 50%; content: ""; }
.auth-aside .section-title { position: relative; z-index: 1; max-width: 560px; }
.auth-aside .lede { position: relative; z-index: 1; }
.astral-quote { position: relative; z-index: 1; max-width: 390px; margin: 37px 0 0; padding: 18px 0 18px 25px; border-left: 1px solid var(--violet-hot); color: #e3e5fa; font-family: Georgia, "Times New Roman", serif; font-size: 1.19rem; line-height: 1.37; }

.panel { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(30, 34, 77, .84), rgba(11, 13, 34, .86)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.08); }
.auth-card { padding: clamp(25px, 4vw, 42px); }
.form-kicker { margin: 0 0 8px; color: var(--cyan); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.form-subtitle { margin: 12px 0 28px; color: var(--muted); font-size: .94rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: #dbe2fa; font-size: .76rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  appearance: none;
  border: 1px solid rgba(182, 198, 255, .2);
  border-radius: 10px;
  outline: none;
  color: #f7f8ff;
  background: rgba(4, 6, 22, .54);
  padding: 0 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #b9c3e8 50%), linear-gradient(135deg, #b9c3e8 50%, transparent 50%); background-position: calc(100% - 16px) 21px, calc(100% - 11px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field select option { color: #11142c; background: #f7f8ff; }
.field input::placeholder { color: #737fa9; }
.field input:focus, .field select:focus { border-color: rgba(122, 221, 255, .82); background-color: rgba(13, 20, 52, .86); box-shadow: 0 0 0 3px rgba(102, 217, 255, .11); }
.field-note { margin: 0; color: var(--dim); font-size: .75rem; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 22px 0; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .8rem; }
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--violet); }
.form-link { color: var(--cyan); font-size: .82rem; font-weight: 750; }
.form-link:hover { color: #fff; text-decoration: underline; }
.form-status { display: none; margin: 16px 0 0; padding: 12px 14px; border: 1px solid rgba(121, 237, 202, .35); border-radius: 10px; color: #b9f6df; background: rgba(60, 172, 136, .1); font-size: .85rem; }
.form-status.is-visible { display: block; }

.recharge-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 24px; align-items: start; }
.recharge-card { padding: clamp(24px, 4vw, 42px); }
.recharge-section + .recharge-section { margin-top: 33px; padding-top: 32px; border-top: 1px solid var(--line); }
.recharge-section__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; color: #fafbff; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; letter-spacing: -.025em; }
.step-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(145, 218, 255, .58); border-radius: 50%; color: var(--cyan); font-family: Inter, sans-serif; font-size: .7rem; font-weight: 850; }

.preview-card { position: sticky; top: 24px; padding: 25px; overflow: hidden; }
.preview-card::before { position: absolute; top: -120px; right: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(146, 119, 255, .29), transparent 66%); content: ""; pointer-events: none; }
.preview-card > * { position: relative; }
.preview-kicker { margin: 0; color: var(--cyan); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.preview-title { margin: 8px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; letter-spacing: -.045em; }
.preview-meter { height: 5px; overflow: hidden; margin: 22px 0 13px; border-radius: 99px; background: rgba(220, 225, 255, .13); }
.preview-meter > span { display: block; width: 34%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet-hot)); box-shadow: 0 0 14px var(--cyan); }
.preview-line { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: .81rem; }
.preview-line strong { color: #eff2ff; font-weight: 800; text-align: right; }
.preview-total { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 29px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.preview-total span { color: var(--muted); font-size: .84rem; }
.preview-total strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; font-weight: 500; letter-spacing: -.07em; line-height: .9; }
.preview-total em { color: var(--cyan); font-size: .88rem; font-style: normal; font-weight: 800; }
.ladder { display: grid; gap: 8px; margin: 25px 0 0; }
.ladder-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(188, 200, 255, .1); color: var(--muted); font-size: .79rem; }
.ladder-row:last-child { border-bottom: 0; }
.ladder-row strong { color: #dce5ff; font-size: .78rem; }
.ladder-row.is-current { margin: 0 -9px; padding: 8px 9px; border: 1px solid rgba(118, 222, 255, .3); border-radius: 8px; color: var(--cyan); background: rgba(91, 199, 255, .08); }
.ladder-row.is-current strong { color: var(--cyan); }

.center-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 24px; align-items: start; }
.center-nav { position: sticky; top: 24px; padding: 11px; }
.center-nav__label { display: block; padding: 10px 12px 11px; color: var(--dim); font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.center-nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: #bdc8e9; font-size: .86rem; font-weight: 750; }
.center-nav a:hover, .center-nav a.is-active { color: #fff; background: rgba(145, 124, 255, .16); }
.center-nav a i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.center-content { min-width: 0; }
.center-pane { padding: clamp(22px, 4vw, 38px); }
.center-pane.is-active { display: block; animation: constellation-in .24s ease-out both; }
.center-pane__title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-weight: 500; letter-spacing: -.045em; }
.center-pane__intro { max-width: 600px; margin: 9px 0 28px; color: var(--muted); }

.orbit-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.orbit-stat { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(3, 5, 20, .33); }
.orbit-stat span { display: block; color: var(--dim); font-size: .71rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.orbit-stat strong { display: block; margin-top: 5px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 500; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.data-table th { padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--dim); background: rgba(255,255,255,.025); font-size: .69rem; font-weight: 850; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 16px 15px; border-bottom: 1px solid rgba(190, 201, 255, .09); color: #d7dff6; font-size: .84rem; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(135, 120, 255, .06); }
.order-number { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.status-pill { display: inline-flex; padding: 5px 8px; border: 1px solid; border-radius: 99px; font-size: .67rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.status-pill--success { border-color: rgba(121, 237, 202, .35); color: var(--success); background: rgba(68, 189, 146, .08); }
.status-pill--failed { border-color: rgba(255, 154, 169, .32); color: var(--danger); background: rgba(237, 93, 115, .07); }

.policy-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 50px; align-items: start; }
.policy-nav { position: sticky; top: 24px; padding: 13px; }
.policy-nav a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.policy-nav a:hover { color: #fff; background: rgba(139, 119, 255, .14); }
.policy-content { display: grid; gap: 24px; }
.policy-section { scroll-margin-top: 25px; padding: clamp(23px, 4vw, 42px); }
.policy-section h2 { margin: 0 0 20px; color: #f6f7ff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.045em; }
.policy-section h3 { margin: 28px 0 9px; color: #e7eaff; font-size: 1rem; }
.policy-section p { margin: 0 0 14px; color: #bfc9e7; font-size: .92rem; }
.policy-section ul { display: grid; gap: 7px; margin: 0 0 17px; padding-left: 20px; color: #bfc9e7; font-size: .92rem; }
.policy-section li::marker { color: var(--violet-hot); }
.company-block { margin: 21px 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,5,20,.34); color: #dce5ff; font-size: .89rem; }

.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: rgba(3, 4, 13, .69); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .65fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 38px; }
.footer-company .brand { margin-bottom: 15px; }
.footer-company p { margin: 3px 0; color: var(--muted); font-size: .8rem; }
.footer-heading { margin: 3px 0 12px; color: #ecf0ff; font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: var(--muted); font-size: .82rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 27px; border-top: 1px solid rgba(189, 200, 255, .11); color: var(--dim); font-size: .75rem; }

@keyframes constellation-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
  .game-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .auth-layout { grid-template-columns: 1fr; min-height: auto; }
  .auth-aside { padding-bottom: 0; }
  .recharge-layout { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 3px; }
  .policy-nav a { padding: 7px 9px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--page-width)); }
  .header-inner { min-height: 67px; }
  .brand-word { font-size: 1.15rem; }
  .brand-mark { width: 29px; height: 29px; }
  .primary-nav { display: none; }
  .user-menu__trigger { min-height: 38px; padding-right: 10px; }
  .user-menu__trigger > span:not(.user-menu__avatar):not(.user-menu__caret) { display: none; }
  .hero, .hero .container { min-height: 570px; }
  .hero .container { padding-top: 35px; padding-bottom: 58px; }
  .display-title { font-size: clamp(3rem, 15vw, 5rem); }
  .page-section { padding: 66px 0; }
  .shelf-intro { display: block; }
  .shelf-intro .lede { margin-top: 17px; }
  .game-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-card { min-height: 210px; }
  .game-card__name { right: 12px; bottom: 12px; left: 12px; font-size: 1.05rem; }
  .orbit-band .container { display: grid; padding-top: 42px; padding-bottom: 42px; }
  .orbit-band .button { justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .form-row { align-items: flex-start; flex-direction: column; }
  .center-layout { grid-template-columns: 1fr; }
  .center-nav { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 7px; }
  .center-nav__label { display: none; }
  .center-nav a { flex: 0 0 auto; padding: 10px; white-space: nowrap; }
  .orbit-overview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; padding-top: 42px; }
  .footer-bottom { display: block; }
  .footer-bottom span + span { display: block; margin-top: 6px; }
}

@media (max-width: 430px) {
  .button { width: 100%; }
  .hero-actions { width: 100%; }
  .game-shelf { grid-template-columns: 1fr 1fr; }
  .game-card { min-height: 180px; }
  .page-hero { padding: 65px 0 40px; }
  .auth-card, .recharge-card, .center-pane, .policy-section { padding: 20px; }
}


/* Static English / Turkish page switch. The language link is hardcoded per page. */
.language-switch {
  position: fixed;
  z-index: 60;
  top: 20px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid rgba(218, 229, 255, .46);
  border-radius: 999px;
  color: #f5f7ff;
  background: rgba(10, 12, 34, .76);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(13px);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.language-switch::before {
  width: 8px;
  height: 8px;
  margin-right: 7px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  background: rgba(123, 225, 255, .4);
  box-shadow: 0 0 10px rgba(117, 229, 255, .55);
  content: "";
}

.language-switch:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(33, 43, 92, .9);
}

@media (max-width: 760px) {
  .language-switch { top: 15px; right: 15px; min-height: 35px; min-width: 56px; padding: 0 11px; font-size: .7rem; }
}
