/* Slotoro Casino - Static Site Styles */
/* Compiled from Tailwind + Custom CSS */

/* ============================================
   CSS VARIABLES (Design System)
   ============================================ */
:root {
  /* Casino Dark Theme - Slotoro */
  --background: 260 50% 5%;
  --foreground: 45 100% 95%;

  --card: 260 45% 10%;
  --card-foreground: 45 100% 95%;

  --popover: 260 45% 12%;
  --popover-foreground: 45 100% 95%;

  /* Primary - Electric Yellow CTA */
  --primary: 52 100% 50%;
  --primary-foreground: 260 50% 5%;

  /* Secondary - Deep Purple */
  --secondary: 270 60% 25%;
  --secondary-foreground: 45 100% 95%;

  /* Muted - Subtle Purple */
  --muted: 260 40% 15%;
  --muted-foreground: 260 20% 60%;

  /* Accent - Magenta Glow */
  --accent: 290 70% 50%;
  --accent-foreground: 45 100% 95%;

  /* Destructive */
  --destructive: 0 84% 60%;
  --destructive-foreground: 45 100% 95%;

  /* Success - Neon Green */
  --success: 145 70% 45%;
  --success-foreground: 260 50% 5%;

  --border: 260 40% 20%;
  --input: 260 40% 15%;
  --ring: 52 100% 50%;

  --radius: 0.75rem;

  /* Custom Casino Colors */
  --casino-dark: 260 50% 5%;
  --casino-purple-deep: 270 60% 15%;
  --casino-purple: 270 70% 35%;
  --casino-purple-light: 280 65% 50%;
  --casino-magenta: 290 80% 55%;
  --casino-yellow: 52 100% 50%;
  --casino-gold: 45 90% 55%;
  --casino-green: 145 70% 45%;

  /* Shadows */
  --shadow-glow-yellow: 0 0 30px hsl(52, 100%, 50%, 0.4);
  --shadow-glow-purple: 0 0 40px hsl(290, 80%, 55%, 0.3);
  --shadow-card: 0 8px 32px hsl(260, 50%, 5%, 0.5);
}

/* Dynamic viewport height for mobile */
:root {
  --vh: 1vh;
}

/* ============================================
   BASE RESET & DEFAULTS
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  content-visibility: auto;
}

/* Lazy loaded images fade-in effect */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Prevent layout shift for images */
img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}

/* Prevent image overflow */
img[src] {
  max-width: 100%;
  width: auto;
}

/* ============================================
   RESPONSIVE IMAGE SYSTEM
   ============================================ */

/* Base responsive image - fills container */
.img-responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contain image within bounds */
.img-contain {
  object-fit: contain;
}

/* Cover image fills container */
.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Fluid image with max-width */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Game card images - consistent aspect ratio */
.game-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

/* Hero/Banner images - full width responsive */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Promo card images */
.promo-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Character/mascot images */
.character-img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .character-img { max-height: 350px; }
}

@media (min-width: 768px) {
  .character-img { max-height: 400px; }
}

@media (min-width: 1024px) {
  .character-img { max-height: 500px; }
}

/* Provider/logo images */
.logo-img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.logo-img:hover {
  filter: grayscale(0%) brightness(1);
}

@media (min-width: 768px) {
  .logo-img { max-height: 40px; }
}

/* Bonus/feature images */
.bonus-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .bonus-img { width: 100px; height: 100px; }
}

/* Payment method icons */
.payment-icon {
  height: 24px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .payment-icon { height: 32px; }
}

/* Thumbnail images in grids */
.thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.5);
}

/* Featured large images */
.featured-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .featured-img { aspect-ratio: 21 / 9; }
}

/* Background cover images */
.bg-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Image loading states */
.img-loading {
  background: linear-gradient(90deg, hsl(var(--muted)) 0%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Lazy load fade-in */
.img-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-lazy.loaded {
  opacity: 1;
}

/* Aspect ratio containers for responsive images */
.aspect-3-2 { aspect-ratio: 3 / 2; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-21-9 { aspect-ratio: 21 / 9; }
.aspect-1-1 { aspect-ratio: 1 / 1; }

/* Responsive image sizes - CRITICAL for mobile */
@media (max-width: 639px) {
  .hero-character img { height: auto; max-height: 200px; max-width: 60vw; }
  .promo-card img { aspect-ratio: 16 / 9; max-width: 100%; }
  .game-card img { aspect-ratio: 4 / 3; max-width: 100%; }
  .bonus-highlight-image { display: none; }
  
  /* Force all images to be responsive on mobile */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Section images */
  section img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Feature card images */
  .feature-card-image {
    max-width: 100%;
    overflow: hidden;
  }
  
  .feature-card-image img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .hero-character img { max-height: 280px; max-width: 50vw; }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-character img { max-height: 350px; max-width: 45vw; }
}

/* Image container with fixed aspect ratio */
.img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2, h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Width/Height */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }

@media (min-width: 640px) {
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}

@media (min-width: 768px) {
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

/* Colors */
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-success { color: hsl(var(--success)); }
.text-destructive { color: hsl(var(--destructive)); }
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-destructive { background-color: hsl(var(--destructive)); }

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-border { border-color: hsl(var(--border)); }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
}

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.translate-y-0 { --tw-translate-y: 0; transform: translateY(0); }
.-translate-y-full { transform: translateY(-100%); }

/* Shadow */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }

/* Pointer */
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Glass Effect Header */
.glass-effect {
  backdrop-filter: blur(12px);
  background: hsl(260 45% 10% / 0.95);
  -webkit-backdrop-filter: blur(12px);
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, hsl(52, 100%, 55%) 0%, hsl(45, 90%, 60%) 50%, hsl(52, 100%, 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, hsl(270, 70%, 60%) 0%, hsl(290, 80%, 65%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Casino Card */
.casino-card {
  background: linear-gradient(180deg, hsl(260, 45%, 12%) 0%, hsl(260, 50%, 8%) 100%);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-md {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-hero {
  background: linear-gradient(135deg, hsl(52, 100%, 55%) 0%, hsl(45, 100%, 50%) 100%);
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  box-shadow: var(--shadow-glow-yellow);
}

.btn-hero:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 40px hsl(52, 100%, 50%, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--muted));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--muted));
}

.btn-nav {
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.btn-nav:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

.btn-nav.active {
  color: hsl(var(--primary));
}

/* Icon Button */
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .header-inner { height: 4rem; }
}

@media (min-width: 768px) {
  .header-inner { height: 5rem; }
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .logo { font-size: 1.5rem; }
}

@media (min-width: 768px) {
  .logo { font-size: 1.875rem; }
}

/* Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-mobile {
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: hsl(var(--background));
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
  .nav-mobile { top: 4rem; }
}

.nav-mobile.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .nav-mobile { display: none !important; }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  color: hsl(var(--foreground));
}

.nav-link:hover {
  background: hsl(var(--muted) / 0.5);
}

.nav-link.active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.nav-link-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted) / 0.5);
}

.nav-link.active .nav-link-icon {
  background: hsl(var(--primary) / 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  position: relative;
  z-index: 60;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile Menu Overlay */
#menuOverlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: hsl(0 0% 0% / 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menuOverlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  min-height: calc(var(--vh, 1vh) * 70); /* Mobile viewport fix */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

@media (min-width: 640px) {
  .hero {
    min-height: 80vh;
    min-height: calc(var(--vh, 1vh) * 80);
    padding-top: 5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.6), hsl(var(--background) / 0.4), hsl(var(--background)));
}

.hero-character {
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
}

@media (min-width: 768px) {
  .hero-character {
    display: block;
    right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-character { right: 5rem; }
}

.hero-character img {
  height: auto;
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

@media (min-width: 640px) {
  .hero-character img { max-height: 350px; }
}

@media (min-width: 768px) {
  .hero-character img { max-height: 400px; }
}

@media (min-width: 1024px) {
  .hero-character img { max-height: 500px; }
}

@media (min-width: 1280px) {
  .hero-character img { max-height: 550px; }
}

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

.hero-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; margin-bottom: 1.5rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; }
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .section { padding: 4rem 0; }
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

.section-muted {
  background: hsl(var(--muted) / 0.2);
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 1.875rem; margin-bottom: 1rem; }
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.05);
}

.feature-card-image {
  aspect-ratio: 16/9;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.1);
}

.feature-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.feature-card-link {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-card-link {
  transform: translateX(0.5rem);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(270, 60%, 15%, 0.8));
  border-top: 1px solid hsl(var(--border));
}

.footer-trust {
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  background: hsl(var(--muted) / 0.2);
  padding: 2rem 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--background) / 0.3);
  transition: background 0.2s ease;
}

.trust-badge:hover {
  background: hsl(var(--background) / 0.5);
}

.trust-badge-icon {
  width: 2rem;
  height: 2rem;
}

.trust-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-main {
  padding: 3rem 0;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  max-width: 24rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--muted) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: hsl(var(--primary));
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

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

.footer-payments,
.footer-providers {
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: 2rem 0;
  text-align: center;
}

.footer-payments h5,
.footer-providers h5 {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.payment-tags,
.provider-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.payment-tag,
.provider-tag {
  padding: 0.5rem 1rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: background 0.2s ease;
}

.payment-tag:hover,
.provider-tag:hover {
  background: hsl(var(--muted) / 0.5);
}

.provider-tag:hover {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.footer-license {
  border-top: 1px solid hsl(var(--border) / 0.3);
  background: hsl(var(--muted) / 0.1);
  padding: 1.5rem 0;
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.license-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .license-item:first-child { justify-content: flex-start; }
  .license-item:last-child { justify-content: flex-end; }
}

.license-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .license-icon { width: 4rem; height: 4rem; }
}

.license-icon.gold {
  background: linear-gradient(to bottom right, hsl(45, 90%, 55%, 0.2), hsl(45, 90%, 40%, 0.2));
  border: 1px solid hsl(45, 90%, 55%, 0.3);
}

.license-icon.green {
  background: linear-gradient(to bottom right, hsl(145, 70%, 45%, 0.2), hsl(145, 70%, 30%, 0.2));
  border: 1px solid hsl(145, 70%, 45%, 0.3);
}

.license-text p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.license-text p:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .age-badge { width: 3rem; height: 3rem; font-size: 1.25rem; }
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.responsible-link {
  padding: 0.25rem 0.5rem;
  background: hsl(var(--muted) / 0.3);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  transition: background 0.2s ease;
}

@media (min-width: 640px) {
  .responsible-link { padding: 0.375rem 0.75rem; }
}

.responsible-link:hover {
  background: hsl(var(--muted) / 0.5);
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border) / 0.3);
  background: hsl(var(--background) / 0.5);
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .footer-bottom { padding: 1.5rem 0; }
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  order: 3;
}

@media (min-width: 640px) {
  .footer-copyright { font-size: 0.875rem; }
}

@media (min-width: 1024px) {
  .footer-copyright { order: 1; }
}

.footer-disclaimer {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  order: 2;
}

@media (min-width: 640px) {
  .footer-disclaimer { font-size: 0.75rem; }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  order: 1;
}

@media (min-width: 640px) {
  .footer-legal-links { gap: 1rem; }
}

@media (min-width: 1024px) {
  .footer-legal-links { order: 3; }
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: hsl(var(--primary));
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  position: relative;
  z-index: 100;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 101;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.lang-trigger:hover,
.lang-trigger:focus {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary) / 0.5);
}

.lang-trigger:active {
  transform: scale(0.98);
}

.lang-flag {
  width: 1.25rem;
  height: 0.875rem;
  border-radius: 0.125rem;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: hsl(var(--popover));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 11rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px hsl(0 0% 0% / 0.4);
  pointer-events: none;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 500;
}

.lang-option:hover {
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}

.lang-option.active {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid hsl(var(--border));
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: hsl(var(--primary));
}

.accordion-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
}

.accordion-content-inner {
  padding-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ============================================
   PROMO SLIDER
   ============================================ */
.promo-slider {
  padding: 2rem 0;
  overflow: hidden;
}

.promo-slider-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.promo-slide {
  flex: 0 0 calc(100% - 2rem);
  min-width: 0;
}

@media (min-width: 768px) {
  .promo-slide { flex: 0 0 calc(50% - 0.5rem); }
}

@media (min-width: 1024px) {
  .promo-slide { flex: 0 0 calc(33.333% - 0.667rem); }
}

.promo-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.promo-card-title,
.promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.promo-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

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

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

.game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-0.25rem);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9), transparent 50%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: opacity 0.3s ease;
}

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

.game-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(52, 100%, 50%, 0.4); }
  50% { box-shadow: 0 0 40px hsl(52, 100%, 50%, 0.6); }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

/* Mobile-first touch improvements */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .nav-link { min-height: 48px; }
  .lang-trigger { min-height: 44px; }
  .accordion-trigger { min-height: 48px; }
}

/* Safe area insets for modern phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .nav-mobile { padding-bottom: env(safe-area-inset-bottom); }
}

/* Extra small screens (< 375px) */
@media (max-width: 374px) {
  html { font-size: 14px; }
  .container { padding: 0 0.75rem; }
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 0.875rem; }
  .btn-lg { padding: 0 1.25rem; font-size: 0.875rem; }
  .section { padding: 2rem 0; }
  .section-title { font-size: 1.25rem; }
  .trust-badge { padding: 0.75rem; }
  .trust-badge-text { font-size: 0.75rem; }
  .footer-main { padding: 2rem 0; }
  .payment-tag, .provider-tag { padding: 0.375rem 0.75rem; font-size: 0.625rem; }
  .feature-card { padding: 1rem; }
  .game-grid { gap: 0.5rem; }
}

/* Small screens */
@media (min-width: 640px) {
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:min-h-80vh { min-height: 80vh; }
  .sm\:pt-20 { padding-top: 5rem; }
  .sm\:pt-24 { padding-top: 6rem; }
  .sm\:h-16 { height: 4rem; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
  .sm\:mb-8 { margin-bottom: 2rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Medium screens */
@media (min-width: 768px) {
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:right-10 { right: 2.5rem; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:h-20 { height: 5rem; }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:mb-4 { margin-bottom: 1rem; }
  .md\:mb-6 { margin-bottom: 1.5rem; }
  .md\:rounded-2xl { border-radius: 1rem; }
  .md\:shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
  .md\:col-span-3 { grid-column: span 3; }
}

/* Large screens */
@media (min-width: 1024px) {
  .lg\:right-20 { right: 5rem; }
  .lg\:h-500 { height: 500px; }
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:text-left { text-align: left; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
}

/* Order utilities */
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-first { order: -9999; }
.order-last { order: 9999; }

@media (min-width: 768px) {
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:order-last { order: 9999; }
}

@media (min-width: 1024px) {
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:order-3 { order: 3; }
}

/* Aspect ratio */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

/* Blur effects */
.blur-3xl { filter: blur(64px); }
.blur-100 { filter: blur(100px); }

/* ============================================
   PAGE HERO STYLES (FAQ, Payments, etc.)
   ============================================ */
.page-hero {
  position: relative;
  padding: 6rem 0 3rem;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .page-hero {
    padding: 8rem 0 4rem;
  }
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(270, 60%, 15%) 0%, hsl(260, 50%, 5%) 100%);
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsl(290, 80%, 55%, 0.15) 0%, transparent 70%);
}

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

.page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(52, 100%, 55%) 0%, hsl(45, 90%, 60%) 50%, hsl(52, 100%, 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .page-title { font-size: 2.5rem; }
}

@media (min-width: 768px) {
  .page-title { font-size: 3.5rem; }
}

.page-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
  .page-subtitle { font-size: 1.125rem; }
}

/* Page Hero CTA Buttons */
.page-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .page-hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */
.faq-hero {
  background: linear-gradient(135deg, hsl(270, 60%, 12%) 0%, hsl(260, 50%, 5%) 100%);
}

.faq-search {
  display: flex;
  gap: 0.5rem;
  max-width: 24rem;
  margin: 1.5rem auto 0;
}

.faq-search .search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
}

.faq-search .search-btn {
  padding: 0.75rem 1rem;
  background: hsl(var(--primary));
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.faq-categories-section {
  padding: 1.5rem 0;
  background: hsl(var(--muted) / 0.2);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.faq-cat-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.faq-section {
  padding: 3rem 0;
}

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

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.faq-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-category {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
}

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 1rem;
}

.faq-question:hover {
  color: hsl(var(--primary));
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

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

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  padding-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.faq-answer li {
  margin-bottom: 0.375rem;
}

.faq-answer a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-sidebar-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.faq-sidebar-card img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
}

.faq-sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.faq-sidebar-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* ============================================
   PAYMENTS PAGE STYLES
   ============================================ */
.payments-hero {
  background: linear-gradient(135deg, hsl(270, 60%, 12%) 0%, hsl(260, 50%, 5%) 100%);
}

.payment-features-section {
  padding: 2rem 0;
  background: hsl(var(--muted) / 0.15);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

@media (min-width: 768px) {
  .payment-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.payment-feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.payment-feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-2px);
}

.payment-feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.payment-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-feature-card p {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.payment-methods-section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

.payment-category {
  margin-bottom: 2.5rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

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

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

.payment-method-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.payment-method-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.payment-method-card.featured {
  border-color: hsl(var(--primary) / 0.5);
  background: linear-gradient(to bottom, hsl(var(--card)), hsl(var(--primary) / 0.05));
}

.payment-method-card .method-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.payment-method-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.payment-method-card .method-details {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.payment-method-card .detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.payment-method-card .detail span:first-child {
  color: hsl(var(--foreground) / 0.7);
}

/* ============================================
   CRITICAL IMAGE RESPONSIVE FIXES
   ============================================ */

/* Force all images to respect container bounds */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Mobile image fixes - Very Aggressive */
@media (max-width: 767px) {
  /* Global image constraint */
  img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover;
  }
  
  /* Container overflow prevention */
  .container,
  section,
  .grid,
  .flex,
  div {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Specific image containers */
  .feature-card-image,
  .promo-card,
  .game-card,
  .relative {
    max-width: 100%;
    overflow: hidden;
  }
  
  /* Section images must be 100% width */
  section img,
  .grid img,
  .feature-card img,
  .promo-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Hero character on mobile */
  .hero-character {
    display: none !important;
  }
  
  /* Promo slider cards */
  .promo-slide {
    min-width: 85vw;
    max-width: 85vw;
  }
  
  /* Game grid */
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  /* Body overflow */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
  }
}

/* Tablet image fixes */
@media (min-width: 768px) and (max-width: 1023px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .hero-character img {
    max-height: 350px;
    max-width: 40vw;
  }
}

/* Col span utilities */
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

/* Scroll snap for promo slider on mobile */
@media (max-width: 767px) {
  .promo-slider-track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .promo-slider-track::-webkit-scrollbar { display: none; }
  .promo-slide { scroll-snap-align: start; }
}

/* Improved mobile spacing */
@media (max-width: 639px) {
  .hero { min-height: 60vh; }
  .hero-content { padding: 0 0.5rem; }
  .feature-card-title { font-size: 1.125rem; }
  .footer-links { margin-bottom: 1.5rem; }
  .footer-links h4 { font-size: 0.875rem; }
  .footer-links a { font-size: 0.8125rem; }
}

/* Prevent text overflow on small screens */
.hero-title,
.section-title,
.feature-card-title,
.promo-card-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Better button tap states */
.btn:active {
  transform: scale(0.98);
}

.btn-hero:active {
  transform: translateY(0) scale(0.98);
}

/* Improved focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.lang-trigger:focus-visible,
.accordion-trigger:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Better select/input sizing for mobile */
input, select, textarea {
  font-size: 16px; /* Prevents iOS zoom on focus */
}
