/* RUNA Casino - Styles */

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary: #ffee00;
  --primary-dark: #b2a017;
  --ink: #1e1d1b;
  --paper: #ffffff;
  --sand: #dec8aa;
  --stone: #36332e;
  --shadow: #24231f;
  --coal: #131313;
  --ink2: #1f1e1c;
  --sand2: #e0c9ae;
  
  /* Typography */
  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  
  /* Font Sizes */
  --h1: 28px;
  --h2: 22px;
  --h3: 18px;
  --body: 15px;
  --small: 13px;
  --button: 15px;
  
  /* Line Heights */
  --line-tight: 1.15;
  --line-normal: 1.5;
  --line-loose: 1.7;
  
  /* Layout */
  --container-max-width: 1140px;
  --container-padding: 16px;
  --border-radius-soft: 14px;
  --border-radius-pill: 999px;
  --elevation-card: 0 6px 20px rgba(0,0,0,.35);
  
  /* Breakpoints */
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  font-size: var(--body);
  line-height: var(--line-normal);
  color: var(--paper);
  background: linear-gradient(180deg, var(--ink2) 0%, var(--coal) 100%);
  min-height: 100vh;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: var(--ink);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--line-tight);
  color: var(--paper);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

p {
  margin-bottom: 1rem;
  line-height: var(--line-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--button);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-pill);
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
}

.btn:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--stone);
  color: var(--paper);
}

.btn-secondary:hover {
  background: var(--ink2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--sand2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--ink2) 0%, var(--coal) 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  z-index: 100;
  height: 64px;
}

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

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--paper);
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 1px;
  margin-left: -8px;
  margin-top: -1px;
}

.hamburger-line:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger-line:nth-child(2) {
  transform: translateY(0);
}

.hamburger-line:nth-child(3) {
  transform: translateY(6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  background: var(--primary);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateY(0) scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  background: var(--primary);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

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

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

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

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: none;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 2rem 0;
  margin: 0 var(--container-padding);
  border-radius: var(--border-radius-soft);
  background-image: url('img/banner.avif');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}


/* Hero overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(31,30,28,.8) 0%, rgba(31,30,28,.2) 60%);
  border-radius: var(--border-radius-soft);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 2rem;
  margin: 0 auto;
  max-width: var(--container-max-width);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  background: var(--primary);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  font-size: var(--small);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(24px, 5vw, 48px);
  margin-bottom: 1.5rem;
  line-height: var(--line-tight);
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-legal {
  font-size: var(--small);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: linear-gradient(180deg, var(--shadow) 0%, var(--ink) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--border-radius-soft);
  padding: 2rem;
  box-shadow: var(--elevation-card);
}

/* Sections */
.text-section,
.features-section,
.howto-section,
.bonus-section,
.games-section,
.payment-section,
.cta-section {
  padding: 2rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(20px, 4vw, 32px);
}

h2 {
  margin-bottom: 2rem;
}

h3 {
  margin-bottom: 1.5rem;
}

h4 {
  margin-bottom: 1rem;
}

/* Features List */
.features-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.features-list li {
  position: relative;
  padding-left: 2rem;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2em;
}

/* How To List */
.howto-list {
  counter-reset: step-counter;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.howto-list li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step-counter;
}

.howto-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: var(--ink);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

/* Promotions Carousel */
.promo-section {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 1rem auto;
}

.carousel-container {
  display: flex;
  overflow: hidden;
  border-radius: var(--border-radius-soft);
  position: relative;
  height: 400px;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide .promo-card {
  width: 100%;
  height: 100%;
}

.promo-card {
  background: linear-gradient(180deg, var(--shadow) 0%, var(--ink) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: var(--elevation-card);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  position: relative;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  backdrop-filter: blur(2px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  color: white;
}

.promo-content {
  padding: 1.5rem;
}

.promo-badge {
  display: inline-block;
  background: rgba(255,238,0,.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: var(--small);
  font-weight: 600;
  margin-bottom: 1rem;
}

.promo-content h3,
.promo-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.promo-content p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* Bonus item styles for promo cards */
.promo-card.bonus-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-overlay h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.promo-overlay ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.promo-overlay li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.promo-overlay li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2em;
}

.promo-overlay small {
  opacity: 0.9;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
}

.promo-overlay .btn {
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.promo-overlay .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 1rem 0;
}


.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

/* Providers Section */
.providers-section {
  padding: 2rem 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0 1rem 0;
}

.provider-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-soft);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.provider-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.provider-logo {
  max-width: 100%;
  max-height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.provider-item:hover .provider-logo {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(45deg);
}

/* Bonus Grid */
.bonus-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0 1rem 0;
}

.bonus-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bonus-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  border-color: var(--primary);
}

.bonus-item h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1em;
}

.bonus-item ul {
  list-style: none;
  margin-bottom: 1rem;
}

.bonus-item li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.bonus-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.bonus-item small {
  opacity: 0.8;
  font-style: italic;
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1rem 0;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-soft);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.payment-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.payment-logo-large {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.payment-item:hover .payment-logo-large {
  opacity: 1;
}

/* CTA Actions */
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
}

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Footer */
.footer {
  background: var(--ink2);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-badge {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-badge:hover {
  opacity: 1;
}

.footer-payments {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.payment-logo {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-logo:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: var(--small);
  opacity: 0.6;
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile First Approach */
/* Extra Small devices (phones, 320px and up) */
@media (max-width: 479px) {
  :root {
    --container-padding: 16px;
    --section-padding: 1.5rem 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Header Mobile */
  .header {
    padding: 12px 0;
    height: auto;
    min-height: 64px;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-menu-toggle {
    display: flex;
    background: transparent;
    border: 1px solid var(--stone);
    border-radius: var(--border-radius-soft);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    padding: 0;
    position: relative;
  }
  
  .mobile-menu-toggle:hover {
    background: var(--stone);
    border-color: var(--primary);
  }
  
  .mobile-menu-toggle.active {
    background: var(--stone);
    border-color: var(--primary);
  }
  
  .mobile-menu-toggle .hamburger-line {
    width: 18px;
    height: 2px;
    margin-left: -9px;
  }
  
  .mobile-menu-toggle .hamburger-line:nth-child(1) {
    transform: translateY(-7px);
  }
  
  .mobile-menu-toggle .hamburger-line:nth-child(2) {
    transform: translateY(0);
  }
  
  .mobile-menu-toggle .hamburger-line:nth-child(3) {
    transform: translateY(7px);
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateY(0) scaleX(0);
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }
  
  .logo-img {
    height: 32px;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--ink2) 0%, var(--coal) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--stone);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    margin: 0;
  }
  
  .nav-link {
    display: block;
    font-size: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--stone);
    color: var(--paper);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: var(--stone);
    color: var(--primary);
    padding-left: 24px;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Hero Mobile */
  .hero {
    padding: 1.5rem 0;
    margin: 0 16px;
    min-height: 300px;
  }
  
  .hero .container {
    padding: 0;
    max-width: none;
  }
  
  .hero-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  
  /* Sections Mobile */
  .text-section,
  .features-section,
  .howto-section,
  .bonus-section,
  .games-section,
  .payment-section,
  .cta-section {
    padding: 1.5rem 0;
  }
  
  .section-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 2rem;
  }
  
  h2 {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 1.5rem;
  }
  
  h3 {
    font-size: clamp(14px, 3.5vw, 18px);
    margin-bottom: 1rem;
  }
  
  h4 {
    font-size: clamp(13px, 3vw, 16px);
    margin-bottom: 0.75rem;
  }
  
  /* Cards Mobile */
  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Lists Mobile */
  .features-list {
    gap: 0.75rem;
  }
  
  .features-list li {
    padding-left: 1.5rem;
    font-size: 14px;
  }
  
  .howto-list {
    gap: 1rem;
  }
  
  .howto-list li {
    padding-left: 2.5rem;
    font-size: 14px;
  }
  
  .howto-list li::before {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8em;
  }
  
  /* Carousel Mobile */
  .carousel {
    margin: 0 -16px;
  }
  
  .carousel-container {
    height: 350px;
  }
  
  .promo-card {
    min-height: 350px;
    margin: 0 8px;
  }
  
  .promo-overlay {
    padding: 1.5rem;
  }
  
  .promo-overlay h4 {
    font-size: 16px;
    margin-bottom: 1rem;
  }
  
  .promo-overlay ul {
    margin-bottom: 1rem;
  }
  
  .promo-overlay li {
    font-size: 13px;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .promo-overlay li::before {
    width: 8px;
    height: 8px;
    left: 0;
  }
  
  .promo-overlay small {
    font-size: 11px;
  }
  
  .carousel-controls {
    margin: 1rem 0;
  }
  
  
  .carousel-dots {
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Providers Mobile */
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .provider-item {
    padding: 12px 8px;
  }
  
  .provider-logo {
    height: 24px;
    max-width: 80px;
  }
  
  /* Payment Methods Mobile */
  .payment-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .payment-method {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .payment-logo-large {
    height: 32px;
    margin-bottom: 8px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 1rem;
  }
  
  .footer-column ul {
    gap: 0.5rem;
  }
  
  .footer-column a {
    font-size: 14px;
    padding: 4px 8px;
  }
  
  .footer-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .footer-badge {
    height: 24px;
  }
  
  .footer-payment {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .payment-logo {
    height: 20px;
  }
  
  .footer-copyright {
    font-size: 12px;
    text-align: center;
  }
}

/* Small devices (landscape phones, 480px and up) */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --container-padding: 20px;
    --section-padding: 2rem 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  /* Header */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-list {
    flex-direction: row;
    gap: 1rem;
  }
  
  /* Hero */
  .hero {
    margin: 0 20px;
    min-height: 350px;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 16px;
  }
  
  .btn {
    width: auto;
    flex: 1;
  }
  
  /* Carousel */
  .carousel-container {
    height: 380px;
  }
  
  .promo-card {
    min-height: 380px;
  }
  
  /* Providers */
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Payment */
  .payment-methods {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  
  .footer-badges {
    flex-direction: row;
    justify-content: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container-padding: 24px;
    --section-padding: 2.5rem 0;
  }
  
  .container {
    padding: 0 24px;
  }
  
  /* Header */
  .header {
    padding: 16px 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  /* Hero */
  .hero {
    margin: 0 24px;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: clamp(28px, 5vw, 36px);
  }
  
  /* Sections */
  .text-section,
  .features-section,
  .howto-section,
  .bonus-section,
  .games-section,
  .payment-section,
  .cta-section {
    padding: 2.5rem 0;
  }
  
  /* Carousel */
  .carousel-container {
    height: 420px;
  }
  
  .promo-card {
    min-height: 420px;
  }
  
  .promo-overlay {
    padding: 2rem;
  }
  
  /* Providers */
  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .hero {
    margin: 0 auto;
    min-height: 450px;
  }
  
  .carousel-container {
    height: 450px;
  }
  
  .promo-card {
    min-height: 450px;
  }
  
  .providers-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 12px 20px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }
  
  
  .dot {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Remove hover effects on touch devices */
  .btn:hover {
    transform: none;
  }
  
  .nav-link:hover {
    background: transparent;
  }
  
  .provider-item:hover {
    transform: none;
  }
  
  .payment-method:hover {
    transform: none;
  }
  
  /* Improve touch targets */
  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }
}

/* Performance optimizations */
@media (max-width: 767px) {
  .hero {
    will-change: transform;
  }
  
  .carousel-slide {
    will-change: transform;
  }
  
  /* Reduce animations on mobile for better performance */
  .btn {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  .nav-link {
    transition: background-color 0.2s ease;
  }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .provider-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .payment-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary: #ffff00;
    --paper: #ffffff;
    --ink: #000000;
  }
}

