/* buypokerbot.com — custom overlay on Tailwind CDN */

:root {
  color-scheme: dark;
  --bg-0: #07060f;
  --bg-1: #110a26;
  --bg-2: #1e1148;
  --accent: #a855f7;
  --accent-2: #6366f1;
  --accent-3: #22d3ee;
  --ink: #f5f3ff;
  --ink-dim: #c4b5fd;
  --line: rgba(168, 85, 247, 0.18);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(168, 85, 247, 0.28), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(900px 700px at 50% 100%, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #07060f 0%, #0b0820 40%, #050410 100%);
  min-height: 100vh;
}

/* subtle starfield grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.20), transparent 50%),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.18), transparent 50%);
  background-size: 700px 700px;
  opacity: 0.6;
}

main, header, footer { position: relative; z-index: 1; }

/* glass card */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 18px;
}

.glass-strong {
  background: linear-gradient(180deg, rgba(168,85,247,0.16), rgba(99,102,241,0.06));
  border: 1px solid rgba(168,85,247,0.35);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 20px;
  box-shadow: 0 20px 60px -20px rgba(168, 85, 247, 0.45);
}

/* sticky nav blur */
.nav-blur {
  background: rgba(7, 6, 15, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* animated gradient text */
.gradient-text {
  background: linear-gradient(90deg, #c4b5fd 0%, #a855f7 25%, #22d3ee 55%, #a855f7 85%, #c4b5fd 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slide 8s linear infinite;
}

@keyframes slide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* primary CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(95deg, #a855f7 0%, #6366f1 50%, #22d3ee 100%);
  background-size: 200% 100%;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 12px 30px -10px rgba(168,85,247,0.6),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.18s ease, background-position 0.6s ease, box-shadow 0.2s ease;
  text-decoration: none;
  min-height: 48px;
}

.cta:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px -10px rgba(168,85,247,0.75),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.cta-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cta-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.28);
}

/* pricing card highlight ring */
.ring-recommended {
  position: relative;
}
.ring-recommended::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, #a855f7, #22d3ee, #6366f1, #a855f7);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: slide 6s linear infinite;
  pointer-events: none;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-common {
  background: rgba(196,181,253,0.10);
  color: #c4b5fd;
  border: 1px solid rgba(196,181,253,0.25);
}
.badge-rec {
  background: linear-gradient(95deg, rgba(168,85,247,0.35), rgba(34,211,238,0.25));
  color: #fff;
  border: 1px solid rgba(168,85,247,0.55);
}
.badge-life {
  background: rgba(34,211,238,0.10);
  color: #67e8f9;
  border: 1px solid rgba(34,211,238,0.3);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(99,102,241,0.15));
  border: 1px solid rgba(168,85,247,0.35);
  color: #c4b5fd;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  border: 0;
}

a.text-link {
  color: #c4b5fd;
  text-decoration: underline;
  text-decoration-color: rgba(196,181,253,0.45);
  text-underline-offset: 3px;
}
a.text-link:hover { color: #fff; text-decoration-color: #fff; }

/* trial pill */
.trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #67e8f9;
  font-size: 0.82rem;
  font-weight: 500;
}

.trial-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
}

/* faq */
details.faq {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
}
details.faq + details.faq { margin-top: 0.65rem; }
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #f5f3ff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  color: #c4b5fd;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 0.7rem; color: var(--ink-dim); line-height: 1.6; }

/* footer */
.foot-link { color: #a1a1aa; }
.foot-link:hover { color: #fff; }

/* mobile */
@media (max-width: 620px) {
  .cta { width: 100%; padding: 1rem 1.25rem; font-size: 1rem; min-height: 52px; }
  .hero-h1 { font-size: 2.4rem !important; line-height: 1.08 !important; }
  .nav-cta-mobile { display: inline-flex !important; }
  .nav-links-desktop { display: none !important; }
  .header-inner { padding-left: 1rem !important; padding-right: 1rem !important; }
  .pricing-grid > * { min-width: 0; }
  body { background-attachment: scroll; }
}

@media (max-width: 400px) {
  .hero-h1 { font-size: 2rem !important; }
}

/* keep dark mode media query from flipping anything */
@media (prefers-color-scheme: light) {
  html, body { background: var(--bg-0); color: var(--ink); }
}

/* utility */
.max-w-content { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-pad { padding: 5rem 1.25rem; }
@media (max-width: 620px) { .section-pad { padding: 3.25rem 1rem; } }

/* video frame — responsive 16:9 */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
