:root {
  --bg: #080b10;
  --bg-soft: #101720;
  --panel: #131c26;
  --panel-2: #182230;
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: #9aa9bb;
  --cyan: #32d6ff;
  --lime: #9afc62;
  --gold: #ffc857;
  --rose: #ff5c7a;
  --violet: #9f8cff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body.shotnet {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(50, 214, 255, 0.08) 0 1px, transparent 1px 26px),
    linear-gradient(45deg, rgba(154, 252, 98, 0.05) 0 1px, transparent 1px 30px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3,
strong,
b {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(50, 214, 255, 0.55);
  border-radius: 8px;
  background: #0c1822;
  color: var(--cyan);
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(50, 214, 255, 0.14);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.topnav a,
.icon-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 160ms ease;
}

.topnav a:hover,
.icon-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: end;
}

.icon-link.primary {
  border-color: rgba(50, 214, 255, 0.42);
  color: var(--cyan);
}

.icon-link.danger {
  color: var(--rose);
}

.user-pill {
  display: grid;
  gap: 1px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.user-pill span {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.user-pill small {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.74fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 64px 0 48px;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 36px -32px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(50, 214, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 200, 87, 0.1), transparent 44%),
    #0b1017;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 95% 100%, 0 100%);
}

.kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(154, 252, 98, 0.35);
  border-radius: 8px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c1ccda;
  font-size: 1.12rem;
  line-height: 1.7;
}

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

.btn-shotnet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  transition: 160ms ease;
}

.btn-shotnet:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-shotnet.primary {
  border-color: rgba(50, 214, 255, 0.55);
  background: linear-gradient(135deg, rgba(50, 214, 255, 0.24), rgba(154, 252, 98, 0.14));
  color: #ffffff;
}

.btn-shotnet.ghost {
  color: var(--cyan);
}

.hero-panel,
.auth-panel,
.profile-panel,
.subdomain-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 28, 38, 0.88);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.panel-head strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.panel-head span {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 500;
}

.server-list {
  display: grid;
}

.server-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.server-row:last-child {
  border-bottom: 0;
}

.server-row strong {
  display: block;
  margin-bottom: 3px;
}

.server-row small {
  color: var(--muted);
}

.server-row b {
  align-self: center;
  color: var(--cyan);
}

.section {
  padding: 48px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.game-grid,
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-card,
.domain-tile,
.stat-tile {
  min-height: 184px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.game-card {
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.game-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent, var(--cyan));
}

.game-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.game-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.game-tag {
  width: fit-content;
  margin-top: 18px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent, var(--cyan));
  font-size: 0.78rem;
  font-weight: 600;
}

.accent-lime {
  --accent: var(--lime);
}

.accent-cyan {
  --accent: var(--cyan);
}

.accent-gold {
  --accent: var(--gold);
}

.accent-rose {
  --accent: var(--rose);
}

.network-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  padding: 8px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  min-height: 120px;
}

.stat-tile strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
}

.stat-tile span {
  color: var(--muted);
}

.domain-tile {
  display: grid;
  gap: 14px;
}

.spaced-grid {
  margin-top: 24px;
}

.domain-tile strong {
  font-size: 1.2rem;
}

.domain-tile span {
  color: var(--muted);
  line-height: 1.5;
}

.subdomain-hero {
  min-height: calc(100vh - 74px);
  padding: 68px 0;
}

.subdomain-panel,
.auth-panel,
.profile-panel {
  padding: clamp(22px, 4vw, 40px);
}

.subdomain-panel h1,
.auth-panel h1,
.profile-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.subdomain-panel p,
.auth-panel p,
.profile-panel p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.role-table {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.role-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.role-row b {
  color: var(--gold);
}

.account-auth {
  max-width: 760px;
  margin: 0 auto;
}

.account-form {
  display: grid;
  gap: 14px;
  max-width: 480px;
  margin-top: 24px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 500;
}

.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1118;
  color: var(--text);
  font: inherit;
}

.account-form input:focus {
  outline: 2px solid rgba(50, 214, 255, 0.32);
  outline-offset: 2px;
}

.checkline {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkline input {
  width: 18px;
  height: 18px;
}

.form-note {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-note.is-ok {
  color: var(--lime);
}

.form-note.is-error {
  color: var(--rose);
}

.notice {
  max-width: 620px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.notice p {
  margin: 0;
}

.notice.danger {
  border-color: rgba(255, 92, 122, 0.48);
  color: #ffd7de;
}

.notice.success {
  border-color: rgba(154, 252, 98, 0.42);
  color: #e2ffd4;
}

.turnstile-box {
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  margin-top: 56px;
  padding: 36px clamp(16px, 4vw, 56px) 22px;
  border-top: 1px solid var(--line);
  background: #090d13;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-title {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7d8997;
  font-size: 0.86rem;
}

.shotnet-account {
  background: #080b10;
}

.shotnet-account .login-card,
.shotnet-account .login-main,
.shotnet-account .card {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-topbar {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .topnav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
  }

  .topnav.is-open {
    display: flex;
  }

  .account-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .hero,
  .network-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-topbar {
    gap: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero:before {
    inset: 18px -16px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section-heading,
  .footer-bottom {
    display: grid;
  }

  .game-grid,
  .domain-grid,
  .stat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .server-row {
    grid-template-columns: 1fr;
  }
}
