@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #05090d;
  --bg-2: #07131c;
  --panel: rgba(10, 18, 25, 0.84);
  --panel-strong: rgba(12, 23, 32, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(121, 190, 224, 0.18);
  --line-gold: rgba(230, 184, 92, 0.32);
  --blue: #69d8ff;
  --blue-2: #2488c6;
  --gold: #e5b95d;
  --gold-2: #ffe5a3;
  --red: #ff7a68;
  --green: #8ff4bd;
  --text: #edf7ff;
  --muted: #99adba;
  --muted-2: #718796;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 70% -10%, rgba(68, 182, 236, 0.22), transparent 28rem),
    radial-gradient(circle at 12% 12%, rgba(230, 184, 92, 0.14), transparent 22rem),
    linear-gradient(180deg, #071018 0%, var(--bg) 42%, #030507 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(105, 216, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(105, 216, 255, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  mix-blend-mode: overlay;
  opacity: 0.38;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  isolation: isolate;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 13, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 45px rgba(0, 0, 0, 0.26);
}

.brand {
  display: grid;
  grid-template-columns: 46px auto;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-align: left;
  border: 0;
  background: transparent;
}

.brand-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: 13px;
  background: radial-gradient(circle at 50% 30%, rgba(105, 216, 255, 0.18), rgba(0, 0, 0, 0.28));
  box-shadow: 0 0 30px rgba(229, 185, 93, 0.16);
}

.brand-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 21px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nav button,
.text-link {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav button.active,
.nav button:hover,
.text-link:hover {
  color: var(--gold-2);
  border-color: var(--line-gold);
  background: rgba(229, 185, 93, 0.08);
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold,
.outline,
.blue,
.ghost,
.discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gold {
  border: 1px solid rgba(255, 229, 163, 0.75);
  color: #071018;
  background: linear-gradient(135deg, #fff0b8, var(--gold) 48%, #9b6c20);
  box-shadow: 0 14px 45px rgba(229, 185, 93, 0.18);
}

.blue {
  border: 1px solid rgba(105, 216, 255, 0.68);
  color: #04111a;
  background: linear-gradient(135deg, #d6f7ff, var(--blue), #267fba);
  box-shadow: 0 14px 45px rgba(105, 216, 255, 0.16);
}

.outline,
.ghost,
.discord {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.discord {
  border-color: rgba(120, 150, 255, 0.44);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.28), rgba(105, 216, 255, 0.08));
}

.gold:hover,
.blue:hover,
.outline:hover,
.ghost:hover,
.discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(105, 216, 255, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  padding: clamp(80px, 9vw, 128px) clamp(20px, 5vw, 72px) 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.94), rgba(5, 9, 13, 0.52), rgba(5, 9, 13, 0.92)),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%),
    url("./sunwell-hero.png") center / cover no-repeat;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 90px;
  z-index: -1;
  width: min(54vw, 690px);
  aspect-ratio: 1;
  border: 1px solid rgba(105, 216, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(105, 216, 255, 0.06),
    0 0 160px rgba(105, 216, 255, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.55fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  color: var(--text);
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-shadow: 0 0 50px rgba(105, 216, 255, 0.12);
}

.hero-copy {
  max-width: 780px;
  margin: 26px 0 0;
  color: #bed0da;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 9, 13, 0.56);
  color: #b9cad4;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launcher-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(5, 12, 18, 0.82);
  box-shadow: var(--shadow);
}

.launcher-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(105, 216, 255, 0.22), transparent 9rem),
    linear-gradient(135deg, transparent 0 44%, rgba(229, 185, 93, 0.1) 44% 45%, transparent 45%);
  pointer-events: none;
}

.launcher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.lights {
  display: flex;
  gap: 7px;
}

.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

.launcher-body {
  position: relative;
  padding: 26px;
}

.patch-version {
  display: inline-flex;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(229, 185, 93, 0.08);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.launcher-body h2 {
  margin: 20px 0 10px;
  font-size: 36px;
  line-height: 1.05;
}

.launcher-body p {
  color: var(--muted);
  line-height: 1.65;
}

.progress {
  overflow: hidden;
  height: 11px;
  margin: 26px 0 18px;
  border: 1px solid rgba(105, 216, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 20px rgba(105, 216, 255, 0.55);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
  color: #d9e7ee;
}

.mini-list small {
  color: var(--blue);
  font-weight: 900;
}

.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section.compact {
  padding-top: 38px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-header p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.22);
}

.card {
  padding: 24px;
}

.panel {
  padding: 30px;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(105, 216, 255, 0.1), transparent 12rem);
}

.card > *,
.panel > * {
  position: relative;
}

.card h3,
.panel h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.card p,
.panel p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-card {
  min-height: 240px;
}

.feature-card .number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  color: var(--gold-2);
  background: rgba(229, 185, 93, 0.08);
  font-weight: 900;
}

.showcase-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 22px;
  align-items: start;
  min-height: 320px;
  padding: 28px;
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background:
    radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.race-factions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.faction-column {
  display: grid;
  gap: 16px;
}

.faction-header {
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(70, 167, 255, 0.12), transparent 48%),
    rgba(7, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.faction-column.horde .faction-header {
  background:
    linear-gradient(135deg, rgba(255, 92, 72, 0.13), transparent 48%),
    rgba(7, 12, 22, 0.72);
}

.faction-header h3 {
  margin: 8px 0 10px;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
}

.faction-header p:last-child {
  margin: 0;
  color: var(--muted);
}

.race-stack {
  display: grid;
  gap: 16px;
}

.race-card {
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 0;
  padding: 18px;
}

.race-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.34);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.045),
    0 0 38px color-mix(in srgb, var(--accent) 16%, transparent);
}

.race-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 38%);
}

.race-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glyph {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 24px;
  color: var(--accent);
  font-family: Cinzel, Georgia, serif;
  font-size: 26px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--accent) 14%, transparent);
}

.race-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 142px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.35);
}

.race-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  image-rendering: auto;
}

.race-model-icon {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.34);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.045),
    0 0 38px color-mix(in srgb, var(--accent) 18%, transparent);
}

.race-model-icon img {
  width: 106px;
  height: 106px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.class-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.04),
    0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.class-icon img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.store-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.store-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.store-glyph {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid color-mix(in srgb, var(--accent) 56%, transparent);
  border-radius: 22px;
  color: var(--accent);
  font-family: Cinzel, Georgia, serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.045);
}

.store-purchase-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-purchase-row strong {
  margin-right: auto;
  color: var(--gold-2);
  font-size: 22px;
}

.store-sidebar {
  position: sticky;
  top: 92px;
}

.showcase-card small {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 40%, transparent);
  border-radius: 999px;
  color: #d8e8ef;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.5fr);
  gap: 22px;
  align-items: stretch;
}

.steps {
  counter-reset: steps;
}

.step {
  counter-increment: steps;
}

.step::after {
  content: "0" counter(steps);
  position: absolute;
  right: 18px;
  top: 12px;
  color: rgba(105, 216, 255, 0.14);
  font-family: Cinzel, Georgia, serif;
  font-size: 68px;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin: -54px auto 0;
}

.stat {
  padding: 22px;
  background: rgba(5, 12, 18, 0.9);
  backdrop-filter: blur(14px);
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-family: Cinzel, Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status.good {
  color: var(--green);
}

.status.bad {
  color: var(--red);
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select,
.search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  background: rgba(2, 8, 12, 0.75);
  color: var(--text);
  padding: 14px 15px;
}

.form input:focus,
.form textarea:focus,
.form select:focus,
.search:focus {
  border-color: rgba(105, 216, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(105, 216, 255, 0.08);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form small,
.small-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.form-two,
.form-three,
.admin-grid {
  display: grid;
  gap: 14px;
}

.form-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-three {
  grid-template-columns: 1fr 0.7fr 0.7fr;
}

.admin-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  margin-bottom: 22px;
}

.admin-store-panel {
  margin-bottom: 22px;
}

.admin-create-product,
.store-admin-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
}

.admin-create-product {
  margin: 12px 0 18px;
}

.admin-create-product summary,
.store-admin-card summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 900;
}

.store-admin-list {
  display: grid;
  gap: 12px;
}

.store-admin-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.store-admin-card summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.store-product-form {
  margin-top: 16px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.check-row input {
  width: auto;
}

.danger {
  border: 1px solid rgba(255, 106, 106, 0.45);
  border-radius: 999px;
  background: rgba(255, 106, 106, 0.1);
  color: #ffb0b0;
}

.compact {
  padding: 10px 13px;
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(105, 216, 255, 0.14), transparent 15rem),
    #071018;
  padding: 32px;
  box-shadow: var(--shadow);
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.toast,
.notice,
.error {
  border: 1px solid rgba(143, 244, 189, 0.28);
  border-radius: 18px;
  background: rgba(40, 117, 75, 0.14);
  color: var(--green);
  padding: 14px 16px;
}

.global-notice {
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.confirm-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.confirm-notice p {
  margin: 6px 0 0;
  color: #b7dbc8;
}

.resend-confirm-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.resend-confirm-form span {
  color: #eafff2;
  font-size: 13px;
  font-weight: 800;
}

.error {
  border-color: rgba(255, 122, 104, 0.32);
  background: rgba(114, 41, 35, 0.18);
  color: var(--red);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: 360px;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 38px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a,
.footer button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover,
.footer button:hover {
  color: var(--blue);
}

@media (max-width: 1060px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nav {
    justify-content: start;
  }

  .hero-grid,
  .section-header,
  .admin-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .grid.four,
  .store-layout,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-products {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
  }

  .form-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .auth-actions,
  .hero-actions {
    width: 100%;
  }

  .auth-actions > *,
  .hero-actions > * {
    flex: 1 1 100%;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .race-factions,
  .store-layout,
  .form-two,
  .stats {
    grid-template-columns: 1fr;
  }

  .store-card {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
    padding-top: 20px;
  }

  .showcase-card {
    grid-template-columns: 1fr;
  }

  .race-model-icon,
  .class-icon {
    width: 118px;
    height: 118px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .launcher-body h2 {
    font-size: 30px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .confirm-notice,
  .resend-confirm-form {
    align-items: stretch;
    flex-direction: column;
  }

  .resend-confirm-form {
    justify-content: flex-start;
  }
}
