.page-casino {
  color: #ffffff; /* Light text for dark body background */
}

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1A202C;
}

.page-casino__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.6;
}

.page-casino__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-casino__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-casino__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__games-section {
  background-color: #1A202C;
  padding: 80px 20px;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-casino__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-casino__game-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-casino__why-choose-section {
  background-color: #0F131C;
  padding: 80px 20px;
}

.page-casino__why-choose-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.page-casino__why-choose-content {
  flex: 1;
  min-width: 300px;
}

.page-casino__feature-list {
  list-style: none;
  padding: 0;
}

.page-casino__feature-item {
  background-color: rgba(255, 215, 0, 0.05);
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-casino__why-choose-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-section {
  background: linear-gradient(135deg, #1A202C 0%, #0F131C 100%);
  padding: 100px 20px;
  text-align: center;
}

.page-casino__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-casino__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-casino__guide-section {
  background-color: #1A202C;
  padding: 80px 20px;
}

.page-casino__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
}

.page-casino__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.page-casino__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-casino__guide-cta {
  text-align: center;
  margin-top: 60px;
}

.page-casino__faq-section {
  background-color: #0F131C;
  padding: 80px 20px;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
  padding-top: 0;
}

.page-casino__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-casino__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-casino__faq-answer a:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-casino__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-casino__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-casino__games-section,
  .page-casino__why-choose-section,
  .page-casino__cta-section,
  .page-casino__guide-section,
  .page-casino__faq-section {
    padding: 50px 15px;
  }
  .page-casino__game-image,
  .page-casino__why-choose-image,
  .page-casino__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino__why-choose-container {
    flex-direction: column;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1.1em;
  }
  .page-casino__guide-steps {
    margin-top: 30px;
  }
  .page-casino__faq-question {
    font-size: 1.2em;
  }
  .page-casino__faq-answer {
    font-size: 0.95em;
  }
}