/* General Styles for .page-casino */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-casino__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-casino__dark-section {
  background-color: #11271B; /* Card BG, slightly lighter dark green */
}

.page-casino__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-casino__sub-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-casino__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 10px rgba(30, 58, 42, 0.3);
}

.page-casino__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D; /* Glow */
  box-shadow: 0 6px 15px rgba(87, 227, 141, 0.3);
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared handles body padding */
  padding-bottom: 60px;
}

.page-casino__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 810px; /* Fixed height for desktop */
  overflow: hidden;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
  max-width: 900px;
  margin: -200px auto 0; /* Adjust margin to place content below image */
  background: rgba(8, 22, 15, 0.85); /* Background */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Use clamp for H1 */
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-casino__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Games Section */
.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.page-casino__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(42, 209, 111, 0.5);
}

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Fixed height for game cards */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-casino__game-btn {
  padding: 12px 25px;
  font-size: 16px;
}

.page-casino__live-casino {
  margin-top: 80px;
  text-align: center;
}

.page-casino__live-casino-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-casino__game-trial-frame {
  border: 5px solid #2E7A4E; /* Border */
  border-radius: 15px;
  width: 100%;
  height: 600px;
  display: block;
  margin-bottom: 30px;
  background-color: #0A4B2C; /* Deep Green */
}

.page-casino__view-all-btn {
  margin-top: 20px;
}

/* Promotions Section */
.page-casino__promotions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.page-casino__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(42, 209, 111, 0.5);
}

.page-casino__promotion-image {
  width: 100%;
  height: 200px; /* Fixed height for promotion cards */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__promotion-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promotion-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-casino__promotion-btn {
  padding: 12px 25px;
  font-size: 16px;
}

.page-casino__view-all-promotions {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* How to Join Section */
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.page-casino__step-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(87, 227, 141, 0.4);
}

.page-casino__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin: 0 auto 25px;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.5);
}

.page-casino__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-casino__step-btn {
  padding: 10px 20px;
  font-size: 15px;
}

/* Why Choose Section */
.page-casino__advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.page-casino__advantage-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(42, 209, 111, 0.5);
}

.page-casino__advantage-image {
  width: 100%;
  height: 180px; /* Fixed height for advantage cards */
  object-fit: contain;
  display: block;
  margin: 0 auto 25px;
}

.page-casino__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-casino__advantage-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #0A4B2C; /* Deep Green */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

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: #11271B; /* Card BG */
}

.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 25px;
  background: #08160F; /* Background */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

/* Conclusion Section */
.page-casino__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-image-wrapper {
    height: 600px;
  }
  .page-casino__hero-content {
    margin-top: -150px;
    padding: 30px 15px;
  }
  .page-casino__main-title {
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  }
  .page-casino__hero-description {
    font-size: 18px;
  }
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-casino__steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-casino__section-title {
    font-size: 32px;
  }
  .page-casino__sub-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  /* Banner __hero-section */
  .page-casino__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-casino__hero-image-wrapper {
    height: 400px; /* Adjust height for mobile */
  }
  .page-casino__hero-image {
    object-fit: contain !important; /* Force contain for mobile banner */
  }
  .page-casino__hero-content {
    margin-top: -100px; /* Adjust margin for mobile */
    padding: 25px 15px;
  }
  .page-casino__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* Three access buttons __access-links (general button group) */
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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;
  }

  /* Five entry points __category-lobby (general grid for game categories) */
  /* This specific class is not used in HTML, but responsive rules for such a grid are provided as per requirement */
  .page-casino__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for a 2-column grid */
    gap: 15px;
  }
  .page-casino__category-card-link img {
    aspect-ratio: 1/1 !important;
    width: 100% !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Blog slider __blog-slider (general slider/card responsiveness) */
  /* This specific class is not used in HTML, but responsive rules for such a card/slider are provided as per requirement */
  .page-casino__blog-slider-track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-casino__post-item {
    flex: 0 0 90%; /* Show one card at a time with some peek */
    max-width: 90%;
    margin-right: 15px;
    scroll-snap-align: start;
  }
  .page-casino__blog-slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .page-casino__blog-slider-prev, .page-casino__blog-slider-next {
    font-size: 30px;
    color: #F2C14E;
    cursor: pointer;
    padding: 0 10px;
  }

  /* General Image and Button Responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section,
  .page-casino__container,
  .page-casino__game-card,
  .page-casino__promotion-card,
  .page-casino__step-card,
  .page-casino__advantage-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__advantages-grid,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-casino__game-image,
  .page-casino__promotion-image,
  .page-casino__advantage-image {
    height: auto; /* Allow height to adjust */
    max-height: 200px; /* Cap max height for smaller screens */
  }
  .page-casino__game-title,
  .page-casino__promotion-title,
  .page-casino__step-title,
  .page-casino__advantage-title {
    font-size: 20px;
  }
  .page-casino__live-casino-description {
    font-size: 16px;
  }
  .page-casino__game-trial-frame {
    height: 400px;
  }

  details.page-casino__faq-item summary.page-casino__faq-question { padding: 15px; }
  .page-casino__faq-qtext { font-size: 16px; }
  details.page-casino__faq-item .page-casino__faq-answer { padding: 0 15px 15px; }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
}

/* Ensure contrast for specific elements if needed based on background */
.page-casino p, .page-casino li, .page-casino h1, .page-casino h2, .page-casino h3, .page-casino h4, .page-casino a {
  color: #F2FFF6; /* Main text color for dark background */
}

.page-casino__section-description, .page-casino__game-description, .page-casino__promotion-description, .page-casino__step-description, .page-casino__advantage-description, .page-casino__live-casino-description, .page-casino__faq-answer p {
  color: #A7D9B8; /* Secondary text color */
}

.page-casino__section-title, .page-casino__main-title {
  color: #F2C14E; /* Gold for titles */
}

/* Ensure buttons have sufficient contrast */
.page-casino__btn-primary { color: #F2FFF6; }
.page-casino__btn-secondary { color: #57E38D; }

/* No filter for images */
.page-casino img { filter: none; }