.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background */
  background-color: #f8f8f8;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino__dark-bg {
  background-color: #0A2342;
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-small,
.page-casino__read-more-link,
.page-casino__faq-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background-color: #E0B400;
  color: #0A2342;
  border: 2px solid #E0B400;
}

.page-casino__btn-primary:hover {
  background-color: #ffc800;
  border-color: #ffc800;
}

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

.page-casino__btn-secondary:hover {
  background-color: #E0B400;
  color: #0A2342;
}

.page-casino__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #E0B400;
  color: #0A2342;
  border: 1px solid #E0B400;
}

.page-casino__btn-small:hover {
  background-color: #ffc800;
  border-color: #ffc800;
}

.page-casino__read-more-link,
.page-casino__faq-link {
  color: #E0B400;
  text-decoration: underline;
  font-weight: normal;
  padding: 0;
  border: none;
}

.page-casino__read-more-link:hover,
.page-casino__faq-link:hover {
  color: #ffc800;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A2342;
}

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

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.9));
  z-index: 2;
}

.page-casino__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
}

.page-casino__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-casino__text-block {
  flex: 1;
}

.page-casino__text-block p {
  margin-bottom: 20px;
}

.page-casino__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
}

.page-casino__games-section .page-casino__section-title,
.page-casino__games-section .page-casino__section-description {
  color: #ffffff;
}

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

.page-casino__game-card {
  background-color: #1A3A5E; /* Slightly lighter dark blue */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-card .page-casino__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #E0B400;
}

.page-casino__game-card .page-casino__card-title a {
  color: #E0B400;
  text-decoration: none;
}

.page-casino__game-card .page-casino__card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card p {
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
}

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

.page-casino__promo-card {
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__promo-card .page-casino__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #0A2342;
}

.page-casino__promo-card .page-casino__card-title a {
  color: #0A2342;
  text-decoration: none;
}

.page-casino__promo-card .page-casino__card-title a:hover {
  text-decoration: underline;
}

.page-casino__promo-card p {
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile Section */
.page-casino__mobile-section {
  padding: 80px 0;
}

.page-casino__mobile-section .page-casino__section-title,
.page-casino__mobile-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-casino__mobile-content .page-casino__text-block {
  flex: 1;
}

.page-casino__mobile-content .page-casino__image-block {
  flex: 1;
}

.page-casino__mobile-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Payment Section */
.page-casino__payment-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__payment-methods {
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__payment-methods img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__payment-methods p {
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Support Section */
.page-casino__support-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__support-section .page-casino__section-title,
.page-casino__support-section .page-casino__section-description {
  color: #ffffff;
}

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

.page-casino__support-content p {
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #cccccc;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
}

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

.page-casino__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #0A2342;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: #f0f0f0;
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-question {
  background-color: #E0B400;
  color: #0A2342;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(0deg);
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-casino__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-casino__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__cta-final-section .page-casino__section-title,
.page-casino__cta-final-section .page-casino__section-description {
  color: #ffffff;
}

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

  .page-casino__section-title {
    font-size: 2em;
  }

  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__hero-section {
    min-height: 500px;
  }

  .page-casino__hero-title {
    font-size: 2.5em;
  }

  .page-casino__hero-description {
    font-size: 1.1em;
  }

  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-small,
  .page-casino__read-more-link,
  .page-casino__faq-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__content-wrapper,
  .page-casino__mobile-content {
    flex-direction: column;
  }

  .page-casino__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-top: 30px;
  }

  .page-casino__game-grid,
  .page-casino__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__mobile-section,
  .page-casino__payment-section,
  .page-casino__support-section,
  .page-casino__faq-section,
  .page-casino__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-casino__hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }

  .page-casino__hero-description {
    font-size: 1em;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }
}