/* Base styles */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-casino__section-description {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-casino__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-casino__btn-text-link {
  background: none;
  color: #2F6BFF;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  text-decoration: underline;
}

.page-casino__btn-text-link:hover {
  color: #4A8BFF;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #F4F7FB;
}

.page-casino__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-casino__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px 50px;
  text-align: center;
}

.page-casino__hero-title {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 */
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 20px;
  color: #1F2D3D;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-casino__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For mobile */
}

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

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

.page-casino__feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-casino__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 16px;
  color: #1F2D3D;
}

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

.page-casino__content-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.page-casino__game-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__game-text {
  font-size: 15px;
  color: #1F2D3D;
}

/* Live Section */
.page-casino__live-section {
  padding: 60px 0;
  background: #F4F7FB;
}

.page-casino__live-features-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
}

.page-casino__live-features-list li {
  background: #ffffff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 17px;
  color: #1F2D3D;
  border-left: 5px solid #2F6BFF;
}

.page-casino__live-features-list li strong {
  color: #2F6BFF;
}

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

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

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__promo-text {
  font-size: 15px;
  color: #1F2D3D;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-casino__get-started-section {
  padding: 60px 0;
  background: #F4F7FB;
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-casino__step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__step-number {
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 4px solid #F4F7FB;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-casino__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-casino__step-text {
  font-size: 16px;
  color: #1F2D3D;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background: #EAF0F8;
}

.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-casino__security-list li {
  background: #ffffff;
  padding: 18px 25px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-size: 17px;
  color: #1F2D3D;
  border-left: 5px solid #2F6BFF;
}

.page-casino__security-list li strong {
  color: #2F6BFF;
  font-size: 18px;
}

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

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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;
}
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: #f5f5f5;
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 16px;
}

/* Final CTA Section */
.page-casino__final-cta-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  text-align: center;
  color: #ffffff;
}

.page-casino__final-cta-section .page-casino__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-casino__final-cta-section .page-casino__section-description {
  color: #ffffff;
  margin-bottom: 40px;
}

.page-casino__final-cta-section .page-casino__btn-primary {
  background: #ffffff;
  color: #2F6BFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-casino__final-cta-section .page-casino__btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */

/* Tablet & Smaller Desktop (up to 1023px) */
@media (max-width: 1023px) {
  .page-casino__hero-image {
    margin-bottom: 20px;
  }
  .page-casino__hero-content {
    padding-bottom: 30px;
  }
  .page-casino__hero-title {
    font-size: 38px;
  }
  .page-casino__hero-description {
    font-size: 18px;
  }
  .page-casino__features-grid,
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-casino__section-title {
    font-size: 28px;
  }
  .page-casino__section-description {
    font-size: 16px;
  }
  .page-casino__feature-title, .page-casino__game-title, .page-casino__promo-title, .page-casino__step-title {
    font-size: 20px;
  }
  .page-casino__faq-qtext {
    font-size: 17px;
  }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  .page-casino__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All containers with images or buttons */
  .page-casino__hero-section,
  .page-casino__features-section,
  .page-casino__games-section,
  .page-casino__live-section,
  .page-casino__promotions-section,
  .page-casino__get-started-section,
  .page-casino__security-section,
  .page-casino__faq-section,
  .page-casino__final-cta-section,
  .page-casino__hero-content,
  .page-casino__hero-cta,
  .page-casino__features-grid,
  .page-casino__feature-card,
  .page-casino__games-grid,
  .page-casino__game-card,
  .page-casino__live-features-list,
  .page-casino__promotions-grid,
  .page-casino__promo-card,
  .page-casino__steps-grid,
  .page-casino__step-card,
  .page-casino__security-list,
  .page-casino__faq-list,
  .page-casino__faq-item,
  .page-casino__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* Container itself */
    padding-right: 0; /* Container itself */
  }
  .page-casino__hero-content,
  .page-casino__container:not(.page-casino__hero-content) { /* Apply inner padding to content within sections */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .page-casino__hero-description {
    font-size: 16px;
  }
  .page-casino__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-text-link,
  .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-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-casino__section-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-casino__feature-title, .page-casino__game-title, .page-casino__promo-title, .page-casino__step-title {
    font-size: 18px;
  }
  .page-casino__feature-card, .page-casino__game-card, .page-casino__promo-card, .page-casino__step-card {
    padding: 20px;
  }

  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;
  }
}

/* Boilerplate for homepage (not directly used by casino.html content, but included as per instructions) */
@media (max-width:1023px){.page-casino__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-casino__hero-brand,.page-casino__hero-jackpot{display:none!important;}.page-casino__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-casino__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-casino__game-trial-topbar,.page-casino__game-trial-bottombar{display:none!important;}.page-casino__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-casino__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-casino__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-casino__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-casino__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-casino__hero-brand,.page-casino__hero-jackpot,.page-casino__game-trial{height:300px;max-height:300px;}.page-casino__game-trial{overflow:hidden;}.page-casino__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-casino__game-trial-viewport{flex:1;min-height:0;}.page-casino__game-trial-frame{height:100%;min-height:0;}.page-casino__hero-jackpot-claim{background:#c62828!important;}.page-casino__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-casino__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-casino__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-casino__game-trial-overlay{z-index:5;pointer-events:auto;}.page-casino__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-casino__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-casino__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-casino__reward-modal{position:fixed;inset:0;z-index:10000;}