.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

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

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

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

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-casino__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* --- General Section Styles --- */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-casino__text-block {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1.1em;
  line-height: 1.8;
}

/* --- About Section --- */
.page-casino__about-section {
  padding: 60px 0;
  background-color: #000000;
}

.page-casino__about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-casino__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 20px;
}

/* --- Games Section --- */
.page-casino__games-section {
  padding: 60px 0;
  background-color: #000000;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white card background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-casino__game-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-casino__game-description {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Features Section --- */
.page-casino__features-section {
  padding: 60px 0;
  background-color: #000000;
}

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

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__feature-icon {
  width: 120px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-casino__feature-description {
  color: #e0e0e0;
}

/* --- Promotions Section --- */
.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #000000;
}

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

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

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

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

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

.page-casino__promo-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__promo-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-casino__promo-description {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* --- Guide Section --- */
.page-casino__guide-section {
  padding: 60px 0;
  background-color: #000000;
}

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

.page-casino__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-casino__step-description {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- FAQ Section --- */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #000000;
}

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly lighter brand blue for question background */
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-casino__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
}

.page-casino__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
  content: "−"; /* Visually change the plus to minus */
}

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

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
  padding-top: 0;
}

.page-casino__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

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

.page-casino__cta-final-content {
  background: rgba(38, 169, 224, 0.15); /* Brand blue tinted background */
  border-radius: 15px;
  padding: 50px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- Button Styles --- */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

.page-casino__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

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

.page-casino__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

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

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

  .page-casino__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
    min-height: 60vh;
  }

  .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 {
    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__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-casino__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-casino__about-content {
    gap: 20px;
  }

  .page-casino__game-categories,
  .page-casino__features-grid,
  .page-casino__promotions-grid,
  .page-casino__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-card,
  .page-casino__feature-item,
  .page-casino__promo-card,
  .page-casino__step-item {
    padding: 20px;
  }

  .page-casino__image-full,
  .page-casino__game-image,
  .page-casino__feature-icon,
  .page-casino__promo-image {
    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__features-section,
  .page-casino__promotions-section,
  .page-casino__guide-section,
  .page-casino__faq-section,
  .page-casino__cta-final-section,
  .page-casino__cta-final-content,
  .page-casino__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__faq-question {
    padding: 15px;
 }}