/* Snipers-R-Us Access Gate — display wordmark + premium shell */
:root {
  --ag-bg: #000000;
  --ag-panel: rgba(22, 22, 24, 0.94);
  --ag-card: rgba(15, 15, 17, 0.88);
  --ag-line: rgba(255, 255, 255, 0.1);
  --ag-fg: #e7e9ea;
  --ag-muted: #71767b;
  --ag-accent: #22c55e;
  --ag-purple: #a855f7;
  --ag-cyan: #1d9bf0;
  --ag-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ag-display: "Bebas Neue", "Arial Narrow", "Helvetica Neue", sans-serif;
  --ag-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ag-bg);
  color: var(--ag-fg);
  font-family: var(--ag-font);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(34, 197, 94, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(168, 85, 247, 0.08), transparent 50%),
    var(--ag-bg);
}

.ag-shell {
  width: min(540px, 100%);
  margin: 0 auto;
  padding: 28px 18px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ag-hero {
  width: 100%;
  margin-bottom: 22px;
}

.ag-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  width: 100%;
}

.ag-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
}
.ag-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2), rgba(168, 85, 247, 0.14) 55%, transparent 72%);
  filter: blur(12px);
  animation: ag-logo-glow 4s ease-in-out infinite;
}
.ag-reticle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ag-reticle-rings {
  transform-origin: 70px 70px;
  animation: ag-reticle-spin 28s linear infinite;
}
.ag-reticle-dash-wrap {
  transform-origin: 70px 70px;
  animation: ag-reticle-spin-rev 20s linear infinite;
}
.ag-reticle-line {
  animation: ag-reticle-pulse 3.2s ease-in-out infinite;
}
.ag-reticle-t { animation-delay: 0s; }
.ag-reticle-r { animation-delay: 0.4s; }
.ag-reticle-b { animation-delay: 0.8s; }
.ag-reticle-l { animation-delay: 1.2s; }
.ag-reticle-dot {
  animation: ag-reticle-dot 3.2s ease-in-out infinite;
}
.ag-logo-scan {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 2px;
  z-index: 3;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.85), rgba(34, 197, 94, 0.15), transparent);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
  opacity: 0;
  pointer-events: none;
  animation: ag-logo-scan 7s ease-in-out infinite;
}
.ag-logo {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(34, 197, 94, 0.22));
}

.ag-wordmark {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--ag-display);
  font-size: clamp(58px, 17vw, 96px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
.wm-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  padding: 0 4px 12px;
  text-align: center;
}
.wm-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 320px);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--ag-purple) 20%, var(--ag-accent) 50%, var(--ag-purple) 80%, transparent);
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 14px rgba(34, 197, 94, 0.28);
}
.wm-snipers {
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 32px rgba(255, 255, 255, 0.2),
    0 3px 0 rgba(0, 0, 0, 0.5);
}
.wm-dash {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.06em;
  letter-spacing: 0;
  transform: translateY(-0.04em);
}
.wm-r {
  display: inline-block;
  color: var(--ag-accent);
  font-size: 1.22em;
  letter-spacing: 0.04em;
  transform: translateY(-0.02em);
  text-shadow:
    0 0 32px rgba(34, 197, 94, 0.75),
    0 0 64px rgba(34, 197, 94, 0.3),
    0 3px 0 rgba(0, 0, 0, 0.45);
}
.wm-us {
  color: var(--ag-purple);
  text-transform: lowercase;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 32px rgba(168, 85, 247, 0.7),
    0 0 64px rgba(168, 85, 247, 0.25),
    0 3px 0 rgba(0, 0, 0, 0.45);
}

@keyframes ag-logo-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes ag-reticle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ag-reticle-spin-rev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes ag-reticle-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes ag-reticle-dot {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes ag-logo-scan {
  0%, 72%, 100% { top: 22%; opacity: 0; }
  8% { opacity: 0.9; }
  18% { top: 78%; opacity: 0.9; }
  28% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-reticle-rings,
  .ag-reticle-dash-wrap,
  .ag-reticle-line,
  .ag-reticle-dot,
  .ag-logo-scan,
  .ag-logo-wrap::before {
    animation: none;
  }
  .ag-logo-scan { display: none; }
}

.ag-sub {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--ag-muted);
  font-size: 15px;
  line-height: 1.5;
}
.ag-sub strong { color: var(--ag-fg); font-weight: 700; }

.ag-card {
  width: 100%;
  text-align: left;
  background: var(--ag-card);
  border: 1px solid var(--ag-line);
  border-radius: 20px;
  padding: 20px 18px 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.ag-section {
  margin: 16px 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ag-muted);
  font-weight: 700;
}
.ag-section:first-child { margin-top: 0; }

.ag-row-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ag-wallet-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.ag-wallet-intro {
  margin: 0 0 10px;
  text-align: center;
}

.ag-btn {
  appearance: none;
  border: 1px solid var(--ag-line);
  background: var(--ag-panel);
  color: var(--ag-fg);
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--ag-font);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  width: 100%;
}
.ag-btn:active { transform: scale(0.98); }
.ag-btn:hover { background: rgba(255, 255, 255, 0.06); }
.ag-btn.primary {
  background: #eff3f4;
  color: #0f1419;
  border-color: #eff3f4;
}
.ag-btn.primary:hover { background: #d7dbdc; }
.ag-btn.sacrifice {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.28), rgba(34, 197, 94, 0.12));
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}
.ag-btn.ghost {
  background: transparent;
  color: var(--ag-muted);
}
.ag-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.ag-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ag-muted);
  line-height: 1.45;
  text-align: center;
}
.ag-addr {
  font-family: var(--ag-mono);
  font-size: 12px;
  color: var(--ag-muted);
  word-break: break-all;
  margin: 10px 0 0;
  text-align: center;
}

.ag-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 6px;
  color: var(--ag-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.ag-divider::before,
.ag-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ag-line);
}

.ag-plans {
  display: grid;
  gap: 10px;
}
.ag-plan {
  text-align: left;
  border: 1px solid var(--ag-line);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  color: inherit;
  width: 100%;
  font-family: var(--ag-font);
  transition: border-color 0.15s, background 0.15s;
}
.ag-plan:hover { border-color: rgba(255, 255, 255, 0.18); }
.ag-plan.selected {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.07);
}
.ag-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.ag-plan-name { font-size: 17px; font-weight: 800; }
.ag-plan-price {
  font-family: var(--ag-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ag-fg);
}
.ag-plan-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--ag-muted);
}
.ag-plan-main { color: var(--ag-muted); }
.ag-plan-crypto {
  color: var(--ag-accent);
  font-weight: 700;
}
.ag-plan-meta s { opacity: 0.65; }

.ag-restore { margin-top: 4px; }
.ag-restore .ag-row-invite { margin-top: 8px; }

.ag-crypto-pay { margin-top: 14px; }
.ag-coin-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.ag-coin {
  appearance: none;
  border: 1px solid var(--ag-line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ag-muted);
  border-radius: 12px;
  padding: 12px 8px;
  font-family: var(--ag-font);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  min-height: 46px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ag-coin:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--ag-fg); }
.ag-coin.active {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}
.ag-select, .ag-input {
  width: 100%;
  border: 1px solid var(--ag-line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ag-fg);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--ag-font);
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
}

.ag-quote {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--ag-line);
  background: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ag-muted);
}
.ag-quote strong { color: var(--ag-fg); }
.ag-quote code {
  font-family: var(--ag-mono);
  font-size: 12px;
  color: #7dd3fc;
  word-break: break-all;
}

.ag-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ag-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 14px;
  color: var(--ag-muted);
  text-align: center;
}
.ag-status.err { color: #f87171; }
.ag-status.ok { color: #4ade80; }

.ag-active-pass {
  text-align: center;
  padding: 18px 14px 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  border-radius: 16px;
  margin-bottom: 8px;
}
.ag-active-title {
  font-size: 18px;
  font-weight: 800;
  color: #bbf7d0;
  margin-bottom: 6px;
}
.ag-active-meta {
  font-size: 13px;
  color: var(--ag-muted);
  margin-bottom: 8px;
}
.ag-active-timer {
  font-family: var(--ag-mono);
  font-size: 22px;
  font-weight: 700;
  color: #86efac;
  margin: 8px 0 14px;
  letter-spacing: 0.02em;
}

.ag-foot {
  width: 100%;
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ag-muted);
  line-height: 1.6;
}
.ag-foot p { margin: 0 0 6px; }
.ag-foot strong { color: var(--ag-fg); font-weight: 700; }
.ag-foot a {
  color: var(--ag-cyan);
  text-decoration: none;
  font-weight: 700;
}
.ag-foot a:hover { text-decoration: underline; }
.ag-copy { font-size: 12px; opacity: 0.85; }

.ag-paypal {
  width: 100%;
  min-height: 48px;
  margin: 4px 0 8px;
}
.ag-paypal-soon {
  margin: 8px 0 0;
  font-size: 13px;
}

@media (min-width: 520px) {
  .ag-shell { padding-top: 48px; }
  .ag-wordmark { font-size: clamp(72px, 12vw, 104px); }
  .ag-logo { width: 132px; height: 132px; }
  .ag-logo-wrap { width: 148px; height: 148px; }
  .ag-plans { grid-template-columns: 1fr 1fr; }
  .ag-plans .ag-plan:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .ag-wordmark { font-size: clamp(48px, 15vw, 58px); letter-spacing: 0.08em; }
  .wm-r { font-size: 1.16em; }
}
