/* ============================================================
   KINGMAKER CASINO ITALIA — Main Stylesheet
   Design System: Deep Purple + Gold + Orange
   ============================================================ */

:root {
  --bg-primary:    #0f0420;
  --bg-secondary:  #1a0a3b;
  --bg-card:       #2a1459;
  --bg-card-hover: #341a6e;
  --accent-gold:   #ffd700;
  --accent-orange: #f5a623;
  --accent-purple: #7c3aed;
  --accent-violet: #9b30ff;
  --text-white:    #ffffff;
  --text-muted:    #a78bca;
  --border-card:   rgba(124,58,237,0.35);
  --gradient-hero: linear-gradient(135deg, #0f0420 0%, #2a0a5e 50%, #1a0a3b 100%);
  --gradient-gold: linear-gradient(135deg, #f5a623 0%, #ffd700 50%, #f5a623 100%);
  --gradient-btn:  linear-gradient(135deg, #f5a623 0%, #e8920f 100%);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.45);
  --shadow-glow:   0 0 24px rgba(155,48,255,0.4);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     40px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius: 3px; }

/* ---- TOUCH IMPROVEMENTS ---- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch screens */
  .game-card:hover { transform: none; box-shadow: none; }
  .game-card:hover img { transform: none; }
  .game-card:hover .game-card-overlay { opacity: 0; }
  .live-card:hover { transform: none; box-shadow: none; }
  .cat-card:hover  { transform: none; box-shadow: none; }
  .bonus-card:hover { transform: none; box-shadow: none; }
  .promo-card:hover { border-color: var(--border-card); box-shadow: none; }
  .review-card:hover { border-color: var(--border-card); }
  /* Active state — tap feedback */
  .btn:active        { transform: scale(0.97); opacity: 0.9; }
  .odd-btn:active    { background: var(--accent-purple); }
  .cat-card:active   { background: var(--bg-card-hover); border-color: var(--accent-gold); }
  .game-card:active  { transform: scale(0.98); }
  .live-card:active  { transform: scale(0.98); }
  /* Minimum touch target size */
  .btn, .odd-btn, .cat-card, .modal-tab,
  .faq-question, .odd-btn, .payment-item { min-height: 44px; }
  .odd-btn { min-height: 48px; }
  /* Remove hover underline */
  a:hover { color: var(--accent-gold); }
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: #c4aae8; }
a  { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-orange); }
strong { color: var(--text-white); font-weight: 700; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; color: #c4aae8; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }

/* ---- SECTION HEADER ---- */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.section-header h2 { display: flex; align-items: center; gap: 10px; }
.section-header h2 .icon { font-size: 1.4rem; }
.show-all { color: var(--accent-gold); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.show-all:hover { color: var(--accent-orange); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: var(--radius-xl); padding: 14px 36px;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 0 #b86d08, 0 6px 20px rgba(245,166,35,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b86d08, 0 10px 30px rgba(245,166,35,0.5); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent; color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}
.btn-secondary:hover { background: rgba(255,215,0,0.1); color: var(--accent-gold); }
.btn-outline {
  background: transparent; color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--accent-purple); color: var(--accent-gold); }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ---- BADGE ---- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-gold { background: var(--gradient-gold); color: #000; }
.badge-purple { background: var(--accent-purple); color: #fff; }
.badge-new { background: #059669; color: #fff; }
.badge-hot { background: #dc2626; color: #fff; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(15,4,32,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; }
.logo-text { font-size: 1.4rem; font-weight: 900; color: var(--text-white); }
.logo-text span { color: var(--accent-gold); }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-menu li a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition);
}
.nav-menu li a:hover, .nav-menu li a.active { background: var(--bg-card); color: var(--text-white); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile menu toggle */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text-white); border-radius: 2px; transition: all var(--transition); }

/* ============================================================
   HERO SECTION — two-column layout, no overlay
   ============================================================ */
.hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-card);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
}
.hero-text {
  padding: 60px 40px 60px 0;
  z-index: 2;
}
.hero-text h1 {
  color: var(--text-white);
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.hero-text h1 .highlight { color: var(--accent-gold); }
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-image {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}
.hero-image img {
  position: absolute;
  right: -20px; top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  display: block;
}
/* Left fade — smooth image-to-text transition */
.hero-image::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, var(--bg-primary), transparent);
  z-index: 1;
}
/* Right fade */
.hero-image::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to left, var(--bg-primary), transparent);
  z-index: 1;
}

/* Bonus strip below hero */
.bonus-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 20px 0;
}
.bonus-strip-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.bonus-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0; cursor: pointer; transition: all var(--transition);
}
.bonus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.bonus-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.bonus-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 20px 14px 12px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-gold); text-align: center;
}

/* ============================================================
   SPORT CATEGORIES
   ============================================================ */
.category-scroll { overflow-x: auto; padding-bottom: 8px; }
.category-scroll::-webkit-scrollbar { height: 3px; }
.category-row { display: flex; gap: 10px; min-width: max-content; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: 130px; min-height: 120px; padding: 14px 10px 12px;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition);
  position: relative; overflow: visible;
}
.cat-card:hover { background: var(--bg-card-hover); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.cat-card .cat-icon { font-size: 2.6rem; margin-bottom: 8px; line-height: 1; }
.cat-card .cat-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-white); text-align: center; }

/* ============================================================
   SPORT IMAGE BANNER (sport section)
   ============================================================ */
.sport-banner { width: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.sport-banner img { width: 100%; display: block; height: auto; }

/* ============================================================
   MATCHES / ODDS
   ============================================================ */
.matches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.match-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 16px; transition: all var(--transition);
}
.match-card:hover { border-color: var(--accent-purple); box-shadow: var(--shadow-card); }
.match-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.match-teams { font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.match-teams span { display: block; color: var(--text-white); }
.match-teams .vs { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; margin: 3px 0; }
.odds-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.odd-btn {
  background: rgba(124,58,237,0.25); border: 1px solid var(--border-card);
  border-radius: var(--radius-sm); padding: 8px 4px; text-align: center;
  cursor: pointer; transition: all var(--transition);
}
.odd-btn:hover { background: var(--accent-purple); border-color: var(--accent-violet); }
.odd-label { display: block; font-size: 0.65rem; color: var(--text-muted); }
.odd-value { display: block; font-size: 0.95rem; font-weight: 700; color: var(--accent-gold); }
.badge-boosted { background: linear-gradient(135deg,#7c3aed,#9b30ff); color: #fff; font-size: 0.65rem; padding: 2px 7px; border-radius: 10px; display: inline-block; margin-bottom: 6px; }

/* ============================================================
   CASINO GAMES GRID
   ============================================================ */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.game-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 3/4; background: var(--bg-card);
  cursor: pointer; transition: all var(--transition);
  border: 1px solid var(--border-card);
}
.game-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,0.6), var(--shadow-glow); }
.game-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.game-card:hover img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(0,0,0,0.65); opacity: 0; transition: opacity var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 24px 10px 10px;
  font-size: 0.78rem; font-weight: 700; color: var(--text-white);
}
.jackpot-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--gradient-gold); color: #000;
  font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 6px;
}

/* ============================================================
   LIVE CASINO CARDS
   ============================================================ */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.live-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 2/3; background: var(--bg-card);
  cursor: pointer; border: 1px solid var(--border-card); transition: all var(--transition);
}
.live-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.6), var(--shadow-glow); }
.live-card img { width: 100%; height: 100%; object-fit: cover; }
.live-card-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.92));
  padding: 30px 12px 12px;
}
.live-card-title { font-size: 0.82rem; font-weight: 700; color: var(--text-white); text-align: center; }
.live-badge {
  position: absolute; top: 8px; left: 8px;
  background: #dc2626; color: #fff;
  font-size: 0.6rem; font-weight: 800; padding: 2px 7px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 4px;
}
.live-badge::before { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ============================================================
   PROMO / BONUS SECTION
   ============================================================ */
.promo-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 40px;
}
.promo-banner img { width: 100%; height: auto; display: block; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.promo-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 24px; transition: all var(--transition);
}
.promo-card:hover { border-color: var(--accent-gold); box-shadow: 0 0 24px rgba(255,215,0,0.15); }
.promo-card-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.promo-card h3 { color: var(--accent-gold); margin-bottom: 10px; font-size: 1.1rem; }
.promo-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.promo-amount { font-size: 2rem; font-weight: 900; color: var(--accent-gold); display: block; margin-bottom: 16px; }

/* ============================================================
   PAYMENT METHODS
   ============================================================ */
.payment-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.payment-item {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-sm); padding: 12px 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; transition: all var(--transition);
}
.payment-item:hover { border-color: var(--accent-purple); background: var(--bg-card-hover); }
.payment-item .payment-icon { font-size: 1.4rem; }

/* ============================================================
   SEO TEXT SECTIONS
   ============================================================ */
.seo-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.seo-columns.full { grid-template-columns: 1fr; }

.content-block p { color: #c4aae8; }
.content-block ul li { color: #c4aae8; }
.content-block h3 { color: var(--accent-gold); margin: 24px 0 10px; font-size: 1.15rem; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); margin: 28px 0; }
table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card); font-size: 0.9rem;
}
thead { background: rgba(124,58,237,0.4); }
thead th { padding: 14px 18px; text-align: left; font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--accent-gold); }
tbody tr { border-bottom: 1px solid var(--border-card); transition: background var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-card-hover); }
tbody td { padding: 13px 18px; color: #c4aae8; }
tbody td:first-child { color: var(--text-white); font-weight: 600; }
.td-highlight { color: var(--accent-gold) !important; font-weight: 700 !important; }
.td-green { color: #34d399 !important; font-weight: 700 !important; }
.td-red { color: #f87171 !important; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; transition: background var(--transition);
  font-weight: 600; color: var(--text-white); gap: 12px;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question .faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); color: var(--accent-gold); }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 700px; }

/* ============================================================
   REVIEWS / STARS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 22px; transition: all var(--transition);
}
.review-card:hover { border-color: var(--accent-gold); }
.review-stars { color: var(--accent-gold); font-size: 1.1rem; margin-bottom: 10px; }
.review-text { color: #c4aae8; font-size: 0.9rem; font-style: italic; margin-bottom: 14px; }
.review-author { font-weight: 700; font-size: 0.85rem; color: var(--text-white); }
.review-date { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center; }
.stat-item { padding: 24px 16px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--accent-gold); display: block; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   MOBILE APP SECTION
   ============================================================ */
.app-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.app-features { display: flex; flex-direction: column; gap: 16px; }
.app-feature { display: flex; gap: 14px; align-items: flex-start; }
.app-feature-icon { font-size: 1.6rem; flex-shrink: 0; }
.app-feature h4 { color: var(--text-white); margin-bottom: 4px; }
.app-feature p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.app-store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.app-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 12px 18px;
  transition: all var(--transition);
}
.app-badge:hover { border-color: var(--accent-gold); }
.app-badge-icon { font-size: 1.8rem; }
.app-badge-text small { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }
.app-badge-text strong { display: block; font-size: 0.95rem; color: var(--text-white); }
.phone-mockup { text-align: center; }
.phone-mockup img { max-width: 320px; width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080115;
  border-top: 1px solid var(--border-card);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 300px; }
.footer-col h5 { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-white); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid var(--border-card); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 16px; }
.footer-legal { font-size: 0.78rem; color: var(--text-muted); max-width: 800px; line-height: 1.7; }
.footer-logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-logos span { font-size: 1.4rem; }
.responsible-gaming { margin-top: 18px; font-size: 0.75rem; color: #6b5e85; }

/* Footer SEO nav — keyword anchor links */
.footer-seo-nav {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 16px;
}
.footer-seo-nav a {
  font-size: 0.72rem; color: #4a3a6b; text-decoration: none;
  transition: color var(--transition);
}
.footer-seo-nav a:hover { color: var(--text-muted); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-secondary); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 40px; max-width: 460px; width: 92%;
  position: relative; transform: translateY(20px); transition: transform var(--transition);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; transition: color var(--transition);
}
.modal-close:hover { color: var(--text-white); }
.modal-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 28px; color: var(--text-white); font-style: italic; }
.modal-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.modal-tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 20px; border-radius: var(--radius-md); cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border-card); transition: all var(--transition);
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
}
.modal-tab.active { background: var(--bg-card-hover); border-color: var(--accent-purple); color: var(--text-white); }
.modal-tab .tab-icon { font-size: 1.4rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-card);
  color: var(--text-white); font-size: 0.95rem; outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--accent-purple); }
.form-input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-wrap { position: relative; }
.input-wrap .toggle-pass { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-muted); background: none; border: none; font-size: 1rem; }

/* ============================================================
   SCROLLTOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-purple); color: #fff; border: none;
  font-size: 1.1rem; cursor: pointer; opacity: 0; pointer-events: none;
  transition: all var(--transition); display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent-violet); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE — FULL MOBILE OPTIMIZATION
   ============================================================ */

/* ---------- 1024px TABLET ---------- */
@media (max-width: 1024px) {
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .seo-columns     { grid-template-columns: 1fr; gap: 24px; }
  .app-section     { grid-template-columns: 1fr; gap: 32px; }
  .phone-mockup    { display: none; }
  .stats-bar       { grid-template-columns: repeat(2, 1fr); }
  .games-grid      { grid-template-columns: repeat(3, 1fr); }
  .live-grid       { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid    { grid-template-columns: repeat(2, 1fr); }
  .matches-grid    { grid-template-columns: repeat(2, 1fr); }

  /* Hero on tablet — slightly smaller */
  .hero-inner      { min-height: 360px; }
  .hero-text       { padding: 44px 28px 44px 0; }
  .hero-text h1    { font-size: 2rem; }
  .hero-image      { min-height: 360px; }
}

/* ---------- 768px MOBILE ---------- */
@media (max-width: 768px) {

  /* Base */
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section  { padding: 44px 0; }
  .section-alt { padding: 44px 0; }
  .divider  { margin: 28px 0; }

  /* ---- HEADER ---- */
  .header-inner { height: 58px; gap: 10px; }
  .logo img     { height: 32px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 58px; left: 0; right: 0; bottom: 0;
    background: rgba(10,2,26,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 6px;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open  { display: flex; }
  .nav-menu li a  { font-size: 1.05rem; padding: 12px 16px; border-radius: var(--radius-md); }
  .burger { display: flex; }
  .header-actions .btn-outline { display: none; }
  .btn-sm { padding: 10px 18px; font-size: 0.82rem; }

  /* ---- HERO — single column on mobile ---- */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }
  .hero-text {
    padding: 36px 20px 28px;
    text-align: center;
    order: 2;
  }
  .hero-text h1    { font-size: 1.75rem; margin-bottom: 14px; }
  .hero-text p     { font-size: 0.95rem; margin-bottom: 22px; max-width: 100%; }
  .hero-image {
    order: 1;
    min-height: 220px;
    max-height: 260px;
  }
  .hero-image img  { position: static; width: 100%; height: 260px; object-fit: cover; object-position: center top; }
  .hero-image::before { width: 0; }
  .hero-image::after  { width: 0; }
  .hero-actions     { flex-direction: column; gap: 10px; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; padding: 15px 20px; font-size: 0.95rem; justify-content: center; }

  /* ---- STATS BAR ---- */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item { padding: 18px 10px; }
  .stat-number { font-size: 1.7rem; }
  .stat-label  { font-size: 0.73rem; }

  /* ---- SECTION HEADERS ---- */
  .section-header { flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .section-header h2 { font-size: 1.25rem; }
  .show-all { font-size: 0.82rem; }

  /* ---- CATEGORY CARDS ---- */
  .cat-card { width: 100px; min-height: 100px; padding: 10px 8px; }
  .cat-card .cat-icon  { font-size: 2rem; margin-bottom: 6px; }
  .cat-card .cat-label { font-size: 0.65rem; }

  /* ---- BONUS STRIP ---- */
  .bonus-strip-inner { grid-template-columns: 1fr; gap: 10px; }
  .bonus-card img    { height: 130px; }

  /* ---- MATCHES ---- */
  .matches-grid { grid-template-columns: 1fr; gap: 12px; }
  .match-card   { padding: 14px; }
  .odd-value    { font-size: 0.9rem; }

  /* ---- GAMES (SLOTS) ---- */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-card-bottom { font-size: 0.72rem; padding: 18px 8px 8px; }

  /* ---- LIVE GRID ---- */
  .live-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .live-card-title { font-size: 0.75rem; }

  /* ---- PROMO CARDS ---- */
  .promo-grid  { grid-template-columns: 1fr; gap: 14px; }
  .promo-card  { padding: 20px 16px; }
  .promo-amount { font-size: 1.6rem; }
  .promo-card-icon { font-size: 1.8rem; }

  /* ---- TABLES — horizontal scroll + smaller font ---- */
  .table-wrap { border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
  table       { font-size: 0.8rem; min-width: 520px; }
  thead th    { padding: 11px 12px; font-size: 0.7rem; }
  tbody td    { padding: 10px 12px; }

  /* ---- PAYMENT ---- */
  .payment-grid { gap: 8px; }
  .payment-item { padding: 10px 14px; font-size: 0.8rem; }
  .payment-item .payment-icon { font-size: 1.2rem; }

  /* ---- APP SECTION ---- */
  .app-features    { gap: 14px; }
  .app-feature-icon { font-size: 1.3rem; }
  .app-feature h4   { font-size: 0.95rem; }
  .app-feature p    { font-size: 0.82rem; }
  .app-store-badges { gap: 10px; flex-direction: column; align-items: flex-start; }
  .app-badge        { padding: 10px 14px; }

  /* ---- REVIEWS ---- */
  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .review-card  { padding: 18px 16px; }

  /* ---- FAQ ---- */
  .faq-question { padding: 15px 16px; font-size: 0.9rem; }
  .faq-answer-inner { padding: 0 16px 14px; font-size: 0.88rem; }
  .faq-item.open .faq-answer { max-height: 800px; }

  /* ---- SEO COLUMNS ---- */
  .seo-columns { grid-template-columns: 1fr; gap: 20px; }

  /* ---- MODALS ---- */
  .modal        { padding: 28px 20px; border-radius: var(--radius-md); width: 96%; }
  .modal-title  { font-size: 1.35rem; margin-bottom: 20px; }
  .modal-tabs   { gap: 6px; }
  .modal-tab    { padding: 10px 14px; font-size: 0.75rem; }
  .modal-tab .tab-icon { font-size: 1.1rem; }
  .form-group   { margin-bottom: 12px; }
  .form-row     { grid-template-columns: 1fr; gap: 10px; }
  .form-input   { padding: 12px 14px; font-size: 0.9rem; }

  /* ---- FOOTER ---- */
  .site-footer  { padding: 44px 0 24px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-brand p { max-width: 100%; font-size: 0.85rem; }
  .footer-col h5  { font-size: 0.78rem; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 0.85rem; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal   { font-size: 0.74rem; }

  /* ---- SCROLL TOP ---- */
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

  /* ---- BUTTONS ---- */
  .btn { padding: 13px 26px; font-size: 0.9rem; }
}

/* ---------- 480px SMALL PHONES ---------- */
@media (max-width: 480px) {

  html { font-size: 14px; }
  .container { padding: 0 14px; }
  .section   { padding: 36px 0; }

  /* Header */
  .header-inner { height: 54px; }
  .logo img { height: 28px; }
  .btn-sm   { padding: 9px 14px; font-size: 0.78rem; }

  /* Hero */
  .hero-text   { padding: 28px 16px 24px; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-text p  { font-size: 0.88rem; }
  .hero-image  { max-height: 220px; }
  .hero-image img { height: 220px; }
  .hero-actions .btn { max-width: 100%; padding: 14px 16px; font-size: 0.88rem; }

  /* Stats */
  .stats-bar   { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-item   { padding: 14px 8px; }
  .stat-number { font-size: 1.45rem; }
  .stat-label  { font-size: 0.68rem; }

  /* Section header */
  .section-header { margin-bottom: 18px; }
  .section-header h2 { font-size: 1.1rem; }

  /* Cat cards */
  .cat-card  { width: 88px; min-height: 90px; }
  .cat-card .cat-icon { font-size: 1.7rem; }

  /* Games & Live */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .live-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Matches */
  .match-card   { padding: 12px; }
  .odds-row     { gap: 4px; }
  .odd-btn      { padding: 7px 2px; }
  .odd-value    { font-size: 0.85rem; }
  .odd-label    { font-size: 0.6rem; }
  .match-meta   { font-size: 0.68rem; }
  .match-teams  { font-size: 0.9rem; }

  /* Promo */
  .promo-card   { padding: 18px 14px; }
  .promo-amount { font-size: 1.4rem; }

  /* Tables */
  table         { font-size: 0.74rem; min-width: 480px; }
  thead th      { padding: 9px 10px; font-size: 0.65rem; }
  tbody td      { padding: 9px 10px; }

  /* Reviews */
  .reviews-grid { gap: 10px; }
  .review-card  { padding: 15px 13px; }
  .review-text  { font-size: 0.83rem; }

  /* FAQ */
  .faq-question { padding: 13px 14px; font-size: 0.85rem; gap: 8px; }
  .faq-answer-inner { font-size: 0.84rem; }

  /* Promo banner – crop on mobile */
  .promo-banner img { height: 120px; object-fit: cover; object-position: center; }

  /* Modal */
  .modal { padding: 22px 16px; }
  .modal-title { font-size: 1.2rem; }

  /* Footer */
  .footer-logos span { font-size: 1.2rem; }

  /* Badge */
  .badge-boosted { font-size: 0.6rem; }
}

/* ---------- 360px VERY SMALL ---------- */
@media (max-width: 360px) {
  .hero-text h1    { font-size: 1.35rem; }
  .hero-image      { max-height: 190px; }
  .hero-image img  { height: 190px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .cat-card  { width: 78px; min-height: 84px; }
  .games-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .btn       { padding: 12px 14px; font-size: 0.82rem; }
  .header-actions { gap: 6px; }
}

/* ============================================================
   DIAGNOSTIC GRID (Sezione "Fa per te?")
   ============================================================ */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}
.diag-card {
  border-radius: var(--radius-md);
  padding: 26px 22px;
  border: 1px solid var(--border-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.diag-yes   { background: rgba(5,150,105,0.08);  border-color: rgba(52,211,153,0.3); }
.diag-maybe { background: rgba(245,158,11,0.08); border-color: rgba(251,191,36,0.3); }
.diag-no    { background: rgba(220,38,38,0.07);  border-color: rgba(248,113,113,0.3); }
.diag-icon  { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.diag-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--text-white); }
.diag-yes  h3 { color: #34d399; }
.diag-maybe h3 { color: #fbbf24; }
.diag-no   h3 { color: #f87171; }
.diag-card ul { padding-left: 1.2rem; }
.diag-card ul li { font-size: 0.88rem; color: #c4aae8; margin-bottom: 8px; line-height: 1.55; }

@media (max-width: 1024px) {
  .diagnostic-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
  .diag-card { padding: 20px 16px; }
  .diag-card ul li { font-size: 0.84rem; }
}

/* ============================================================
   OBJECTION FAQ STYLES
   ============================================================ */
.objection-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(220,38,38,0.15); border: 1px solid rgba(248,113,113,0.3);
  color: #f87171; font-size: 0.68rem; font-weight: 700;
  padding: 2px 9px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 6px;
}

/* ============================================================
   GEO INFO CARDS
   ============================================================ */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.geo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color var(--transition);
}
.geo-card:hover { border-color: var(--accent-gold); }
.geo-card-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.geo-card h4   { font-size: 1rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.geo-card p    { font-size: 0.86rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.geo-card strong { color: var(--accent-gold); }

@media (max-width: 768px) {
  .geo-grid { grid-template-columns: 1fr; gap: 12px; }
  .geo-card  { padding: 18px 16px; }
}

/* ============================================================
   REVIEW CARD — extended style with details
   ============================================================ */
.review-detail {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px;
}
.review-tag {
  background: rgba(124,58,237,0.2); border: 1px solid rgba(124,58,237,0.3);
  color: var(--text-muted); font-size: 0.7rem; padding: 3px 9px;
  border-radius: 20px; font-weight: 600;
}
.review-verified {
  display: flex; align-items: center; gap: 5px;
  color: #34d399; font-size: 0.75rem; font-weight: 600; margin-top: 8px;
}
.review-verified::before {
  content: '✔';
  background: rgba(52,211,153,0.15);
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 0.6rem;
}

.text-gold  { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.font-bold { font-weight: 700; }
.divider { height: 1px; background: var(--border-card); margin: 40px 0; }

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 950;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,2,26,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-card);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
  }

  /* Bottom padding — prevents content overlap with CTA bar */
  body { padding-bottom: 76px; }

  /* Safe area — iPhone X+ */
  .site-footer { padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }

  /* Hide scroll-top while mobile CTA bar is visible */
  .scroll-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  body { padding-bottom: 72px; }
  .mobile-cta-bar { padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   SAFE AREA (iPhone notch/Dynamic Island)
   ============================================================ */
.site-header {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

