:root {
  --navy: #07172e;
  --navy-2: #0b2141;
  --navy-3: #0f2d57;
  --gold: #e9bd4a;
  --gold-2: #ffd66b;
  --cream: #f7f3e8;
  --muted: #aebbd0;
  --panel: rgba(12, 34, 65, .78);
  --line: rgba(233, 189, 74, .22);
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 15%, rgba(25, 78, 142, .36), transparent 28rem),
    radial-gradient(circle at 90% 5%, rgba(233, 189, 74, .09), transparent 24rem),
    linear-gradient(180deg, #08182e 0%, #061326 50%, #050f1e 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 15, 30, .76);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 900;
  letter-spacing: .04em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 107, .5);
  border-radius: 12px;
  background: linear-gradient(145deg, #173d71, #0a1e3a);
  color: var(--gold-2);
  box-shadow: inset 0 0 22px rgba(233,189,74,.08);
  font-family: Georgia, serif;
  font-size: 24px;
}
.nav-links { display: flex; align-items: center; gap: 22px; color: #d9e1ec; font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.nav-cta { padding: 10px 15px; border-radius: 11px; background: var(--gold); color: #15213a; font-weight: 900; }
.menu-btn { display: none; margin-left: auto; border: 0; background: transparent; color: white; font-size: 25px; }

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "A";
  position: absolute;
  right: -40px;
  top: 5px;
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: clamp(340px, 44vw, 700px);
  line-height: .9;
  color: rgba(233, 189, 74, .028);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(233,189,74,.06);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: 11px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #66d68b; box-shadow: 0 0 12px #66d68b; }
h1 {
  margin: 20px 0 18px;
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(54px, 7vw, 94px);
  line-height: .93;
  letter-spacing: -.045em;
}
h1 span, h2 span { color: var(--gold-2); }
.lede {
  margin: 0;
  max-width: 650px;
  color: #c5d0df;
  font-size: 18px;
  line-height: 1.72;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: white;
  cursor: pointer;
  font-weight: 900;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.btn.primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #15213a; border-color: transparent; box-shadow: 0 10px 28px rgba(233,189,74,.18); }
.btn.primary:hover { box-shadow: 0 14px 35px rgba(233,189,74,.25); }
.btn.disabled { opacity: .48; cursor: not-allowed; transform: none; }

.server-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(160deg, rgba(16,49,91,.88), rgba(7,23,46,.82));
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,214,107,.6), transparent 42%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.mini-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.ip-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
}
.ip-box code { flex: 1; color: var(--gold-2); font-size: 15px; overflow-wrap: anywhere; }
.small-btn { border: 0; border-radius: 9px; padding: 8px 10px; background: rgba(255,255,255,.09); color: white; cursor: pointer; font-weight: 800; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stat { padding: 15px; border-radius: 13px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.055); }
.stat strong { display: block; color: white; font-size: 17px; }
.stat span { color: var(--muted); font-size: 11px; }

.section { padding: 90px 0; }
.section.compact { padding: 60px 0; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { color: var(--gold-2); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
h2 { margin: 10px 0 12px; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.03em; }
.section-head p { color: var(--muted); line-height: 1.7; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature, .panel {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: var(--radius);
  background: rgba(255,255,255,.032);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}
.feature-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(233,189,74,.09);
  border: 1px solid rgba(233,189,74,.16);
  color: var(--gold-2);
  font-size: 20px;
}
.feature h3, .panel h3 { margin: 18px 0 8px; font-size: 18px; }
.feature p, .panel p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 14px; }

.band {
  padding: 31px;
  border: 1px solid rgba(233,189,74,.18);
  border-radius: 28px;
  background: linear-gradient(110deg, rgba(233,189,74,.08), rgba(16,49,91,.4));
  display: flex;
  align-items: center;
  gap: 25px;
}
.band > div:first-child { flex: 1; }
.band h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 29px; }
.band p { margin: 0; color: var(--muted); }

.page-hero { padding: 92px 0 48px; text-align: center; }
.page-hero h1 { margin: 14px auto 12px; font-size: clamp(48px, 7vw, 80px); max-width: 900px; }
.page-hero p { max-width: 650px; margin: 0 auto; color: var(--muted); line-height: 1.7; }

.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.package {
  position: relative;
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(17,50,93,.6), rgba(7,23,46,.72));
  text-align: center;
}
.package.popular { border-color: rgba(255,214,107,.52); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(233,189,74,.12); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 999px; background: var(--gold); color: #17213a; font-size: 10px; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.package .coin { width: 62px; height: 62px; margin: 5px auto 14px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-2); font-family: Georgia, serif; font-size: 28px; box-shadow: inset 0 0 20px rgba(233,189,74,.08); }
.package h3 { font-size: 28px; margin: 0; }
.package .sub { color: var(--muted); font-size: 12px; margin: 4px 0 20px; }
.package .price { font-family: Georgia, serif; font-size: 28px; margin-bottom: 18px; color: var(--gold-2); }

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255,214,107,.18);
  border-radius: 14px;
  background: rgba(233,189,74,.055);
  color: #d6ddeb;
  font-size: 13px;
  line-height: 1.65;
}
.notice strong { color: var(--gold-2); }

.vote-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; max-width: 850px; margin: 0 auto; }
.vote-card { padding: 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.vote-card h3 { margin: 0 0 8px; }
.vote-card p { color: var(--muted); margin: 0 0 20px; }

.rules { display: grid; gap: 13px; max-width: 880px; margin: 0 auto; }
.rule { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 19px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.rule-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-2); background: rgba(233,189,74,.08); font-weight: 1000; }
.rule h3 { margin: 1px 0 5px; font-size: 16px; }
.rule p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

footer { margin-top: 80px; border-top: 1px solid rgba(255,255,255,.065); background: rgba(0,0,0,.12); }
.footer-grid { padding: 35px 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-brand { max-width: 560px; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.footer-links { display: flex; gap: 18px; font-size: 13px; color: #c7d0dd; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.055); padding: 18px 0 25px; color: #78879b; font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .05em; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 15px;
  border-radius: 11px;
  background: #f5e2a8;
  color: #15213a;
  font-weight: 900;
  font-size: 13px;
  transition: .2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0; }
  .hero { min-height: unset; }
  .grid-3 { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; padding: 18px; flex-direction: column; align-items: stretch; background: rgba(5,15,30,.98); border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, 1160px); }
  h1 { font-size: 52px; }
  .store-grid, .vote-list { grid-template-columns: 1fr; }
  .package.popular { transform: none; }
  .stat-row { grid-template-columns: 1fr; }
  .band { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}