/* SuperQuantum Play Plus - Custom CSS */
/* Premium Canadian Edition - Extra Luminosity & Deeper Contrast */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --sq-primary: #7c3aed;
  --sq-primary-light: #a78bfa;
  --sq-primary-dark: #5b21b6;
  --sq-secondary: #06b6d4;
  --sq-secondary-light: #67e8f9;
  --sq-accent: #f43f5e;
  --sq-accent-glow: #fb7185;
  --sq-gold: #fbbf24;
  --sq-gold-light: #fcd34d;
  --sq-surface: #0f0a1e;
  --sq-surface-elevated: #1a1230;
  --sq-surface-card: #231942;
  --sq-text-primary: #f8fafc;
  --sq-text-secondary: #cbd5e1;
  --sq-text-muted: #94a3b8;
  --sq-border: rgba(124, 58, 237, 0.3);
  --sq-glow: rgba(124, 58, 237, 0.5);
  --sq-canada-red: #ff1e38;
  --sq-canada-glow: rgba(255, 30, 56, 0.4);
}

/* ========================================
   BASE RESETS & GLOBALS
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sq-surface);
  color: var(--sq-text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   PARTICLE ANIMATION SYSTEM
   ======================================== */
@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-2rem) translateX(1rem) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-4rem) translateX(-0.5rem) scale(0.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-2rem) translateX(1.5rem) scale(1.05);
    opacity: 0.7;
  }
}

@keyframes particle-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(1.5rem, -2rem) rotate(120deg);
  }
  66% {
    transform: translate(-1rem, -3.5rem) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 1.25rem var(--sq-glow), 0 0 2.5rem rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow: 0 0 2rem var(--sq-glow), 0 0 4rem rgba(124, 58, 237, 0.5);
  }
}

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

@keyframes tilt-float {
  0%, 100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0);
  }
  25% {
    transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-0.5rem);
  }
  50% {
    transform: perspective(1000px) rotateX(-1deg) rotateY(2deg) translateY(-0.25rem);
  }
  75% {
    transform: perspective(1000px) rotateX(1deg) rotateY(-1deg) translateY(-0.75rem);
  }
}

@keyframes badge-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes border-glow {
  0%, 100% {
    border-color: var(--sq-primary);
    box-shadow: 0 0 0.625rem var(--sq-glow);
  }
  50% {
    border-color: var(--sq-secondary);
    box-shadow: 0 0 1.25rem rgba(6, 182, 212, 0.5);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   PARTICLE CONTAINER
   ======================================== */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--sq-primary-light);
  border-radius: 50%;
  animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; animation-duration: 10s; }
.particle:nth-child(3) { left: 35%; top: 50%; animation-delay: 2s; background: var(--sq-secondary); }
.particle:nth-child(4) { left: 50%; top: 30%; animation-delay: 3s; animation-duration: 12s; }
.particle:nth-child(5) { left: 65%; top: 70%; animation-delay: 4s; background: var(--sq-gold); }
.particle:nth-child(6) { left: 80%; top: 40%; animation-delay: 5s; }
.particle:nth-child(7) { left: 90%; top: 60%; animation-delay: 6s; background: var(--sq-accent); animation-duration: 9s; }
.particle:nth-child(8) { left: 15%; top: 45%; animation-delay: 7s; }
.particle:nth-child(9) { left: 75%; top: 25%; animation-delay: 2.5s; background: var(--sq-secondary-light); }
.particle:nth-child(10) { left: 45%; top: 85%; animation-delay: 4.5s; animation-duration: 11s; }

.particle-lg {
  width: 0.75rem;
  height: 0.75rem;
  animation: particle-drift 15s ease-in-out infinite;
  opacity: 0.4;
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */
.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(0.75rem);
  border-bottom: 1px solid var(--sq-border);
  transition: all 0.3s ease;
}

.nav-sticky.scrolled {
  background: rgba(15, 10, 30, 0.98);
  box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--sq-primary-light), var(--sq-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--sq-text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--sq-text-primary);
  background: rgba(124, 58, 237, 0.15);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sq-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 60%;
}

/* Mobile Menu - FIXED VERSION */
.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sq-surface);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

.mobile-menu.active {
  transform: translateX(0) !important;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 0.375rem;
  position: relative;
  z-index: 1001;
}

.burger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--sq-text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1rem 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 10, 30, 0.7) 0%,
    rgba(15, 10, 30, 0.85) 50%,
    var(--sq-surface) 100%
  );
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(124, 58, 237, 0.2) 0%,
    transparent 60%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  animation: fade-in-up 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--sq-text-primary) 0%, var(--sq-primary-light) 50%, var(--sq-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bonus Badge */
.bonus-badge {
  display: inline-block;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--sq-surface-card), var(--sq-surface-elevated));
  border: 2px solid var(--sq-primary);
  border-radius: 1rem;
  margin-bottom: 2rem;
  animation: tilt-float 6s ease-in-out infinite, border-glow 3s ease-in-out infinite;
  box-shadow: 0 1rem 3rem rgba(124, 58, 237, 0.3);
}

.bonus-main {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sq-gold);
  text-shadow: 0 0 1.5rem rgba(251, 191, 36, 0.5);
  display: block;
  margin-bottom: 0.5rem;
}

.bonus-sub {
  font-size: 1rem;
  color: var(--sq-text-secondary);
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--sq-primary), var(--sq-primary-dark));
  color: var(--sq-text-primary);
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: glow-pulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 2rem var(--sq-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--sq-text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--sq-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--sq-primary);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.wagering-disclaimer {
  font-size: 0.75rem;
  color: var(--sq-text-muted);
  margin-top: 1rem;
}

/* ========================================
   GAME STRIP
   ======================================== */
.game-strip {
  padding: 4rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05), transparent);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.game-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--sq-surface-card);
  border: 1px solid var(--sq-border);
  transition: all 0.3s ease;
  animation: tilt-float 8s ease-in-out infinite;
}

.game-card:nth-child(2) { animation-delay: 0.5s; }
.game-card:nth-child(3) { animation-delay: 1s; }
.game-card:nth-child(4) { animation-delay: 1.5s; }
.game-card:nth-child(5) { animation-delay: 2s; }
.game-card:nth-child(6) { animation-delay: 2.5s; }

.game-card:hover {
  transform: translateY(-0.5rem) scale(1.02);
  border-color: var(--sq-primary);
  box-shadow: 0 1rem 2rem var(--sq-glow);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 10, 30, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sq-text-primary);
  margin-bottom: 0.5rem;
}

/* ========================================
   STEP GUIDE
   ======================================== */
.step-guide {
  padding: 5rem 1rem;
  background: var(--sq-surface-elevated);
}

.step-grid {
  display: grid;
  gap: 2rem;
}

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

.step-card {
  position: relative;
  text-align: center;
  padding: 2rem;
  background: var(--sq-surface-card);
  border-radius: 1rem;
  border: 1px solid var(--sq-border);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--sq-primary);
  box-shadow: 0 0.5rem 1.5rem var(--sq-glow);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--sq-primary), var(--sq-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--sq-text-primary);
  box-shadow: 0 0.25rem 1rem var(--sq-glow);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--sq-primary-light);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sq-text-primary);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--sq-text-secondary);
  line-height: 1.6;
}

/* ========================================
   PAYMENTS TABLE
   ======================================== */
.payments-section {
  padding: 5rem 1rem;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.payments-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--sq-surface-card);
  border-radius: 1rem;
  overflow: hidden;
}

.payments-table th {
  background: linear-gradient(135deg, var(--sq-primary-dark), var(--sq-surface-elevated));
  color: var(--sq-text-primary);
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payments-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--sq-border);
  color: var(--sq-text-secondary);
  vertical-align: middle;
}

.payments-table tr:last-child td {
  border-bottom: none;
}

.payments-table tr:hover td {
  background: rgba(124, 58, 237, 0.05);
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--sq-text-primary);
  font-weight: 500;
}

.payment-icon i {
  font-size: 1.5rem;
  color: var(--sq-primary-light);
}

/* ========================================
   REVIEW BLOCKS
   ======================================== */
.review-section {
  padding: 5rem 1rem;
  background: linear-gradient(180deg, var(--sq-surface-elevated), var(--sq-surface));
}

.review-grid {
  display: grid;
  gap: 2rem;
}

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

.review-block {
  background: var(--sq-surface-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--sq-border);
  transition: all 0.3s ease;
}

.review-block:hover {
  border-color: var(--sq-primary);
  box-shadow: 0 0.5rem 1.5rem rgba(124, 58, 237, 0.2);
}

.review-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sq-text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sq-primary);
  display: inline-block;
}

.review-content {
  color: var(--sq-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.review-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.review-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.review-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--sq-primary-light);
}

.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.provider-tag {
  padding: 0.375rem 0.875rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--sq-border);
  border-radius: 2rem;
  font-size: 0.8125rem;
  color: var(--sq-text-secondary);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  background: rgba(124, 58, 237, 0.25);
  color: var(--sq-text-primary);
  border-color: var(--sq-primary);
}

/* ========================================
   PROMO CARDS
   ======================================== */
.promo-section {
  padding: 5rem 1rem;
}

.promo-grid {
  display: grid;
  gap: 1.5rem;
}

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

.promo-card {
  background: linear-gradient(145deg, var(--sq-surface-card), var(--sq-surface-elevated));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--sq-border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sq-primary), var(--sq-secondary));
}

.promo-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--sq-primary);
  box-shadow: 0 1rem 2rem var(--sq-glow);
}

.promo-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--sq-gold);
}

.promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sq-text-primary);
  margin-bottom: 0.75rem;
}

.promo-desc {
  color: var(--sq-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 5rem 1rem;
  background: var(--sq-surface-elevated);
}

.faq-item {
  background: var(--sq-surface-card);
  border: 1px solid var(--sq-border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--sq-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--sq-text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(124, 58, 237, 0.05);
}

.faq-icon {
  color: var(--sq-primary-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 31.25rem;
}

.faq-answer-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--sq-text-secondary);
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--sq-surface);
  border-top: 1px solid var(--sq-border);
  padding: 3rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sq-text-primary);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--sq-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sq-primary-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sq-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--sq-canada-red);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--sq-text-primary);
}

.responsible-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.responsible-icons a {
  color: var(--sq-text-muted);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.responsible-icons a:hover {
  color: var(--sq-primary-light);
}

.copyright {
  color: var(--sq-text-muted);
  font-size: 0.875rem;
}

.helpline-info {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.helpline-info p {
  color: var(--sq-text-secondary);
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.helpline-info strong {
  color: var(--sq-accent-glow);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--sq-text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--sq-text-secondary);
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0 auto;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--sq-primary-light), var(--sq-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-box {
  box-shadow: 0 0 1.5rem var(--sq-glow);
}

/* ========================================
   PROSE STYLING FOR MARKDOWN CONTENT
   ======================================== */
.prose {
  color: var(--sq-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 65ch;
  margin: 0 auto;
}

.prose > * + * {
  margin-top: 1.5em;
}

.prose h2 {
  font-size: 1.75em;
  font-weight: 700;
  color: var(--sq-text-primary);
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--sq-primary);
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.375em;
  font-weight: 600;
  color: var(--sq-text-primary);
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose h4 {
  font-size: 1.125em;
  font-weight: 600;
  color: var(--sq-primary-light);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.25em;
  color: var(--sq-text-secondary);
}

.prose a {
  color: var(--sq-primary-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: var(--sq-secondary);
}

.prose strong {
  color: var(--sq-text-primary);
  font-weight: 600;
}

.prose em {
  font-style: italic;
  color: var(--sq-text-secondary);
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin: 1.25em 0;
}

.prose ul {
  list-style-type: none;
}

.prose ul li {
  position: relative;
  padding-left: 1.25em;
  margin-bottom: 0.625em;
}

.prose ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--sq-primary-light);
  font-size: 0.625em;
  top: 0.5em;
}

.prose ol {
  list-style-type: decimal;
}

.prose ol li {
  margin-bottom: 0.625em;
  padding-left: 0.375em;
}

.prose ol li::marker {
  color: var(--sq-primary-light);
  font-weight: 600;
}

.prose blockquote {
  border-left: 4px solid var(--sq-primary);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
}

.prose blockquote p {
  margin: 0;
  color: var(--sq-text-secondary);
}

.prose blockquote p::before {
  content: '"';
  color: var(--sq-primary-light);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 0.25em;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2em 0;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sq-border);
}

.prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sq-primary), transparent);
  margin: 3em 0;
}

.prose code {
  background: var(--sq-surface-card);
  color: var(--sq-secondary);
  padding: 0.2em 0.5em;
  border-radius: 0.25em;
  font-size: 0.9em;
  font-family: 'Fira Code', monospace;
}

.prose pre {
  background: var(--sq-surface-card);
  border: 1px solid var(--sq-border);
  border-radius: 0.75rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  font-size: 0.875em;
}

/* Prose Tables */
.prose .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em -1rem;
  padding: 0 1rem;
}

.prose table {
  width: 100%;
  min-width: 28rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--sq-surface-card);
  border-radius: 0.75rem;
  overflow: hidden;
  font-size: 0.9375em;
}

.prose th {
  background: linear-gradient(135deg, var(--sq-primary-dark), var(--sq-surface-elevated));
  color: var(--sq-text-primary);
  font-weight: 600;
  padding: 0.875em 1em;
  text-align: left;
  white-space: nowrap;
}

.prose td {
  padding: 0.875em 1em;
  border-bottom: 1px solid var(--sq-border);
  color: var(--sq-text-secondary);
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose tr:hover td {
  background: rgba(124, 58, 237, 0.05);
}

/* Prose Callout Boxes */
.prose .callout {
  padding: 1.25em 1.5em;
  border-radius: 0.75rem;
  margin: 1.5em 0;
  border-left: 4px solid;
}

.prose .callout-info {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--sq-secondary);
}

.prose .callout-warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--sq-gold);
}

.prose .callout-tip {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--sq-primary);
}

/* ========================================
   INNER PAGE HERO
   ======================================== */
.inner-hero {
  padding: 8rem 1rem 4rem;
  background: linear-gradient(180deg, var(--sq-surface-elevated), var(--sq-surface));
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.inner-hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--sq-text-primary), var(--sq-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.inner-hero p {
  font-size: 1.125rem;
  color: var(--sq-text-secondary);
}

/* Content Wrapper */
.content-wrapper {
  padding: 4rem 1rem;
  background: var(--sq-surface);
}

.content-container {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--sq-surface-card);
  border: 1px solid var(--sq-border);
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .content-container {
    padding: 3rem;
  }
}

/* SVG Pattern Background */
.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Diamond Pattern Overlay */
.diamond-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0l20 20-20 20L0 20z' fill='%2306b6d4' fill-opacity='1'/%3E%3C/svg%3E");
  background-size: 2.5rem 2.5rem;
  pointer-events: none;
}
