.page-live-dealer {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for main content area */
}

.page-live-dealer__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1a1a1a; /* Darker shade for hero background */
  border-bottom: 2px solid var(--border);
}

.page-live-dealer__hero-image-container {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 1.5rem;
}

.page-live-dealer__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-live-dealer__hero-content {
  max-width: 800px;
}

.page-live-dealer__main-title {
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px var(--glow);
  /* Use clamp for responsive H1 font size */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-live-dealer__tagline {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.page-live-dealer__cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--button);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  min-width: 200px; /* Ensure button is not too small */
}

.page-live-dealer__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-live-dealer__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin: 3rem 0 1.5rem;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-live-dealer__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #e5e5e5;
}

.page-live-dealer__intro-section, .page-live-dealer__features-section, .page-live-dealer__promotions-section, .page-live-dealer__how-to-play-section, .page-live-dealer__cta-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live-dealer__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.page-live-dealer__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-live-dealer__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow);
}

.page-live-dealer__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block; /* Ensure no extra space below image */
  min-height: 200px; /* Minimum image size */
  object-fit: cover; /* Cover the area without distorting */
}

.page-live-dealer__game-title {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.page-live-dealer__game-description {
  font-size: 0.95rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

.page-live-dealer__game-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--button);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-live-dealer__game-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-live-dealer__features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.page-live-dealer__feature-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-live-dealer__feature-heading {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.page-live-dealer__feature-description {
  font-size: 0.95rem;
  color: #cccccc;
}

.page-live-dealer__promo-content {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-live-dealer__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
}

.page-live-dealer__promo-description {
  font-size: 1.05rem;
  color: #e5e5e5;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-dealer__how-to-play-section {
  padding-bottom: 3rem;
}

.page-live-dealer__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.page-live-dealer__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-live-dealer__step-heading {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.page-live-dealer__step-description {
  font-size: 0.95rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

.page-live-dealer__step-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--secondary-color);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-live-dealer__step-button:hover {
  background: var(--primary-color);
}

.page-live-dealer__cta-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary-color);
}

.page-live-dealer__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text-main);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--glow);
}

.page-live-dealer__cta-description {
  font-size: 1.1rem;
  color: #e5e5e5;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.page-live-dealer__cta-button--large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-live-dealer__hero-section {
    padding: 1.5rem 0.5rem;
  }

  .page-live-dealer__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-live-dealer__tagline {
    font-size: 1rem;
  }

  .page-live-dealer__cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .page-live-dealer__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin: 2rem 0 1rem;
  }

  .page-live-dealer__section-description {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .page-live-dealer__game-grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  .page-live-dealer__features-list, .page-live-dealer__steps-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .page-live-dealer__feature-item, .page-live-dealer__step-item {
    padding: 1rem;
  }

  .page-live-dealer__feature-heading, .page-live-dealer__step-heading {
    font-size: 1.1rem;
  }

  .page-live-dealer__promo-content {
    padding: 1.5rem;
  }

  .page-live-dealer__promo-description {
    font-size: 0.95rem;
  }

  .page-live-dealer__cta-card {
    padding: 2rem 1rem;
  }

  .page-live-dealer__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-live-dealer__cta-description {
    font-size: 1rem;
  }

  .page-live-dealer__cta-button--large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Mobile content area image handling */
  .page-live-dealer img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no image displays smaller than 200px in content area */
  .page-live-dealer__game-image,
  .page-live-dealer__promo-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-live-dealer__hero-image {
    min-height: 200px;
  }
}

/* Define custom color variables */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background: #0A0A0A;
  --text-main: #FFF6D6;
  --border: #3A2A12;
  --glow: #FFD36B;
}