.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-casino__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

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

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-casino__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: 700;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-casino__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Video Section */
.page-casino__video-section {
  padding: 80px 0;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

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

.page-casino__game-category {
  margin-bottom: 60px;
}

.page-casino__category-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: 600;
}

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

.page-casino__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-casino__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-casino__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-casino__card .page-casino__btn-primary {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
  width: calc(100% - 30px);
}

/* Advantages Section */
.page-casino__advantages-section {
  padding: 80px 0;
}

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

.page-casino__advantage-card {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-casino__advantage-icon {
  width: 200px; /* Min size 200x200 */
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-casino__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__advantage-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 80px 0;
}

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

.page-casino__step-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-casino__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-casino__step-card .page-casino__btn-primary {
  margin-top: auto;
  align-self: center;
  width: calc(100% - 30px);
}

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

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #26A9E0;
}

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

/* Remove default details marker */
.page-casino__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-casino__faq-item summary {
  list-style: none;
}

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

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

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-casino__hero-cta-buttons,
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__content-container {
    padding: 0 15px;
  }

  .page-casino__video-section,
  .page-casino__games-section,
  .page-casino__advantages-section,
  .page-casino__guide-section,
  .page-casino__faq-section,
  .page-casino__cta-final-section {
    padding: 40px 0;
  }

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

  .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,
  .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;
    overflow: hidden !important;
  }

  .page-casino__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-casino__advantage-icon {
    width: 200px; /* Ensure min size for icons as per global rule */
    height: 200px;
  }

  /* Ensure content area images are at least 200px */
  .page-casino__games-section img,
  .page-casino__advantages-section img,
  .page-casino__guide-section img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}