/* === HOLY LUCK CASINO — Main Stylesheet === */
/* Updated: February 2026 */

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #222d45;
  --accent-gold: #f5c518;
  --accent-gold-dark: #d4a810;
  --accent-green: #00d4aa;
  --accent-green-dark: #00b894;
  --accent-cyan: #0ff0fc;
  --text-primary: #f0f0f0;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border-color: #2d3748;
  --gradient-main: linear-gradient(135deg, #0a0e1a 0%, #1a2236 50%, #0d1520 100%);
  --gradient-gold: linear-gradient(135deg, #f5c518, #d4a810);
  --gradient-green: linear-gradient(135deg, #00d4aa, #00b894);
  --gradient-hero: linear-gradient(180deg, rgba(10,14,26,0) 0%, rgba(10,14,26,0.85) 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(0,212,170,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  /* Safe area for devices with notch */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(20px, var(--safe-left)) 0 max(20px, var(--safe-right));
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.1);
  transition: var(--transition);
  padding-top: var(--safe-top);
}

.site-header.scrolled {
  background: rgba(10, 14, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-gold);
  background: rgba(245, 197, 24, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 197, 24, 0.35);
  color: #000;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.png') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 .brand {
  color: var(--accent-gold);
  display: block;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.badge i {
  color: var(--accent-green);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-gold);
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 197, 24, 0.4);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 197, 24, 0.05);
}

.hero-mascot {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 340px;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header h2 .highlight {
  color: var(--accent-gold);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 900px;
}

.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245, 197, 24, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 197, 24, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === INFO TABLE === */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.info-table caption {
  text-align: left;
  padding: 16px 20px;
  background: var(--bg-card);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
}

.info-table thead th {
  background: rgba(245,197,24,.12);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-bottom: 2px solid rgba(245,197,24,.2);
  white-space: nowrap;
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.95rem;
}

.info-table th {
  background: rgba(245, 197, 24, 0.08);
  color: var(--accent-gold);
  font-weight: 600;
  white-space: nowrap;
  width: 220px;
  border-right: 1px solid var(--border-color);
}

.info-table td {
  background: var(--bg-card);
  color: var(--text-secondary);
}

.info-table tr:not(:last-child) th,
.info-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-color);
}

.info-table .tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent-green);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 2px 4px 2px 0;
}

/* === LIST STYLES === */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 25px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.feature-list li:hover {
  background: rgba(245, 197, 24, 0.05);
  border-color: rgba(245, 197, 24, 0.15);
}

.feature-list li i {
  color: var(--accent-green);
  margin-top: 3px;
  flex-shrink: 0;
}

/* === BANNER CTA === */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,197,24,0.08) 100%);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  flex: 1;
  z-index: 1;
}

.cta-banner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.cta-banner-img {
  width: 200px;
  flex-shrink: 0;
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

/* === PROMO BANNER (full-width) === */
.promo-banner {
  background: url('../images/banner.png') center/cover no-repeat;
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 40px 0;
  overflow: hidden;
}

.promo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0.4) 60%, transparent 100%);
  border-radius: var(--radius-lg);
}

.promo-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.promo-banner h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.promo-banner p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 500px;
}

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #000;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === ACCORDION FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(245, 197, 24, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-question i {
  transition: var(--transition);
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  padding-bottom: max(30px, var(--safe-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(245,197,24,0.15);
  color: var(--accent-gold);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-flags {
  display: flex;
  gap: 8px;
  font-size: 1.3rem;
}

.disclaimer {
  background: rgba(245,197,24,0.04);
  border: 1px solid rgba(245,197,24,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 30px;
}

.disclaimer p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* === AGE GATE BADGE === */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e53e3e;
  color: #e53e3e;
  font-weight: 800;
  font-size: 0.85rem;
}

/* === RATING STARS === */
.stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 20px;
  padding-bottom: max(20px, var(--safe-bottom));
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex: 1;
  min-width: 300px;
}

.cookie-btn {
  padding: 10px 24px;
  background: var(--gradient-gold);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn:hover {
  box-shadow: 0 5px 20px rgba(245,197,24,0.3);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: max(30px, calc(var(--safe-bottom) + 10px));
  right: max(30px, calc(var(--safe-right) + 10px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #000;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245,197,24,0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245,197,24,0.5);
}

.back-to-top.visible {
  display: flex;
}

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* === GAME SHOWCASE CARDS === */
.games-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,197,24,.12);
}

.game-card .game-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.game-card .game-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.game-card .game-provider {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.game-card .game-rtp {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(0,212,170,.1);
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
}

.game-card .game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  border-radius: 12px;
}

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

.game-card .game-overlay .btn-primary {
  font-size: 0.78rem;
  padding: 8px 20px;
}

/* === PAYMENT ICONS GRID === */
.payments-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.payment-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.payment-icon-item:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.payment-icon-item .p-emoji {
  font-size: 1.3rem;
}

/* === FLOATING CTA === */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta .btn-primary {
  box-shadow: 0 6px 25px rgba(245,197,24,.45);
  font-size: 0.85rem;
  padding: 14px 24px;
  border-radius: 50px;
  animation: floatPulse 2.5s infinite;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(245,197,24,.45); }
  50% { box-shadow: 0 8px 35px rgba(245,197,24,.7); }
}

/* === MOBILE APP SECTION === */
.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-stores {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.store-btn:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.store-btn .s-icon {
  font-size: 1.6rem;
}

.store-btn .s-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.store-btn .s-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.app-features-list li i {
  color: var(--accent-green);
  margin-top: 3px;
}

/* === NAV ACTIVE STATE === */
.main-nav a.nav-active {
  color: var(--accent-gold);
}

/* === RESPONSIVE === */

/* --- Tablet landscape & small desktop --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
  /* New components */
  .games-showcase { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .mobile-app-grid { grid-template-columns: 1fr; }
  .floating-cta { bottom: 16px; right: 16px; }
  .floating-cta .btn-primary { font-size: 0.78rem; padding: 12px 18px; }
  .payments-icons { gap: 8px; }
  .payment-icon-item { padding: 8px 12px; font-size: 0.78rem; }
  
  /* Header */
  .site-header {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    padding: 10px 16px;
  }

  .logo img {
    height: 38px;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 10px;
    /* Touch-friendly size */
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .mobile-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero .subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .hero-badges {
    gap: 8px;
    margin-bottom: 24px;
  }

  .badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    /* Touch-friendly */
    min-height: 52px;
  }

  .hero-content {
    padding: 30px 0;
  }

  /* Sections */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .container {
    padding: 0 16px;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 24px 20px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  /* Tables — stack layout on mobile */
  .info-table {
    display: block;
    border: none;
  }

  .info-table caption {
    display: block;
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
  }

  .info-table tbody {
    display: block;
  }

  .info-table tr {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-top: none;
    background: var(--bg-card);
  }

  .info-table tr:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100% !important;
    padding: 10px 16px;
    white-space: normal;
    border-right: none;
    border-bottom: none;
  }

  .info-table th {
    padding-bottom: 4px;
    font-size: 0.85rem;
  }

  .info-table td {
    padding-top: 4px;
    padding-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .info-table .tag {
    margin: 2px 4px 2px 0;
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  /* Feature lists */
  .feature-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-list li {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .step {
    padding: 20px 14px;
  }

  .step::before {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .step h3 {
    font-size: 0.95rem;
  }

  .step p {
    font-size: 0.85rem;
  }

  /* CTA Banners */
  .cta-banner {
    flex-direction: column;
    padding: 28px 20px;
    text-align: center;
    gap: 24px;
  }

  .cta-banner h3 {
    font-size: 1.2rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  /* Promo banners */
  .promo-banner {
    min-height: auto;
    border-radius: var(--radius);
  }

  .promo-banner::after {
    background: linear-gradient(180deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.75) 100%);
  }

  .promo-banner-content {
    padding: 28px 20px;
  }

  .promo-banner h3 {
    font-size: 1.3rem;
  }

  .promo-banner p {
    font-size: 0.9rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
    min-height: 52px;
  }

  .faq-question i {
    margin-left: 12px;
    font-size: 0.85rem;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 12px;
    height: 42px;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-col a {
    /* Touch target */
    display: inline-block;
    padding: 4px 0;
    min-height: 36px;
    line-height: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .disclaimer {
    padding: 16px 18px;
    margin-top: 24px;
  }

  .disclaimer p {
    font-size: 0.75rem;
  }

  /* Cookie banner */
  .cookie-banner {
    padding: 16px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .cookie-banner p {
    min-width: auto;
    font-size: 0.8rem;
  }

  .cookie-btn {
    width: 100%;
    padding: 12px 20px;
    min-height: 44px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  /* Age badge */
  .age-badge {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  /* Stars */
  .stars {
    font-size: 1rem;
  }

  /* Margin helpers */
  .mt-40 { margin-top: 28px; }
  .mb-40 { margin-bottom: 28px; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .games-showcase { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .game-card { padding: 14px 10px; }
  .game-card .game-emoji { font-size: 1.8rem; }
  .game-card .game-name { font-size: 0.78rem; }
  .floating-cta .btn-primary { font-size: 0.72rem; padding: 10px 16px; }
  .payment-icon-item { padding: 6px 10px; font-size: 0.72rem; }
  .app-stores { flex-direction: column; }
  
  html {
    font-size: 15px;
  }

  .header-inner {
    padding: 8px 12px;
  }

  .logo img {
    height: 32px;
  }

  .header-cta {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta i {
    font-size: 1rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero .subtitle {
    font-size: 0.9rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: 6px;
  }

  .badge {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 36px 0;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  /* Steps: single column */
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
  }

  .step::before {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    margin: 0;
    flex-shrink: 0;
  }

  .step h3 {
    margin-bottom: 4px;
  }

  .step p {
    font-size: 0.8rem;
  }

  /* Promo banners compact */
  .promo-banner-content {
    padding: 24px 16px;
  }

  .promo-banner h3 {
    font-size: 1.1rem;
  }

  .cta-banner {
    padding: 24px 16px;
    margin: 24px 0;
  }

  .cta-banner h3 {
    font-size: 1.1rem;
  }

  .promo-banner {
    margin: 24px 0;
  }

  /* FAQ compact */
  .faq-question {
    padding: 14px 14px;
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 14px 14px;
    font-size: 0.85rem;
  }

  /* Cards */
  .card {
    padding: 20px 16px;
  }
}

/* === UTILITY CLASSES === */
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === REDUCED MOTION — Accessibility === */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* === LANDSCAPE PHONE FIX === */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 20px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero .subtitle {
    display: none;
  }

  .hero-badges {
    display: none;
  }

  .section {
    padding: 30px 0;
  }

  .wheel-section {
    padding: 30px 0 20px;
  }
}

/* === PRINT STYLES === */
@media print {
  .site-header,
  .back-to-top,
  .cookie-banner,
  .hero-cta,
  .header-cta,
  .wheel-section,
  .cta-banner,
  .promo-banner {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    break-inside: avoid;
  }
}

/* === HOVER ONLY FOR MOUSE DEVICES === */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .card:hover::before {
    opacity: 0;
  }

  .feature-list li:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  /* Active states for touch */
  .btn-primary:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .btn-secondary:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .card:active {
    transform: scale(0.98);
  }

  .faq-question:active {
    background: rgba(245, 197, 24, 0.05);
  }

  .header-cta:active {
    transform: scale(0.95);
  }
}
