/* palette comes from tokens.css (loaded by theme.css) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER (same pattern as account.html / player.html) ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.back-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border);
  color: var(--muted); font-family: 'Vazirmatn', sans-serif;
  font-size: 12px; font-weight: 500;
  padding: 7px 14px; border-radius: 6px;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
  flex-shrink: 0; white-space: nowrap;
}
.back-btn:hover { border-color: var(--accent); color: var(--heading); }
.back-btn i { font-size: 11px; }

.hd-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.logo-sm {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 3px;
  color: var(--muted); user-select: none; white-space: nowrap;
}
.logo-sm .dot { color: var(--accent); }

/* ── PAGE BODY ── */
.sub-wrap {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 32px 72px;
  text-align: center;
}

.sub-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 2px;
  color: var(--heading);
  margin-bottom: 14px;
}
.sub-desc {
  font-size: 14px; color: var(--muted);
  max-width: 560px; margin: 0 auto 48px;
  line-height: 1.9;
}

.gateway-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 56px auto 26px;
  padding: 14px 18px;
  background: var(--accent-d);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--heading);
}
.gateway-notice i {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.pay-instructions {
  margin: 0 auto 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-instructions .pay-line {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.pay-instructions .pay-line strong {
  color: var(--heading);
  font-weight: 700;
}
.pay-instructions .pay-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── PLAN CARDS ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: default;
  transition: border-color 0.2s, transform 0.2s;
}
.plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.plan-duration {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 1.5px;
  color: var(--heading);
  margin-bottom: 10px;
}
.plan-price-old {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 0.5px;
  color: var(--muted);
  text-decoration: line-through;
}
.plan-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 1px;
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 320px; }
  .sub-wrap { padding: 32px 20px 56px; }
  .sub-heading { font-size: 26px; }
}