/* ============================================================
   BOHO CASINO – style.css
   Brand: Dark luxury, gold accents, bohemian aesthetic
   Colors: #0C0C1E bg | #E8A917 gold | #FFFFFF white
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --bg: #0C0C1E;
  --bg2: #101022;
  --card: #181830;
  --card2: #1E1E38;
  --card3: #232340;
  --gold: #E8A917;
  --gold-light: #FFD166;
  --gold-dark: #B8841A;
  --gold-glow: rgba(232, 169, 23, 0.25);
  --white: #FFFFFF;
  --gray: #8888A8;
  --gray-light: #C0C0D8;
  --green: #22C55E;
  --red: #EF4444;
  --blue: #3B82F6;
  --border: rgba(232, 169, 23, 0.14);
  --border2: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(232, 169, 23, 0.45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .5);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, .6);
  --shadow-gold: 0 0 28px rgba(232, 169, 23, .22);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --tr: all .3s ease;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--tr);
}

a:hover {
  color: var(--gold-light);
}

ul {
  list-style: none;
}

/* ─── Typography ────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-h);
  line-height: 1.3;
  color: var(--white);
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

/* ─── Layout ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.gold {
  color: var(--gold) !important;
}

.text-center {
  text-align: center;
}

.text-gray {
  color: var(--gray) !important;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ─── Section Title ─────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title h2 {
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title p {
  max-width: 600px;
  margin: 22px auto 0;
  font-size: 1.05rem;
}

/* ─── Grids ─────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(232, 169, 23, .12);
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}

.badge-green {
  background: rgba(34, 197, 94, .14);
  color: var(--green);
}

.badge-red {
  background: rgba(239, 68, 68, .14);
  color: var(--red);
}

.badge-new {
  background: var(--gold);
  color: var(--bg);
}

.badge-hot {
  background: var(--red);
  color: var(--white);
}

.badge-vip {
  background: linear-gradient(135deg, #9C27B0, #673AB7);
  color: #fff;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--tr);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  box-shadow: 0 4px 18px rgba(232, 169, 23, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 169, 23, .55);
  color: var(--bg);
}

.btn-secondary {
  background: var(--card2);
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--r-lg);
}

.btn-sm {
  padding: 7px 14px;
  font-size: .82rem;
}

.btn-xs {
  padding: 5px 10px;
  font-size: .76rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* CTA Tracker button – pulsing gold */
.btn-tracker {
  background: linear-gradient(135deg, #F0B500, #D99A00);
  color: #0C0C1E;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 22px;
  letter-spacing: .3px;
  box-shadow: 0 4px 22px rgba(232, 169, 23, .45);
  animation: pulseGold 2.4s ease-in-out infinite;
}

.btn-tracker:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 32px rgba(232, 169, 23, .7);
  color: #0C0C1E;
}

@keyframes pulseGold {

  0%,
  100% {
    box-shadow: 0 4px 22px rgba(232, 169, 23, .45);
  }

  50% {
    box-shadow: 0 4px 34px rgba(232, 169, 23, .75);
  }
}

/* ─── Header & Navigation ───────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 28, .96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a {
  display: block;
  padding: 8px 13px;
  color: var(--gray-light);
  font-weight: 500;
  font-size: .875rem;
  border-radius: var(--r-sm);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(232, 169, 23, .08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  color: var(--gray-light);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .875rem;
}

.nav-login:hover {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 28, .98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.3rem;
  font-family: var(--font-h);
  color: var(--white);
  padding: 10px 28px;
  border-radius: var(--r);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-tracker-wrap {
  margin-top: 8px;
}

/* ─── Breadcrumb ────────────────────────────────────────── */
.bc-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--border2);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: var(--gray);
}

.breadcrumb .current {
  color: var(--gold);
}

/* ─── Hero (Homepage) ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(12, 12, 30, 0.85) 0%, rgba(26, 10, 48, 0.75) 55%, rgba(12, 12, 30, 0.85) 100%),
    radial-gradient(ellipse at 75% 50%, rgba(232, 169, 23, .15) 0%, transparent 58%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(232, 169, 23, .09) 0%, transparent 58%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(232, 169, 23, .06) 1px, transparent 1px),
    radial-gradient(circle, rgba(232, 169, 23, .03) 1px, transparent 1px);
  background-size: 44px 44px, 72px 72px;
  background-position: 0 0, 22px 22px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(232, 169, 23, .1);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: .76rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .82);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-h);
}

.hero-stat-label {
  font-size: .76rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ─── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 56px 0 38px;
  background: linear-gradient(180deg, rgba(232, 169, 23, .04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 10px;
}

.page-hero>.container>p {
  font-size: 1.05rem;
  max-width: 600px;
}

/* ─── Stats Row ─────────────────────────────────────────── */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 44px 40px;
  background: linear-gradient(135deg, rgba(232, 169, 23, .06), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

.stat-item {
  text-align: center;
  min-width: 110px;
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-h);
  display: block;
}

.stat-label {
  font-size: .8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ─── Feature Cards ─────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--tr);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(232, 169, 23, .1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ─── Bonus Cards ───────────────────────────────────────── */
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--tr);
}

.bonus-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.bonus-card-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(232, 169, 23, .1), rgba(184, 132, 26, .05));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.bonus-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bonus-card-type {
  font-size: .72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bonus-card h3 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}

.bonus-card-body {
  padding: 22px;
}

.bonus-amount {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-h);
  margin-bottom: 4px;
}

.bonus-desc {
  color: var(--gray);
  font-size: .88rem;
  margin-bottom: 16px;
}

.bonus-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.bonus-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
}

.bonus-meta-row span:first-child {
  color: var(--gray);
}

.bonus-meta-row span:last-child {
  color: var(--white);
  font-weight: 500;
}

/* ─── Game Cards ────────────────────────────────────────── */
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: var(--tr);
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
  border-radius: var(--r) var(--r) 0 0;
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  background: linear-gradient(135deg, #1A0A2E, #0C0C1E);
}

.game-card:hover .game-thumb-img {
  transform: scale(1.08);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 28, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--tr);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-body {
  padding: 12px 14px;
}

.game-name {
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 3px;
}

.game-provider {
  font-size: .73rem;
  color: var(--gray);
  float: left;
}

.game-rtp {
  font-size: .73rem;
  color: var(--gold);
  font-weight: 600;
  float: right;
}

.game-body::after {
  content: '';
  display: table;
  clear: both;
}

/* ─── Payment Cards ─────────────────────────────────────── */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  gap: 16px;
}

.payment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 14px;
  text-align: center;
  transition: var(--tr);
}

.payment-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.payment-icon {
  font-size: 2.1rem;
  margin-bottom: 8px;
}

.payment-name {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 3px;
}

.payment-time {
  font-size: .73rem;
  color: var(--gray);
}

/* ─── VIP Level Cards ───────────────────────────────────── */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 16px;
}

.vip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 16px;
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.vip-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.vip-card.bronze::after {
  background: linear-gradient(90deg, #78350F, #D97706);
}

.vip-card.silver::after {
  background: linear-gradient(90deg, #6B7280, #D1D5DB);
}

.vip-card.gold::after {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.vip-card.platinum::after {
  background: linear-gradient(90deg, #374151, #9CA3AF, #374151);
}

.vip-card.diamond::after {
  background: linear-gradient(90deg, #1E3A5F, #60A5FA, #1E3A5F);
}

.vip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: var(--border-hover);
}

.vip-icon {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.vip-name {
  font-family: var(--font-h);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.vip-pts {
  font-size: .75rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.vip-pct {
  font-size: 1.55rem;
  font-weight: 700;
  font-family: var(--font-h);
}

.vip-pct-lbl {
  font-size: .68rem;
  color: var(--gray);
  text-transform: uppercase;
}

/* ─── Review Cards ──────────────────────────────────────── */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: var(--tr);
}

.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bg);
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: .72rem;
  color: var(--gray);
}

.review-text {
  color: var(--gray-light);
  font-size: .88rem;
  line-height: 1.65;
}

/* ─── Stars / Rating ────────────────────────────────────── */
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: .92rem;
}

.star-f {
  color: var(--gold);
}

.star-e {
  color: rgba(232, 169, 23, .25);
}

/* ─── Tables ────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin: 28px 0;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .88rem;
}

thead {
  background: linear-gradient(135deg, rgba(232, 169, 23, .1), rgba(184, 132, 26, .04));
}

th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--gold);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  white-space: nowrap;
}

td {
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, .04);
  color: var(--gray-light);
  white-space: nowrap;
}

tr:hover td {
  background: rgba(232, 169, 23, .03);
}

.td-name {
  font-weight: 600;
  color: var(--white);
}

.td-gold {
  color: var(--gold);
  font-weight: 600;
}

.td-green {
  color: var(--green);
}

.td-red {
  color: var(--red);
}

.td-center {
  text-align: center;
}

/* ─── Charts ────────────────────────────────────────────── */
.chart-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  margin: 28px 0;
}

.chart-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--white);
}

.chart-subtitle {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 22px;
  display: block;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-label {
  font-size: .83rem;
  color: var(--gray-light);
  min-width: 145px;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 26px;
  background: rgba(255, 255, 255, .05);
  border-radius: 13px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 13px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  padding-right: 10px;
  justify-content: flex-end;
  transition: width 1.5s cubic-bezier(.4, 0, .2, 1);
}

.bar-fill.blue {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
}

.bar-fill.purple {
  background: linear-gradient(90deg, #6D28D9, #A78BFA);
}

.bar-fill.green {
  background: linear-gradient(90deg, #065F46, #22C55E);
}

.bar-fill.red {
  background: linear-gradient(90deg, #991B1B, #F87171);
}

.bar-fill.cyan {
  background: linear-gradient(90deg, #164E63, #22D3EE);
}

.bar-fill.pink {
  background: linear-gradient(90deg, #831843, #F472B6);
}

.bar-value {
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
}

.bar-num {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 46px;
  text-align: right;
  flex-shrink: 0;
}

/* Donut Chart (CSS conic-gradient) */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.donut {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.donut::before {
  content: '';
  position: absolute;
  inset: 26px;
  background: var(--card);
  border-radius: 50%;
  z-index: 1;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  gap: 2px;
}

.donut-center .num {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-h);
}

.donut-center .lbl {
  font-size: .68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.donut-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-name {
  color: var(--gray-light);
  flex: 1;
}

.legend-pct {
  color: var(--white);
  font-weight: 600;
}

/* Horizontal/progress bar rating */
.rating-row {
  margin-bottom: 16px;
}

.rating-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}

.rating-name {
  font-size: .88rem;
  color: var(--gray-light);
}

.rating-val {
  font-size: .88rem;
  color: var(--gold);
  font-weight: 600;
}

.rating-track {
  height: 8px;
  background: rgba(255, 255, 255, .07);
  border-radius: 4px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  width: 0;
  transition: width 1.5s ease;
}

/* ─── Author Section ────────────────────────────────────── */
.author-section {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  margin: 56px 0 0;
}

.author-inner {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.author-photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.15rem;
  margin-bottom: 3px;
}

.author-role {
  color: var(--gold);
  font-size: .82rem;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.author-bio {
  font-size: .88rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.author-social {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  flex-wrap: wrap;
}

.author-social a {
  padding: 5px 13px;
  background: rgba(232, 169, 23, .1);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--gold);
  font-size: .77rem;
}

.author-social a:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ─── FAQ / Accordion ───────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.faq-item.open {
  border-color: rgba(232, 169, 23, .4);
}

.faq-q {
  padding: 17px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: .92rem;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  transition: var(--tr);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-item.open .faq-a {
  max-height: 280px;
}

.faq-a-inner {
  padding: 0 22px 17px;
  color: var(--gray-light);
  font-size: .88rem;
  line-height: 1.7;
}

/* ─── Trust Badges Row ──────────────────────────────────── */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray);
  font-size: .82rem;
}

.trust-icon {
  font-size: 1.35rem;
  color: var(--gold);
}

/* ─── Promo Banner ──────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, rgba(232, 169, 23, .1), rgba(184, 132, 26, .04));
  border: 1px solid rgba(232, 169, 23, .5);
  border-radius: var(--r-xl);
  padding: 38px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.promo-content h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.promo-content p {
  margin: 0;
  color: var(--gray-light);
}

/* ─── Pros / Cons ───────────────────────────────────────── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
}

.pros,
.cons {
  background: var(--card);
  border-radius: var(--r);
  padding: 22px;
}

.pros {
  border-top: 3px solid var(--green);
}

.cons {
  border-top: 3px solid var(--red);
}

.pros h4 {
  color: var(--green);
  margin-bottom: 13px;
  font-size: .95rem;
}

.cons h4 {
  color: var(--red);
  margin-bottom: 13px;
  font-size: .95rem;
}

.pros li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

.cons li::before {
  content: '✗ ';
  color: var(--red);
  font-weight: 700;
}

.pros li,
.cons li {
  font-size: .83rem;
  color: var(--gray-light);
  margin-bottom: 7px;
}

/* ─── Tabs ──────────────────────────────────────────────── */
.tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.tab-btn {
  padding: 7px 17px;
  border-radius: 18px;
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gray-light);
  transition: var(--tr);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ─── Form Pages ────────────────────────────────────────── */
.form-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 56px 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(232, 169, 23, .06), transparent 70%);
}

.form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 46px 42px;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.form-box .logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.form-box .logo-wrap img {
  height: 48px;
  margin: 0 auto 10px;
}

.form-h {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 4px;
}

.form-sub {
  text-align: center;
  color: var(--gray);
  font-size: .88rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  color: var(--gray-light);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .88rem;
  outline: none;
  transition: var(--tr);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 169, 23, .12);
}

.form-control::placeholder {
  color: var(--gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.form-check input[type=checkbox] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.form-check label {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.5;
}

.form-divider {
  text-align: center;
  color: var(--gray);
  font-size: .82rem;
  margin: 18px 0;
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border2);
}

.form-divider span {
  position: relative;
  background: var(--card);
  padding: 0 12px;
}

.form-foot {
  text-align: center;
  margin-top: 20px;
  font-size: .82rem;
  color: var(--gray);
}

.form-foot a {
  color: var(--gold);
}

/* Aliases for login/register pages */
.form-logo {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

.form-logo img {
  height: 44px;
  margin: 0 auto;
}

.form-title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 4px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--gray-light);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-label-link {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .88rem;
  outline: none;
  transition: var(--tr);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 169, 23, .12);
}

.form-input::placeholder {
  color: var(--gray);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: .82rem;
  color: var(--gray);
}

.form-footer a {
  color: var(--gold);
}

/* ─── App / Mobile section ──────────────────────────────── */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: -20px;
  height: 400px;
}

.phone-mock {
  width: 210px;
  height: 420px;
  background: var(--card2);
  border-radius: 36px;
  border: 7px solid #2A2A45;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  position: absolute;
}

.phone-mock.front {
  z-index: 2;
}

.phone-mock.back {
  z-index: 1;
  left: calc(50% - 160px);
  top: 30px;
  transform: rotate(-8deg);
  opacity: .7;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0C0C1E 0%, #1A082E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
}

/* ─── Content / SEO text block ──────────────────────────── */
.content-block {
  padding: 60px 0;
}

.content-block h2 {
  margin-bottom: 18px;
}

.content-block h3 {
  margin: 26px 0 12px;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.content-block p {
  margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--gray-light);
}

.content-block li {
  margin-bottom: 7px;
}

.content-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-block a:hover {
  color: var(--gold-light);
}

/* ─── Legal pages ───────────────────────────────────────── */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-wrap h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.legal-wrap h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
  color: var(--gold-light);
}

.legal-wrap p {
  margin-bottom: 14px;
  color: var(--gray-light);
  line-height: 1.75;
}

.legal-wrap ul,
.legal-wrap ol {
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--gray-light);
}

.legal-wrap li {
  margin-bottom: 8px;
}

.legal-wrap a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-wrap a:hover {
  color: var(--gold-light);
}

.legal-date {
  color: var(--gray);
  font-size: .85rem;
  margin-bottom: 32px;
}

/* 2-col layout for content pages */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.content-sidebar .card {
  position: sticky;
  top: 80px;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: #07071A;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border2);
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 38px;
}

.footer-desc {
  color: var(--gray);
  font-size: .83rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer-license {
  font-size: .7rem;
  color: rgba(255, 255, 255, .28);
  line-height: 1.6;
}

.footer-col h5 {
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--gray);
  font-size: .83rem;
  transition: var(--tr);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: .76rem;
  color: rgba(255, 255, 255, .28);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  font-size: .68rem;
  color: rgba(255, 255, 255, .42);
}

.footer-newsletter {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.footer-newsletter input {
  flex: 1;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: .82rem;
  outline: none;
}

.footer-newsletter input:focus {
  border-color: var(--gold);
}

.footer-newsletter button {
  padding: 9px 14px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--r-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: .82rem;
}

.footer-newsletter button:hover {
  background: var(--gold-light);
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

.animate-up {
  animation: fadeInUp .65s ease both;
}

.delay-1 {
  animation-delay: .12s;
}

.delay-2 {
  animation-delay: .24s;
}

.delay-3 {
  animation-delay: .36s;
}

/* ─── Misc ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border2);
  margin: 48px 0;
}

.info-box {
  background: rgba(232, 169, 23, .06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 22px;
}

.info-box p {
  margin: 0;
  font-size: .88rem;
  color: var(--gray-light);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(232, 169, 23, .08), transparent);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 20px 0;
}

.highlight-box p {
  margin: 0;
  font-size: .9rem;
}

.number-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.number-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--bg);
  flex-shrink: 0;
  margin-top: 3px;
}

.number-content h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.number-content p {
  margin: 0;
  font-size: .86rem;
}

/* ─── Screenshots strip ─────────────────────────────────── */
.screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.screenshot {
  flex: 0 0 200px;
  height: 360px;
  background: var(--card2);
  border-radius: 22px;
  border: 5px solid #2A2A45;
  overflow: hidden;
}

.screenshot-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0C0C1E, #1A082E);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  text-align: center;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar .card {
    position: static;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .nav {
    padding: 11px 0;
  }

  .nav-login {
    display: none;
  }

  .hero {
    min-height: 420px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 1.35rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    padding: 28px 18px;
  }

  .stat-num {
    font-size: 1.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
  }

  .author-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  .form-box {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .donut-wrap {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .bar-label {
    min-width: 100px;
    font-size: .78rem;
  }

  .page-hero {
    padding: 38px 0 28px;
  }

  .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .phone-wrap {
    height: 340px;
  }

  .phone-mock {
    width: 175px;
    height: 350px;
  }

  .phone-mock.back {
    left: calc(50% - 130px);
    top: 24px;
  }
}

@media (max-width: 480px) {

  html,
  body {
    overflow-x: hidden;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat-num {
    font-size: 1.15rem;
  }

  .btn-lg {
    padding: 13px 22px;
    font-size: .96rem;
  }

  .stats-row {
    padding: 20px 10px;
  }

  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-badges {
    justify-content: center;
  }

  .trust-row {
    gap: 14px;
  }

  .donut {
    width: 145px;
    height: 145px;
  }

  .donut-center .num {
    font-size: 1.35rem;
  }

  .bonus-amount {
    font-size: 1.7rem;
  }

  .promo-banner {
    padding: 26px 20px;
  }

  .chart-container {
    padding: 20px 14px;
  }

  .bar-label {
    min-width: 80px;
    font-size: .75rem;
  }
}

/* ─── Accessibility: Skip Link ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  font-size: .9rem;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
  color: var(--bg);
}

/* ─── Accessibility: Screen-Reader Only ─────────────────── */
.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;
}

/* ─── Accessibility: Focus Styles ───────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) {
  outline: none;
}

/* ─── Accessibility: Touch Targets (min 44px) ───────────── */
.btn {
  min-height: 44px;
}

.hamburger {
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.faq-q {
  min-height: 44px;
}

/* ─── Performance: 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;
  }

  .animate-up {
    animation: none;
  }

  .bar-fill,
  .rating-fill {
    transition: none;
  }
}

/* ─── Cookie Consent Banner ─────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: #1a1a32;
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform .4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .6);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-size: .82rem;
  color: var(--gray-light);
  flex: 1;
  min-width: 240px;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  min-height: 44px;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border2);
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  min-height: 44px;
}

.cookie-btn-decline:hover {
  color: var(--white);
  border-color: var(--gray);
}

/* ─── 404 Page ──────────────────────────────────────────── */
.not-found-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.not-found-num {
  font-family: var(--font-h);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  opacity: .85;
  text-shadow: 0 0 60px var(--gold-glow);
}

/* ─── Structured Data helpers ───────────────────────────── */
.review-structured {
  /* Wrapper for Review schema items */
}

time {
  color: inherit;
}

/* ─── Mobile App specific (PWA look) ────────────────────── */
@media (display-mode: standalone) {
  .header {
    padding-top: env(safe-area-inset-top, 0);
  }
}

/* ─── Print Styles ──────────────────────────────────────── */
@media print {

  .header,
  .footer,
  .mobile-menu,
  .btn-tracker,
  #cookie-banner,
  .hamburger,
  .mobile-tracker-wrap,
  .hero-cta,
  .promo-banner {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .card {
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: none;
  }

  h1,
  h2,
  h3,
  h4 {
    color: #000;
  }

  .gold {
    color: #b8841a !important;
  }

  .section,
  .section-sm {
    padding: 20pt 0;
  }

  table {
    border-collapse: collapse;
  }

  th,
  td {
    border: 1px solid #ccc;
    padding: 4pt 8pt;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }

  a[href^="#"]::after,
  .btn::after {
    content: "";
  }
}

/* --- Injected Robust Mobile Fixes --- */
@media (max-width: 768px) {
  .page-hero {
    padding: 44px 0 30px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6,
  .vip-grid,
  .payment-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .bar-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .bar-label {
    min-width: 100% !important;
    margin-bottom: 4px;
  }

  .bar-track {
    width: 100% !important;
  }

  .bar-num {
    align-self: flex-end;
  }

  .table-wrap {
    overflow-x: auto;
    width: 100%;
    border-radius: 0;
  }

  table {
    min-width: 600px;
  }

  /* force horizontal scrolling rather than breaking */
  .donut-wrap {
    flex-direction: column !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  .hero-stat-num {
    font-size: 1.1rem !important;
  }

  .hero-stats {
    gap: 10px !important;
    justify-content: space-around;
    width: 100%;
  }

  .bonus-amount {
    font-size: 1.5rem !important;
  }

  .promo-banner {
    padding: 20px 14px !important;
  }

  .donut {
    width: 130px !important;
    height: 130px !important;
  }

  .donut-center .num {
    font-size: 1.2rem !important;
  }

  .game-thumb {
    aspect-ratio: auto;
    min-height: 160px;
  }
}


/* --- Injected Nav Fixes --- */
@media (max-width: 768px) {
  .nav-actions .btn-secondary {
    display: none !important;
  }
}


/* --- GUARANTEED HERO IMAGE FIXES --- */
.hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('../img/hero-bg.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
  opacity: 1 !important;
  display: block !important;
}

.hero-bg::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(140deg, rgba(12, 12, 30, 0.5) 0%, rgba(26, 10, 48, 0.6) 55%, rgba(12, 12, 30, 0.5) 100%) !important;
  z-index: 1 !important;
}

.page-hero {
  background: linear-gradient(180deg, rgba(12, 12, 30, 0.4) 0%, rgba(26, 10, 48, 0.65) 100%), url('../img/hero-bg.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
}

/* Ensure mobile header shows logo, golden button and hamburger */
@media (max-width: 768px) {

  .nav-actions .btn-secondary,
  .nav-actions .nav-login,
  .nav-menu {
    display: none !important;
  }

  .nav-actions .btn-tracker {
    display: inline-flex !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  .hamburger {
    display: inline-flex !important;
    margin-left: 12px;
  }
}

/* Guarantee responsive grids and cards to prevent horizontal overflow */
.bonus-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {

  .bonus-hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* --- FULL MOBILE MENU STYLES --- */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2001;
  position: relative;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: var(--gold);
  transition: all 0.3s ease-in-out;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 320px;
  background: rgba(12, 12, 30, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.5);
  border-left: 1px solid rgba(232, 169, 23, 0.2);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--gold);
  padding-left: 10px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  z-index: 2002;
}
.mobile-tracker-wrap {
  margin-top: 20px;
}
