/* style/casino.css */
/* Body background is #FFFFFF (light), so text color should be dark (#333333) by default. */

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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px; /* Space between image and content */
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent white background for readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  color: #26A9E0; /* Brand color for H1 */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-casino__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-ghost,
.page-casino__btn-link {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-casino__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b5;
  border-color: #1e87b5;
}

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

.page-casino__btn-ghost:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-casino__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 8px 0;
  text-decoration: underline;
}

.page-casino__btn-link:hover {
  color: #1e87b5;
}

.page-casino__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333333;
}

.page-casino__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-casino__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-casino__text-block p,
.page-casino__about-section p {
  margin-bottom: 15px;
  color: #555555;
}

.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 20px;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__description,
.page-casino__dark-bg .page-casino__card-title {
  color: #ffffff;
}

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

/* Games Section */
.page-casino__games-section {
  text-align: center;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
}

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

.page-casino__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-casino__game-card p {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-casino__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-casino__promo-card .page-casino__card-title {
  color: #26A9E0;
}

.page-casino__promo-card p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-casino__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__step-card .page-casino__card-title {
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__step-card p {
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Experience Section */
.page-casino__experience-section {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-casino__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__feature-card .page-casino__card-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.page-casino__feature-card p {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__support-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 30px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 20px;
}

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

.page-casino__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  color: #333333;
  font-size: 1.1rem;
  position: relative;
  list-style: none; /* Remove default marker for details summary */
}

.page-casino__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-casino__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  color: #26A9E0;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from interfering with summary click */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-casino__faq-answer {
  padding: 0 25px 20px;
  color: #555555;
  font-size: 1rem;
}

/* Bottom CTA Section */
.page-casino__cta-bottom {
  text-align: center;
  padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-image {
    height: 500px;
  }
  .page-casino__hero-content {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 10px 15px 40px; /* Small top padding for mobile */
  }
  .page-casino__hero-image {
    height: 350px;
  }
  .page-casino__hero-content {
    margin-top: 20px;
    padding: 20px;
  }
  .page-casino__main-title {
    font-size: 2rem;
  }
  .page-casino__description {
    font-size: 1rem;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-ghost,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    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__cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-casino__content-area,
  .page-casino__games-section .page-casino__game-grid,
  .page-casino__promotions-section .page-casino__promo-grid,
  .page-casino__guide-section .page-casino__guide-steps,
  .page-casino__experience-section .page-casino__features-grid,
  .page-casino__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__section-title {
    font-size: 1.8rem;
  }
  .page-casino__sub-title {
    font-size: 1.2rem;
  }

  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__video-section {
    padding-top: 10px !important;
  }

  /* Mobile video responsiveness */
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no image filters are used */
.page-casino img {
  filter: none; /* Ensure no CSS filters are applied */
}