.page-casino {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-casino__hero-section {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-casino__hero-content-wrapper {
  padding: 40px 20px;
  background-color: #111111; /* Card BG */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  margin-top: -5px; /* Slight overlap with image */
}

.page-casino__main-title {
  font-size: 44px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
  line-height: 1.2;
}

.page-casino__subtitle {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-casino__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-casino__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-casino__section-title {
  font-size: 36px;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-casino__features-section,
.page-casino__popular-games-section,
.page-casino__live-experience-section,
.page-casino__faq-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #0A0A0A; /* Background */
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-casino__feature-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-casino__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__card-title {
  font-size: 24px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-casino__popular-games-section {
  background-color: #0A0A0A;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-casino__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  border-color: #FFD36B; /* Glow */
}

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

.page-casino__game-title {
  font-size: 22px;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-casino__game-description {
  font-size: 15px;
  color: #FFF6D6;
}

.page-casino__view-all-button {
  text-align: center;
}

.page-casino__live-experience-section {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
}

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

.page-casino__live-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__live-text {
  flex: 1;
  color: #FFF6D6;
}

.page-casino__live-text h2 {
  color: #F2C14E;
  font-size: 32px;
  margin-bottom: 20px;
}

.page-casino__live-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-casino__live-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__live-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD36B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 16px;
}

/* FAQ Section */
details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #1A1A1A;
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 38px;
  }
  .page-casino__subtitle {
    font-size: 16px;
  }
  .page-casino__section-title {
    font-size: 32px;
  }
  .page-casino__features-grid,
  .page-casino__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-casino__live-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__live-image {
    max-width: 80%;
  }
  .page-casino__live-text ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: 10px !important;
  }
  .page-casino__container {
    padding: 15px;
  }
  .page-casino__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-casino__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-casino__subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-casino__features-section,
  .page-casino__popular-games-section,
  .page-casino__live-experience-section,
  .page-casino__faq-section {
    padding: 40px 0;
  }
  .page-casino__features-grid,
  .page-casino__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__feature-image,
  .page-casino__game-image,
  .page-casino__live-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-casino__feature-card,
  .page-casino__game-card {
    padding: 20px;
  }
  .page-casino__card-title {
    font-size: 20px;
  }
  .page-casino__game-title {
    font-size: 18px;
  }
  .page-casino__live-image {
    max-width: 100%;
  }
  .page-casino__live-text h2 {
    font-size: 26px;
  }
  .page-casino__live-text p,
  .page-casino__live-text ul li {
    font-size: 15px;
  }
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
  }
  .page-casino__faq-qtext {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
  }
  .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;
  }
}