@import url('crash-game.css');

:root {
  /* Dark neon — crash games: energy, trust, premium (African markets) */
  --bg: #0d0f1a;
  --surface: #141828;
  --border: rgba(255, 255, 255, 0.09);
  --heading: #ffffff;
  --text: #a0aec0;
  --text-muted: rgba(160, 174, 192, 0.7);
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.18);
  --accent-glow: rgba(0, 230, 118, 0.5);
  --accent-secondary: #ff6b35;
  --accent-secondary-dim: rgba(255, 107, 53, 0.16);
  --accent-secondary-glow: rgba(255, 107, 53, 0.45);
  --radius: 12px;
  --font: system-ui, 'Segoe UI', Roboto, sans-serif;
  --max: 1120px;
  --elite: #c084fc;
  --elite-dim: rgba(192, 132, 252, 0.18);
  --elite-glow: rgba(192, 132, 252, 0.45);
  --elite-border: rgba(192, 132, 252, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(ellipse 95% 60% at 50% -30%, rgba(0, 230, 118, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% -5%, rgba(255, 107, 53, 0.14), transparent 52%),
    radial-gradient(ellipse 50% 40% at 0% 40%, rgba(0, 230, 118, 0.07), transparent 48%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(255, 107, 53, 0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--heading);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 26, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 230, 118, 0.06);
  padding-top: env(safe-area-inset-top);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.875rem max(1.25rem, env(safe-area-inset-right)) 0.875rem
    max(1.25rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--heading);
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--accent);
}

.site-nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header--open .site-nav {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(13, 15, 26, 0.98);
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
}

.site-header--open .site-nav a {
  padding: 0.65rem 1rem;
  border-bottom: 0;
  width: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
}

.site-header--open .site-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 880px) {
  .site-nav {
    display: flex;
    position: static;
    flex: 1;
    justify-content: center;
    padding: 0 1rem;
    background: transparent;
    border: 0;
  }

  .site-header--open .site-nav {
    position: static;
    flex-direction: row;
    padding: 0 1rem;
    border: 0;
  }

  .site-header--open .site-nav a {
    padding: 0.45rem 0.85rem;
    width: auto;
    justify-content: center;
    border: 0;
  }

  .site-menu-btn {
    display: none !important;
  }
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.25s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.site-nav a:hover {
  color: var(--heading);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.35);
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(0, 230, 118, 0.2);
}

.site-nav a[aria-current='page'] {
  color: var(--accent);
  background: rgba(0, 230, 118, 0.2);
  border-color: rgba(0, 230, 118, 0.5);
  box-shadow:
    0 0 28px rgba(0, 230, 118, 0.4),
    0 0 48px rgba(0, 230, 118, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current='page']:hover {
  color: #5effa9;
  background: rgba(0, 230, 118, 0.26);
  border-color: rgba(0, 230, 118, 0.65);
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(0, 230, 118, 0.45),
    0 0 56px rgba(0, 230, 118, 0.18);
}

.site-header-trailing {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Keeps Login / Register grouped; avoids mobile layout eating auth controls */
.site-header-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header-auth .btn {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    filter 0.2s ease,
    border-color 0.2s ease;
}

.site-header-auth .btn-primary:hover {
  transform: translateY(-5px) scale(1.06);
  filter: brightness(1.08);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 44px rgba(0, 230, 118, 0.5),
    0 0 72px rgba(0, 230, 118, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.site-header-auth .btn-ghost:hover {
  transform: translateY(-5px) scale(1.06);
  border-color: rgba(0, 230, 118, 0.55);
  color: var(--heading);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(0, 230, 118, 0.25),
    0 0 48px rgba(0, 230, 118, 0.1);
}

.site-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
}

.site-menu-btn:hover {
  border-color: rgba(0, 230, 118, 0.35);
}

.site-menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.site-menu-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(145deg, #1aff8f 0%, var(--accent) 45%, #00c853 100%);
  color: #031308;
  box-shadow:
    0 0 22px rgba(0, 230, 118, 0.38),
    0 0 48px rgba(0, 230, 118, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #031308;
  box-shadow:
    0 0 28px rgba(0, 230, 118, 0.48),
    0 0 64px rgba(0, 230, 118, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--heading);
}

.btn-ghost:hover {
  border-color: rgba(0, 230, 118, 0.45);
  color: var(--heading);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.12);
}

@media (max-width: 879px) {
  .site-header-inner {
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: visible;
  }

  .site-logo {
    min-width: 0;
    max-width: 38vw;
    font-size: 1.02rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header-trailing {
    flex-shrink: 0;
    gap: 0.3rem;
    margin-left: auto;
    align-items: center;
  }

  .site-header-auth {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
  }

  /* Force visible: some hosts/cache serve old CSS that hid these */
  .site-header-auth .btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.4rem 0.55rem !important;
    font-size: 0.72rem !important;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
    min-height: 2.25rem;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
  }

  .site-menu-btn {
    flex-shrink: 0;
    z-index: 5;
  }
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem max(1.25rem, env(safe-area-inset-left)) 3rem
    max(1.25rem, env(safe-area-inset-right));
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-secondary-dim);
  border: 1px solid rgba(255, 107, 53, 0.42);
  text-shadow: 0 0 18px var(--accent-secondary-glow);
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.15);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--heading);
  font-weight: 700;
  text-shadow:
    0 0 42px rgba(0, 230, 118, 0.2),
    0 0 80px rgba(0, 230, 118, 0.08);
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stat:hover {
  border-color: rgba(0, 230, 118, 0.2);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.08);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0, 230, 118, 0.35);
}

.stat:nth-child(even) .stat-value {
  color: var(--accent-secondary);
  text-shadow: 0 0 20px var(--accent-secondary-glow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--heading);
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--text);
  max-width: 42rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(0, 230, 118, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--heading);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
}

/* Homepage — pop / glow on hover (scoped to .home-main) */
main.home-main .hero-badge {
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  cursor: default;
}

main.home-main .hero-badge:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: rgba(255, 107, 53, 0.65);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(255, 107, 53, 0.35),
    0 0 56px rgba(255, 107, 53, 0.12);
}

main.home-main .hero-cta .btn {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    filter 0.2s ease;
}

main.home-main .hero-cta .btn-primary:hover {
  transform: translateY(-7px) scale(1.05);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(0, 230, 118, 0.45),
    0 0 72px rgba(0, 230, 118, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

main.home-main .hero-cta .btn-ghost:hover {
  transform: translateY(-7px) scale(1.05);
  border-color: rgba(0, 230, 118, 0.55);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 230, 118, 0.22),
    0 0 56px rgba(0, 230, 118, 0.08);
}

main.home-main .stats .stat {
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

main.home-main .stats .stat:hover {
  transform: translateY(-8px) scale(1.04);
  z-index: 1;
  position: relative;
}

main.home-main .stats .stat:nth-child(odd):hover {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(0, 230, 118, 0.28);
}

main.home-main .stats .stat:nth-child(even):hover {
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(255, 107, 53, 0.22);
}

main.home-main .card-grid .card {
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

main.home-main .card-grid .card:hover {
  transform: translateY(-9px) scale(1.02);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.45),
    0 0 44px rgba(0, 230, 118, 0.2),
    0 0 56px rgba(255, 107, 53, 0.06);
}

main.home-main .card-grid .card:nth-child(2n):hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.45),
    0 0 44px rgba(255, 107, 53, 0.15),
    0 0 48px rgba(0, 230, 118, 0.08);
}

.game-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 1rem 0.65rem;
  border-left: 3px solid rgba(255, 107, 53, 0.55);
  margin-left: 0;
  box-shadow: inset 0 0 24px rgba(255, 107, 53, 0.04);
}

.game-list li:last-child {
  border-bottom: 0;
}

.game-list strong {
  color: var(--heading);
  display: block;
  margin-bottom: 0.35rem;
}

.game-list-desc {
  display: block;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.blog-list article {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.blog-list h2 a {
  color: var(--heading);
}

.blog-list h2 a:hover {
  color: var(--accent);
}

.blog-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q span:last-child {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-q span:last-child {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 0 1rem;
  color: var(--text);
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 2rem max(1.25rem, env(safe-area-inset-left)) max(2rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(13, 15, 26, 0.97) 0%, #0a0c14 100%);
  box-shadow: 0 -1px 0 rgba(255, 107, 53, 0.08);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer-tag {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.site-footer-col-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.site-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-list li {
  margin-bottom: 0.5rem;
}

.site-footer-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer-list a:hover {
  color: var(--accent);
}

.site-footer-copy {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.page-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--heading);
}

.page-block p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
}

.page-block p + p {
  margin-top: 0.75rem;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-card--featured {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.15),
    0 0 40px rgba(0, 230, 118, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.price-badge {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-secondary);
}

.price-badge--electric {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.5);
}

.price-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  color: var(--heading);
}

.price-amount {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.price-amount span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  color: var(--text);
  font-size: 0.9375rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.4rem;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.disclaimer {
  margin-top: 2rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  color: var(--text);
}

/* Auth / registration */
.auth-panel {
  max-width: 26rem;
}

.reg-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.reg-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.reg-tab:hover {
  color: var(--heading);
}

.reg-tab[aria-selected='true'] {
  color: var(--heading);
  background: var(--accent-dim);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.12);
}

.reg-panel[hidden] {
  display: none !important;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  margin: 0;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--heading);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}

.form-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
}

.form-hint a {
  color: var(--accent);
  font-weight: 600;
}

.form-hint a:hover {
  color: var(--heading);
}

.btn-block {
  width: 100%;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
}

.alert--error {
  color: #fecaca;
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.35);
}

.alert--ok {
  color: var(--text);
  background: var(--accent-dim);
  border-color: rgba(0, 230, 118, 0.35);
}

.tg-divider {
  margin: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
}

.tg-divider::before,
.tg-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}

.tg-divider::before {
  left: 0;
}
.tg-divider::after {
  right: 0;
}

.tg-widget-mount {
  min-height: 3.5rem;
  margin-bottom: 0.5rem;
}

.tg-widget-placeholder {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* —— Pricing v2 (Naira, toggle, comparison) —— */
.billing-toggle-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.75rem;
}

.billing-toggle-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.billing-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  gap: 0.15rem;
}

.billing-toggle-option {
  position: relative;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.billing-toggle-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.billing-toggle-option span {
  display: block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.billing-toggle-option input:checked + span {
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.billing-toggle-option input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.billing-toggle {
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.billing-toggle-wrap {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.billing-toggle-wrap:hover {
  transform: translateY(-3px);
}

.billing-toggle-wrap:hover .billing-toggle {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(0, 230, 118, 0.22),
    0 0 56px rgba(0, 230, 118, 0.08);
}

.pricing-grid--v2 {
  margin-top: 0.25rem;
}

.pricing-grid--v2 .price-card {
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.pricing-grid--v2 .price-card:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 2;
}

.pricing-grid--v2 .price-card--free:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(255, 255, 255, 0.08),
    0 0 72px rgba(160, 174, 192, 0.06);
}

.pricing-grid--v2 .price-card--pro:hover {
  border-color: rgba(0, 230, 118, 0.9);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.55),
    0 0 56px rgba(0, 230, 118, 0.45),
    0 0 96px rgba(0, 230, 118, 0.15);
}

.pricing-grid--v2 .price-card--elite:hover {
  border-color: rgba(192, 132, 252, 0.95);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.5),
    0 0 56px var(--elite-glow),
    0 0 88px rgba(192, 132, 252, 0.22);
}

.price-card--free {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(30, 32, 44, 0.95) 0%, var(--surface) 100%);
}

.price-card--free .plan-price__amount {
  color: var(--text-muted);
}

.price-card--pro {
  border: 2px solid rgba(0, 230, 118, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.12),
    0 0 48px rgba(0, 230, 118, 0.14),
    0 24px 56px rgba(0, 0, 0, 0.4);
}

.price-badge--popular {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #031308;
  background: linear-gradient(145deg, #1aff8f, var(--accent));
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.35);
}

.price-badge--elite {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--elite);
  background: var(--elite-dim);
  border: 1px solid var(--elite-border);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
  text-shadow: 0 0 14px var(--elite-glow);
}

.price-card--elite {
  border: 2px solid var(--elite-border);
  background: linear-gradient(160deg, rgba(192, 132, 252, 0.06) 0%, var(--surface) 55%);
  box-shadow:
    0 0 0 1px rgba(192, 132, 252, 0.1),
    0 0 40px rgba(192, 132, 252, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.35);
}

.plan-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.plan-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 0.15rem;
}

.plan-icon--free {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.plan-icon--pro {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.35);
  filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.35));
}

.plan-icon--elite {
  color: var(--elite);
  background: var(--elite-dim);
  border: 1px solid var(--elite-border);
  filter: drop-shadow(0 0 12px var(--elite-glow));
}

.plan-name {
  margin: 0;
  font-size: 1.25rem;
  color: var(--heading);
}

.price-card h2.plan-name {
  font-size: 1.25rem;
  margin: 0;
}

.plan-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.plan-pro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.85rem;
}

.plan-pro-stat {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.22);
}

.plan-pro-stat strong {
  color: var(--accent);
}

.plan-elite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.plan-chip--elite {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--elite);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  background: var(--elite-dim);
  border: 1px solid var(--elite-border);
}

.plan-price {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.plan-price--elite {
  color: var(--elite);
  text-shadow: 0 0 24px var(--elite-glow);
}

.plan-price__period {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-yearly-line {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.plan-save-line {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.28);
  width: fit-content;
}

.plan-save-line--elite {
  color: var(--elite);
  background: var(--elite-dim);
  border-color: var(--elite-border);
}

.plan-no-card {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
  font-size: 0.875rem;
}

.price-card ul.plan-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text);
}

.plan-feat__mark {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  font-weight: 700;
}

.plan-feat--neutral .plan-feat__mark {
  color: var(--text-muted);
}

.plan-feat--pro .plan-feat__mark {
  color: var(--accent);
}

.plan-feat--elite .plan-feat__mark {
  color: var(--elite);
}

.plan-feat--no {
  color: var(--text-muted);
  opacity: 0.85;
}

.plan-feat__mark--off {
  color: rgba(255, 107, 53, 0.75) !important;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 53, 0.5);
}

.btn-elite {
  background: linear-gradient(145deg, #e9d5ff 0%, var(--elite) 40%, #9333ea 100%);
  color: #1a0a2e;
  border: 1px solid var(--elite-border);
  box-shadow:
    0 0 24px var(--elite-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-elite:hover {
  filter: brightness(1.08);
  color: #1a0a2e;
}

.btn-block {
  width: 100%;
}

.pricing-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pricing-section-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--heading);
}

.pricing-section-lead {
  margin: 0 0 1.25rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.compare-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.2rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.compare-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 230, 118, 0.38);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(0, 230, 118, 0.2),
    0 0 64px rgba(255, 107, 53, 0.1);
}

.compare-card-title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  text-shadow: 0 0 14px rgba(255, 107, 53, 0.25);
}

.compare-card-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.35rem;
  padding: 0 0.35rem 0.15rem;
}

@media (min-width: 900px) {
  .compare-card {
    padding: 1.15rem 1.25rem 1.35rem;
  }

  .compare-card-body {
    margin: 0;
    padding: 0;
  }
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  color: var(--heading);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.2);
}

.compare-table thead th:not(:first-child) {
  text-align: center;
  width: 18%;
}

.compare-table tbody th[scope='row'] {
  color: var(--text);
  font-weight: 500;
  max-width: 14rem;
}

.compare-table td {
  color: var(--text-muted);
  text-align: center;
}

.compare-table td:first-of-type,
.compare-table tbody th:first-child {
  text-align: left;
}

.support-ladder {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.support-ladder--mid {
  color: var(--accent);
  border-color: rgba(0, 230, 118, 0.35);
  background: var(--accent-dim);
}

.support-ladder--fast {
  color: var(--elite);
  border-color: var(--elite-border);
  background: var(--elite-dim);
}

.pay-methods {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pay-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.pay-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0, 230, 118, 0.42);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(0, 230, 118, 0.25);
}

.pay-methods .pay-card:nth-child(2):hover {
  border-color: rgba(247, 147, 26, 0.5);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 44px rgba(247, 147, 26, 0.22);
}

.pay-methods .pay-card:nth-child(3):hover {
  border-color: rgba(38, 161, 123, 0.55);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 44px rgba(38, 161, 123, 0.22);
}

.pay-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.pay-card__icon--paystack {
  color: var(--accent);
  background: var(--accent-dim);
}

.pay-card__icon--btc {
  color: #f7931a;
  background: rgba(247, 147, 26, 0.12);
}

.pay-card__icon--usdt {
  color: #26a17b;
  background: rgba(38, 161, 123, 0.12);
}

.pay-card__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--heading);
}

.pay-card__regions {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.currency-pills-label {
  margin: 1.75rem 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.currency-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.currency-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 230, 118, 0.38);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 230, 118, 0.18),
    0 0 56px rgba(251, 191, 36, 0.08);
}

.testimonial-card--elite {
  border-color: var(--elite-border);
  box-shadow: 0 0 28px rgba(192, 132, 252, 0.1);
}

.testimonial-card--elite:hover {
  border-color: rgba(192, 132, 252, 0.75);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.42),
    0 0 52px var(--elite-glow),
    0 0 72px rgba(192, 132, 252, 0.18);
}

.testimonial-stars {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #fbbf24;
  margin-bottom: 0.65rem;
}

.testimonial-stars .star-dim {
  opacity: 0.35;
}

.testimonial-quote {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-name {
  font-weight: 700;
  color: var(--heading);
}

.testimonial-plan {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-left: auto;
}

.testimonial-plan--pro {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.testimonial-plan--elite {
  color: var(--elite);
  background: var(--elite-dim);
  border: 1px solid var(--elite-border);
}

/* Pricing FAQ — chevron, single-panel (JS) */
.pricing-faq-list {
  max-width: 48rem;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.pricing-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.pricing-faq-item:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(0, 230, 118, 0.16);
}

.pricing-faq-item.is-open {
  border-color: rgba(0, 230, 118, 0.48);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(0, 230, 118, 0.14);
}

.pricing-faq-item.is-open:hover {
  transform: translateY(-4px) scale(1.01);
}

.pricing-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.pricing-faq-q:hover {
  color: var(--accent);
}

.pricing-faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.pricing-faq-item.is-open .pricing-faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.pricing-faq-a {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pricing-faq-item.is-open .pricing-faq-a {
  display: block;
}

/* Pricing hover motion — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .billing-toggle,
  .billing-toggle-wrap,
  .pricing-grid--v2 .price-card,
  .compare-card,
  .pay-card,
  .testimonial-card,
  .pricing-faq-item,
  main.home-main .hero-badge,
  main.home-main .hero-cta .btn,
  main.home-main .stats .stat,
  main.home-main .card-grid .card {
    transition: none;
  }

  .billing-toggle-wrap:hover,
  .billing-toggle-wrap:hover .billing-toggle,
  .pricing-grid--v2 .price-card:hover,
  .compare-card:hover,
  .pay-card:hover,
  .testimonial-card:hover,
  .pricing-faq-item:hover,
  .pricing-faq-item.is-open:hover,
  main.home-main .hero-badge:hover,
  main.home-main .hero-cta .btn:hover,
  main.home-main .stats .stat:hover,
  main.home-main .card-grid .card:hover,
  .site-nav a:hover,
  .site-nav a[aria-current='page']:hover,
  .site-header-auth .btn:hover {
    transform: none;
  }

  .site-nav a,
  .site-header-auth .btn {
    transition: none;
  }
}
