/* =============================================
   PLAY FAME — Global Stylesheet
   Brand: #0a0010 bg | #6b00d4 purple | #e0007e pink | #ffd700 gold
   Last audit: April 2026 — Full a11y / SEO / perf pass
   ============================================= */

:root {
  --bg-deep:    #0a0010;
  --bg-card:    #12002a;
  --bg-card2:   #1a0038;
  --purple:     #6b00d4;
  --purple-lt:  #9b34ff;
  --pink:       #e0007e;
  --pink-lt:    #ff4db8;
  --gold:       #ffd700;
  --gold-lt:    #ffe566;
  --white:      #ffffff;
  --gray:       #b0a0c8;
  --gray-dk:    #5a4a72;
  --grad-main:  linear-gradient(135deg, #6b00d4 0%, #e0007e 100%);
  --grad-gold:  linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  --grad-dark:  linear-gradient(180deg, #12002a 0%, #0a0010 100%);
  --shadow-glow: 0 0 30px rgba(224,0,126,0.4);
  --shadow-purple: 0 0 20px rgba(107,0,212,0.5);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--bg-deep);
  color: var(--white);
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--gray); font-size: 1rem; }
a  { color: var(--pink-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 1rem; cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--grad-main);
  color: #fff; box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(224,0,126,0.6); color: #fff; }
.btn-gold {
  background: var(--grad-gold); color: #1a0038; font-weight: 800;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,215,0,0.5); color: #1a0038; }
.btn-outline {
  background: transparent; border: 2px solid var(--purple-lt); color: var(--purple-lt);
}
.btn-outline:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.section-tag {
  display: inline-block; background: rgba(107,0,212,0.3); border: 1px solid var(--purple-lt);
  color: var(--purple-lt); padding: 6px 18px; border-radius: 50px; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-sub  { color: var(--gray); margin-bottom: 40px; max-width: 680px; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,0,16,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,0,212,0.3);
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 900; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

nav.main-nav { display: flex; align-items: center; gap: 6px; }
nav.main-nav a {
  color: var(--gray); font-weight: 600; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 8px; transition: all var(--transition);
  text-decoration: none;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--white); background: rgba(107,0,212,0.25); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.tracker-btn {
  background: var(--grad-main); color: #fff; font-weight: 700;
  padding: 10px 22px; border-radius: 50px; font-size: 0.9rem;
  text-decoration: none; transition: all var(--transition);
  box-shadow: var(--shadow-glow);
}
.tracker-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(224,0,126,0.7); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,0,16,0.98); z-index: 999; overflow-y: auto;
  padding: 30px 20px;
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white); font-size: 1.1rem; font-weight: 600;
  padding: 14px 20px; border-radius: 10px;
  border: 1px solid rgba(107,0,212,0.2); text-decoration: none;
  transition: all var(--transition);
}
.mobile-nav a:hover { background: rgba(107,0,212,0.3); border-color: var(--purple-lt); }
.mobile-nav .tracker-btn-mobile {
  background: var(--grad-main); color: #fff; font-weight: 800;
  padding: 16px 20px; border-radius: 50px; text-align: center;
  font-size: 1.1rem; margin-top: 16px; border: none;
  box-shadow: var(--shadow-glow);
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(107,0,212,0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(224,0,126,0.2) 0%, transparent 50%),
              var(--bg-deep);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold); animation: float 8s infinite linear;
  opacity: 0.7;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.4); color: var(--gold); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; }
.hero h1 { margin-bottom: 20px; }
.hero p.hero-desc { font-size: 1.15rem; margin-bottom: 32px; color: var(--gray); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat span { font-size: 0.85rem; color: var(--gray); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 400px; height: 400px; }
.hero-card-main {
  width: 320px; height: 200px; background: var(--grad-main);
  border-radius: var(--radius-lg); position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); box-shadow: var(--shadow-glow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}
.hero-card-behind1 {
  width: 300px; height: 190px; background: linear-gradient(135deg, #4a0090, #9b34ff);
  border-radius: var(--radius-lg); position: absolute; top: calc(50% - 20px); left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0.6;
}
.hero-card-behind2 {
  width: 300px; height: 190px; background: linear-gradient(135deg, #800050, #e0007e);
  border-radius: var(--radius-lg); position: absolute; top: calc(50% + 20px); left: 50%;
  transform: translate(-50%, -50%) rotate(6deg);
  opacity: 0.5;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  animation: pulse-orb 4s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(107,0,212,0.5), transparent); top: -20px; right: -20px; }
.hero-orb-2 { width: 150px; height: 150px; background: radial-gradient(circle, rgba(224,0,126,0.4), transparent); bottom: 0; left: 0; }
@keyframes pulse-orb { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.3); opacity: 1; } }

/* ── CARDS GRID ── */
.cards-grid { display: grid; gap: 24px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid rgba(107,0,212,0.25);
  border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-main); }
.card:hover { transform: translateY(-6px); border-color: var(--purple-lt); box-shadow: var(--shadow-purple); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; color: var(--white); }
.card p { font-size: 0.95rem; }

/* ── GAME CARDS ── */
.game-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid rgba(107,0,212,0.2);
  transition: all var(--transition); position: relative;
}
.game-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(107,0,212,0.3); border-color: var(--pink); }
.game-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.game-card-body { padding: 16px; }
.game-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad-main); color: #fff; font-size: 0.75rem;
  font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.game-card h4 { margin-bottom: 4px; }
.game-card .rtp { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
section.dark-section { background: var(--bg-card2); }
section.darker-section { background: var(--bg-deep); }
.section-header { text-align: center; margin-bottom: 48px; }

/* ── BONUS CARDS ── */
.bonus-card {
  background: var(--bg-card2); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid rgba(255,215,0,0.2);
  position: relative; overflow: hidden; transition: all var(--transition);
}
.bonus-card:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(255,215,0,0.15); transform: translateY(-4px); }
.bonus-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle, rgba(255,215,0,0.1), transparent); }
.bonus-amount { font-size: 3rem; font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.bonus-label { font-size: 1.1rem; color: var(--white); font-weight: 700; margin: 8px 0; }
.bonus-desc { font-size: 0.9rem; color: var(--gray); }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.data-table thead tr { background: var(--grad-main); }
.data-table thead th { padding: 14px 18px; text-align: left; font-weight: 700; font-size: 0.9rem; color: #fff; white-space: nowrap; }
.data-table tbody tr { border-bottom: 1px solid rgba(107,0,212,0.15); transition: background var(--transition); }
.data-table tbody tr:hover { background: rgba(107,0,212,0.1); }
.data-table tbody td { padding: 13px 18px; font-size: 0.92rem; color: var(--gray); white-space: nowrap; }
.data-table tbody td:first-child { color: var(--white); font-weight: 600; }
.badge-green { background: rgba(0,200,100,0.15); color: #00c864; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-gold  { background: rgba(255,215,0,0.15); color: var(--gold); padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-pink  { background: rgba(224,0,126,0.15); color: var(--pink-lt); padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* ── CHARTS ── */
.chart-container { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; border: 1px solid rgba(107,0,212,0.25); }
.chart-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--white); }
/* Bar Chart */
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-item { display: flex; align-items: center; gap: 14px; }
.bar-label { width: 140px; font-size: 0.88rem; color: var(--gray); flex-shrink: 0; text-align: right; }
.bar-track { flex: 1; background: rgba(255,255,255,0.07); border-radius: 50px; height: 28px; overflow: hidden; min-width: 80px; }
.bar-fill { height: 100%; border-radius: 50px; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-size: 0.8rem; font-weight: 700; color: #fff; transition: width 1s ease; }
.bar-fill-main { background: var(--grad-main); }
.bar-fill-gold  { background: var(--grad-gold); color: #1a0038; }
.bar-fill-purple { background: linear-gradient(90deg, #4a0090, #9b34ff); }
/* Donut Chart */
.donut-wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.donut-svg { flex-shrink: 0; width: 200px; height: 200px; }
.donut-legend { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.legend-item { display: flex; align-items: center; gap: 10px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-text { font-size: 0.9rem; color: var(--gray); }
.legend-value { font-weight: 700; color: var(--white); margin-left: auto; }
/* Line Chart */
.line-chart-svg { width: 100%; height: 200px; }
/* Progress Bars */
.progress-list { display: flex; flex-direction: column; gap: 16px; }
.progress-item label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; color: var(--gray); }
.progress-item label span { color: var(--white); font-weight: 700; }
.progress-track { background: rgba(255,255,255,0.07); border-radius: 50px; height: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 50px; background: var(--grad-main); }

/* ── STEPS ── */
.steps { display: flex; gap: 0; counter-reset: step; flex-wrap: wrap; }
.step { flex: 1; min-width: 180px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; position: relative; }
.step::after { content: '→'; position: absolute; right: -12px; top: 44px; font-size: 1.4rem; color: var(--purple-lt); }
.step:last-child::after { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; margin-bottom: 16px; box-shadow: var(--shadow-glow); }
.step h4 { color: var(--white); margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ── TESTIMONIALS ── */
.testimonial-card { background: var(--bg-card2); border-radius: var(--radius-lg); padding: 28px; border: 1px solid rgba(107,0,212,0.2); }
.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 14px; }
.testimonial-text { font-style: italic; color: var(--gray); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray); }

/* ── AUTHOR BLOCK ── */
.author-card { display: flex; align-items: flex-start; gap: 28px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; border: 1px solid rgba(107,0,212,0.25); flex-wrap: wrap; }
.author-photo { width: 120px; height: 160px; border-radius: var(--radius); object-fit: cover; border: 3px solid var(--purple-lt); flex-shrink: 0; }
.author-info h3 { margin-bottom: 8px; }
.author-role { color: var(--pink-lt); font-weight: 600; margin-bottom: 12px; }
.author-bio { font-size: 0.95rem; margin-bottom: 16px; }
.author-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--purple-lt); color: var(--purple-lt); text-decoration: none; transition: all var(--transition); }
.social-btn:hover { background: var(--purple); color: #fff; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(107,0,212,0.2); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; color: var(--white); list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(107,0,212,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px 0; color: var(--gray); font-size: 0.95rem; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-list li::before { content: '✦'; color: var(--pink-lt); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 16px 0; font-size: 0.88rem; color: var(--gray); }
.breadcrumb a { color: var(--purple-lt); }
.breadcrumb span { color: var(--gray-dk); margin: 0 8px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #2a006a 0%, #5a0090 40%, #9b002e 100%);
  border-radius: var(--radius-lg); padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(224,0,126,0.3);
}
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse, rgba(255,215,0,0.07), transparent 60%); }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: #06000e; border-top: 1px solid rgba(107,0,212,0.3);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; margin-bottom: 20px; }
.footer-heading { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--gray); transition: color var(--transition); }
.footer-links a:hover { color: var(--pink-lt); }
.footer-bottom {
  border-top: 1px solid rgba(107,0,212,0.2); padding: 24px 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; max-width: 1200px; margin: 0 auto; font-size: 0.85rem; color: var(--gray);
}
.age-badge { background: var(--grad-main); color: #fff; font-weight: 900; font-size: 1rem; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── FORMS ── */
.form-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px; border: 1px solid rgba(107,0,212,0.3); max-width: 480px; margin: 0 auto; }
.form-card h2 { text-align: center; margin-bottom: 8px; }
.form-card .subtitle { text-align: center; color: var(--gray); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--gray); }
.form-control {
  width: 100%; padding: 13px 16px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(107,0,212,0.4); border-radius: 8px; color: var(--white);
  font-size: 1rem; outline: none; transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--purple-lt); background: rgba(107,0,212,0.1); }
.form-control::placeholder { color: var(--gray-dk); }
.form-divider { text-align: center; color: var(--gray-dk); margin: 20px 0; font-size: 0.85rem; }
.social-login { display: flex; gap: 12px; }
.social-login .btn { flex: 1; justify-content: center; }

/* ── TECH PAGE ── */
.page-hero-sm {
  background: radial-gradient(ellipse at top, rgba(107,0,212,0.4), transparent 60%), var(--bg-deep);
  padding: 80px 0 60px; text-align: center;
}
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; color: var(--white); }
.prose h3 { margin: 28px 0 12px; color: var(--purple-lt); }
.prose p, .prose li { color: var(--gray); font-size: 0.97rem; margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ── APP STORE BADGES ── */
.app-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.app-badge {
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 22px;
  text-decoration: none; transition: all var(--transition); color: var(--white);
}
.app-badge:hover { background: rgba(107,0,212,0.3); border-color: var(--purple-lt); color: var(--white); }
.app-badge-icon { font-size: 2rem; }
.app-badge-text small { display: block; font-size: 0.7rem; color: var(--gray); }
.app-badge-text strong { font-size: 1.1rem; }

/* ── VIP TIERS ── */
.vip-tier {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; border: 1px solid rgba(107,0,212,0.25); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.vip-tier:hover { transform: translateY(-6px); }
.vip-tier.featured { border: 2px solid var(--gold); box-shadow: 0 0 30px rgba(255,215,0,0.2); }
.vip-tier.featured::before { content: 'MOST POPULAR'; position: absolute; top: 16px; right: -28px; background: var(--grad-gold); color: #1a0038; font-size: 0.7rem; font-weight: 900; padding: 4px 36px; transform: rotate(35deg); }
.vip-tier-icon { font-size: 3rem; margin-bottom: 12px; }
.vip-tier-name { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; }
.vip-tier-bonus { font-size: 2.2rem; font-weight: 900; margin: 12px 0; }
.vip-tier-list { list-style: none; text-align: left; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.vip-tier-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--gray); }
.vip-tier-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── MOBILE SCREENSHOTS ── */
.phone-mockup {
  width: 220px; background: #1a1a2e; border-radius: 36px; padding: 12px;
  border: 2px solid rgba(107,0,212,0.5); box-shadow: var(--shadow-glow);
  margin: 0 auto;
}
.phone-screen { border-radius: 28px; overflow: hidden; }
.phone-screen img { width: 100%; display: block; }
.phone-notch { width: 80px; height: 8px; background: #0a0010; border-radius: 50px; margin: 0 auto 8px; }

/* ── TOURNAMENT CARD ── */
.tournament-card {
  background: var(--bg-card2); border-radius: var(--radius-lg);
  border: 1px solid rgba(107,0,212,0.25); overflow: hidden; transition: all var(--transition);
}
.tournament-card:hover { border-color: var(--pink); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.tournament-header { background: var(--grad-main); padding: 20px 24px; }
.tournament-header h3 { color: #fff; margin-bottom: 4px; }
.tournament-header .prize { font-size: 2rem; font-weight: 900; color: var(--gold); }
.tournament-body { padding: 20px 24px; }
.tournament-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.tournament-meta-item { font-size: 0.85rem; color: var(--gray); }
.tournament-meta-item strong { color: var(--white); display: block; }
.tournament-progress-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.85rem; color: var(--gray); }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-main); color: #fff; border: none; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; z-index: 999; box-shadow: var(--shadow-glow); transition: all var(--transition); opacity: 0; pointer-events: none; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── NOTIFICATION BANNER ── */
.notif-bar { background: var(--grad-main); padding: 10px 20px; text-align: center; font-size: 0.9rem; font-weight: 600; }
.notif-bar a { color: var(--gold); font-weight: 700; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  section { padding: 52px 0; }
  nav.main-nav { display: none; }
  .header-cta .tracker-btn { display: none; }
  .burger { display: flex; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bar-label { width: 90px; font-size: 0.78rem; }
  .donut-svg { width: 150px; height: 150px; }
  .table-wrap { margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .cta-banner { padding: 40px 24px; }
  .form-card { padding: 28px 20px; }
  .steps { flex-direction: column; }
  .step::after { content: '↓'; right: auto; top: auto; bottom: -12px; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 480px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero h1 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .app-badges { flex-direction: column; }
  .donut-wrap { flex-direction: column; }
  .donut-svg { width: 130px; height: 130px; }
}

/* =============================================
   ♿ ACCESSIBILITY — Skip Link, Focus-Visible
   ============================================= */

/* Skip navigation link — visible on keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: #1a0038;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 0 0 8px 0;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #1a0038;
  outline-offset: 2px;
}

/* Focus-visible ring — keyboard navigation indicator */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* Ensure interactive elements have minimum touch target */
button, [role="button"], a, input, select, textarea {
  min-height: 44px;
}
nav.main-nav a, .footer-links a, .breadcrumb a {
  min-height: auto; /* override for layout links */
}

/* =============================================
   🍪 COOKIE CONSENT BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10, 0, 16, 0.97);
  border-top: 2px solid rgba(107, 0, 212, 0.5);
  backdrop-filter: blur(16px);
  z-index: 9999;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0;
  flex: 1;
  min-width: 240px;
}
#cookie-banner a { color: var(--purple-lt); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn-accept {
  background: var(--grad-main);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  min-height: 44px;
}
.cookie-btn-decline {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  min-height: 44px;
}
.cookie-btn-decline:hover { border-color: var(--gray); color: var(--white); }

/* =============================================
   🔞 AGE GATE OVERLAY
   ============================================= */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 16, 0.99);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
#age-gate.hidden { display: none; }
.age-gate-card {
  background: var(--bg-card);
  border: 1px solid rgba(107, 0, 212, 0.4);
  border-radius: 24px;
  padding: 52px 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(224,0,126,0.2);
}
.age-gate-icon { font-size: 4rem; margin-bottom: 16px; }
.age-gate-card h2 { font-size: 2rem; margin-bottom: 12px; }
.age-gate-card p { color: var(--gray); margin-bottom: 28px; font-size: 0.95rem; }
.age-gate-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.age-gate-btns button {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  min-height: 52px;
}
#age-yes {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
#age-no {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2) !important;
  color: var(--gray);
}
.age-gate-legal { font-size: 0.78rem; color: var(--gray-dk); margin-top: 20px; line-height: 1.5; }
@media (max-width: 480px) {
  .age-gate-card { padding: 36px 24px; }
  .age-gate-btns { flex-direction: column; }
}

/* =============================================
   ⚡ PERFORMANCE — Content-Visibility
   ============================================= */
/* Defer rendering of offscreen sections */
section:not(.hero):not(.page-hero-sm) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* =============================================
   🎞 PREFERS-REDUCED-MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-particles { display: none; }
  .providers-track { animation: none; }
  .bar-fill, .progress-fill { transition: none !important; }
}

/* =============================================
   🖨 PRINT STYLES
   ============================================= */
@media print {
  .notif-bar, header, .mobile-nav, .scroll-top,
  #cookie-banner, #age-gate, .cta-banner,
  .hero-particles, .tracker-btn, .tracker-btn-mobile { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  h1, h2, h3 { color: #000; page-break-after: avoid; }
  table { border-collapse: collapse; }
  table, th, td { border: 1px solid #ccc; }
  .table-wrap { overflow-x: visible; }
}

/* =============================================
   🌐 CONTENT LANGUAGE / RTL HOOKS
   ============================================= */
:lang(ar), :lang(he) { direction: rtl; text-align: right; }

/* =============================================
   🔒 SECURE FORM STYLES
   ============================================= */
/* Prevent autofill styling from breaking design */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #12002a inset;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
}

/* =============================================
   ✅ VALID / INVALID FIELD STATES
   ============================================= */
input:valid:not(:placeholder-shown) {
  border-color: rgba(0, 200, 100, 0.5) !important;
}
input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(224, 0, 126, 0.6) !important;
}

/* =============================================
   📐 ASPECT-RATIO HELPERS
   ============================================= */
.img-16-9 { aspect-ratio: 16/9; object-fit: cover; }
.img-4-3  { aspect-ratio: 4/3;  object-fit: cover; }
.img-1-1  { aspect-ratio: 1/1;  object-fit: cover; }

/* =============================================
   🗂 STRUCTURED DATA — Hidden but machine-readable
   ============================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =============================================
   🔗 EXTERNAL LINK INDICATOR (accessibility)
   ============================================= */
a[target="_blank"]:not(.btn):not(.tracker-btn):not(.tracker-btn-mobile)::after {
  content: " ↗";
  font-size: 0.7em;
  opacity: 0.6;
}



/* =============================================
   📱 GLOBAL MOBILE RESPONSIVENESS FIXES
   ============================================= */
img {
    max-width: 100%;
    height: auto;
}
.game-card-img, .author-photo {
    max-width: 100%;
    height: auto;
}
/* Force tables to scroll horizontally on small screens instead of breaking layout */
.table-wrap, .table-responsive, [style*="overflow-x"] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* Ensure diagrams/charts don't overflow */
.chart-container, .bar-chart, .donut-wrap {
    max-width: 100%;
    overflow: hidden;
}
@media (max-width: 768px) {
    .data-table, .tier-table, .picks-table, .comp-table {
        min-width: 600px;
    }
}
@media (max-width: 480px) {
    /* If grid was breaking, ensure it can stack or scale */
    .games-grid {
        gap: 12px;
    }
    .stat-row {
        gap: 10px;
    }
    .donut-wrap svg {
        max-width: 100%;
        height: auto;
    }
}


/* =============================================
   📊 RESPONSIVE FIXES FOR CHARTS/2-COL GRIDS
   ============================================= */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media(max-width:768px) {
    .chart-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}
.vip-hero, .mobile-hero-wrap {
    position: relative;
    overflow: hidden;
    z-index: 1;
}


/* =============================================
   📝 RESPONSIVE FIXES FOR CONTENT+SIDEBAR GRIDS
   ============================================= */
.content-sidebar-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
@media(max-width:900px) {
    .content-sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
}
.sidebar-chart {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}
