.page-casino-specialty-games {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-casino-specialty-games__section-title {
  font-size: 2.8em;
  color: #0A2342;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-casino-specialty-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

/* Hero Section */
.page-casino-specialty-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

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

.page-casino-specialty-games__hero-container {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-casino-specialty-games__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-casino-specialty-games__hero-title {
  font-size: 3.8em;
  font-weight: bold;
  color: #F2C94C;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino-specialty-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
}

.page-casino-specialty-games__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-casino-specialty-games__hero-button {
  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.3s ease;
}

.page-casino-specialty-games__hero-button--primary {
  background-color: #F2C94C;
  color: #0A2342;
}

.page-casino-specialty-games__hero-button--primary:hover {
  background-color: #e0b83e;
  transform: translateY(-3px);
}

.page-casino-specialty-games__hero-button--secondary {
  background-color: #0A2342;
  color: #F2C94C;
  border: 2px solid #F2C94C;
}

.page-casino-specialty-games__hero-button--secondary:hover {
  background-color: #1a3a5e;
  transform: translateY(-3px);
}

/* About Section (Features Grid) */
.page-casino-specialty-games__about-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-casino-specialty-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino-specialty-games__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-specialty-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-specialty-games__feature-icon {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino-specialty-games__feature-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-casino-specialty-games__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Games Showcase Section */
.page-casino-specialty-games__games-showcase-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

.page-casino-specialty-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino-specialty-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-specialty-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-specialty-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-casino-specialty-games__game-title {
  font-size: 1.7em;
  color: #0A2342;
  padding: 15px 20px 5px;
}

.page-casino-specialty-games__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 15px;
}

.page-casino-specialty-games__game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background-color: #F2C94C;
  color: #0A2342;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino-specialty-games__game-button:hover {
  background-color: #e0b83e;
}

/* Bonuses Section */
.page-casino-specialty-games__bonuses-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino-specialty-games__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-casino-specialty-games__bonus-card {
  background-color: #0A2342;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-specialty-games__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-casino-specialty-games__bonus-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino-specialty-games__bonus-title {
  font-size: 2em;
  color: #F2C94C;
  margin-bottom: 15px;
}

.page-casino-specialty-games__bonus-text {
  font-size: 1em;
  margin-bottom: 25px;
}

.page-casino-specialty-games__bonus-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #F2C94C;
  color: #0A2342;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino-specialty-games__bonus-button:hover {
  background-color: #e0b83e;
}

/* Get Started Section */
.page-casino-specialty-games__get-started-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-casino-specialty-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino-specialty-games__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-casino-specialty-games__step-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-casino-specialty-games__step-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-casino-specialty-games__step-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0A2342;
  color: #F2C94C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino-specialty-games__step-button:hover {
  background-color: #1a3a5e;
}

/* FAQ Section */
.page-casino-specialty-games__faq-section {
  padding: 80px 0;
  background-color: #e6eef7;
}

.page-casino-specialty-games__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-specialty-games__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-casino-specialty-games__faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2342;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-casino-specialty-games__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino-specialty-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino-specialty-games__faq-question:hover {
  background-color: #f5f5f5;
}

.page-casino-specialty-games__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-casino-specialty-games__faq-answer p {
  padding-bottom: 20px;
  color: #555555;
}

.page-casino-specialty-games__faq-answer.active {
  max-height: 500px; /* Adjust based on content */
  padding-top: 10px;
  padding-bottom: 20px;
}

/* Call to Action Section */
.page-casino-specialty-games__cta-section {
  padding: 80px 0;
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
}

.page-casino-specialty-games__cta-section .page-casino-specialty-games__section-title {
  color: #F2C94C;
}

.page-casino-specialty-games__cta-section .page-casino-specialty-games__section-description {
  color: #f0f0f0;
}

.page-casino-specialty-games__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #F2C94C;
  color: #0A2342;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-casino-specialty-games__cta-button:hover {
  background-color: #e0b83e;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-specialty-games__hero-title {
    font-size: 3em;
  }
  .page-casino-specialty-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-casino-specialty-games__hero-section {
    padding-top: var(--header-offset, 80px);
  }
  .page-casino-specialty-games__hero-container {
    padding: 60px 15px;
  }
  .page-casino-specialty-games__hero-title {
    font-size: 2.5em;
  }
  .page-casino-specialty-games__hero-description {
    font-size: 1.1em;
  }
  .page-casino-specialty-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-specialty-games__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-specialty-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-specialty-games__section-description {
    font-size: 1em;
  }
  .page-casino-specialty-games__features-grid,
  .page-casino-specialty-games__game-grid,
  .page-casino-specialty-games__bonus-grid,
  .page-casino-specialty-games__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image overflow prevention */
  .page-casino-specialty-games img {
    max-width: 100%;
    height: auto;
  }
  .page-casino-specialty-games {
    overflow-x: hidden;
  }

  .page-casino-specialty-games__hero-image,
  .page-casino-specialty-games__feature-icon,
  .page-casino-specialty-games__game-image,
  .page-casino-specialty-games__bonus-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-casino-specialty-games__hero-title {
    font-size: 2em;
  }
  .page-casino-specialty-games__hero-description {
    font-size: 0.9em;
  }
  .page-casino-specialty-games__hero-button {
    width: 90%;
  }
  .page-casino-specialty-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-specialty-games__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}