/* style/casino-live-dealer-games.css */

/* Base styles for the page content */
.page-casino-live-dealer-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1, #0d0d0d); /* Fallback to a very dark gray */
}

/* Fixed navigation bar spacing for the first content module */
.page-casino-live-dealer-games__hero-banner {
  padding-top: 120px; /* Desktop spacing for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.1)), var(--dark-bg-2, #1a1a1a); /* Subtle gradient over a dark background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino-live-dealer-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-casino-live-dealer-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff; /* White for main title */
  line-height: 1.2;
}

.page-casino-live-dealer-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-casino-live-dealer-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-casino-live-dealer-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15; /* Subtle background image */
  z-index: 1;
}

.page-casino-live-dealer-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Make it black and white to be subtle */
}

/* General section styling */
.page-casino-live-dealer-games__section {
  padding: 60px 0;
  background-color: var(--dark-bg-1, #0d0d0d);
}

.page-casino-live-dealer-games__section:nth-of-type(even) {
  background-color: var(--dark-bg-2, #1a1a1a);
}

.page-casino-live-dealer-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino-live-dealer-games__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-casino-live-dealer-games__section-subtitle {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-live-dealer-games__content-block {
  font-size: 1.05em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino-live-dealer-games__content-block p:last-child {
  margin-bottom: 0;
}

/* Buttons */
.page-casino-live-dealer-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.page-casino-live-dealer-games__btn--primary {
  background: #FFD700; /* Gold background */
  color: #0d0d0d; /* Dark text for gold background */
  border-color: #FFD700;
}

.page-casino-live-dealer-games__btn--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-casino-live-dealer-games__btn--secondary {
  background: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-casino-live-dealer-games__btn--secondary:hover {
  background: #FFD700;
  color: #0d0d0d;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-casino-live-dealer-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 25px;
}

.page-casino-live-dealer-games__btn--step {
  margin-top: 15px;
  display: block;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* Text highlight for keywords */
.page-casino-live-dealer-games .text-highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Game Grid */
.page-casino-live-dealer-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino-live-dealer-games__game-card {
  background: var(--dark-bg-3, #2a2a2a); /* Slightly lighter dark background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino-live-dealer-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-casino-live-dealer-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino-live-dealer-games__game-card-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-casino-live-dealer-games__game-card-description {
  padding: 0 20px 15px;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-casino-live-dealer-games__game-card .page-casino-live-dealer-games__btn {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Steps list */
.page-casino-live-dealer-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino-live-dealer-games__step-item {
  background: var(--dark-bg-3, #2a2a2a);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-live-dealer-games__step-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-casino-live-dealer-games__step-item p {
  color: #e0e0e0;
  margin-bottom: 0;
}

/* Promo Grid */
.page-casino-live-dealer-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino-live-dealer-games__promo-card {
  background: var(--dark-bg-3, #2a2a2a);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino-live-dealer-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-casino-live-dealer-games__promo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-casino-live-dealer-games__promo-card-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-casino-live-dealer-games__promo-card-description {
  padding: 0 20px 15px;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-casino-live-dealer-games__promo-card .page-casino-live-dealer-games__btn {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Conclusion actions */
.page-casino-live-dealer-games__conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ styles - as per strict requirements */
.page-casino-live-dealer-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-live-dealer-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-bg-3, #2a2a2a);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* FAQ default state - answer hidden */
.page-casino-live-dealer-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px; /* Adjusted padding */
  opacity: 0;
  color: #e0e0e0;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-casino-live-dealer-games__faq-item.active .page-casino-live-dealer-games__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important ensure priority, value large enough for any content */
  padding: 20px !important; /* Adjusted padding */
  opacity: 1;
  background: var(--dark-bg-4, #3a3a3a); /* Slightly different background for expanded answer */
  border-radius: 0 0 8px 8px;
}

/* Question style */
.page-casino-live-dealer-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--dark-bg-3, #2a2a2a);
  border: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold border */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino-live-dealer-games__faq-question:hover {
  background: var(--dark-bg-4, #3a3a3a);
  border-color: #FFD700;
}