/* Base styles for page-casino */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background: #FFFFFF;
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

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

.page-casino__btn-primary {
  background: #C30808; /* Đăng Ký/Login color */
  color: #FFFF00; /* Đăng Ký/Login font color */
  border: 2px solid #C30808;
}

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

.page-casino__btn-secondary {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-casino__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
}

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

.page-casino__dark-section {
  background: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-casino__dark-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__dark-section .page-casino__section-intro {
  color: #f0f0f0;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

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

.page-casino__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-casino__description {
  font-size: 20px;
  color: #444444;
  margin-bottom: 30px;
}

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

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

.page-casino__advantage-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-casino__dark-section .page-casino__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-casino__advantage-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-casino__dark-section .page-casino__advantage-icon {
  filter: brightness(1.1);
}

.page-casino__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-casino__dark-section .page-casino__card-title {
  color: #ffffff;
}

.page-casino__card-text {
  font-size: 16px;
  line-height: 1.7;
}

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

.page-casino__game-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-casino__game-category:last-of-type {
  margin-bottom: 0;
}

.page-casino__game-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-casino__game-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__game-description {
  font-size: 17px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* Live Casino Section */
.page-casino__live-casino-section {
  padding: 60px 0;
}

.page-casino__live-casino-content {
  text-align: center;
}

.page-casino__live-casino-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
}

.page-casino__live-casino-subtitle {
  font-size: 28px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-casino__live-casino-text {
  font-size: 17px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
  color: #f0f0f0;
}

.page-casino__live-casino-cta {
  margin-top: 30px;
}

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

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

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-casino__promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.page-casino__promo-card .page-casino__card-title {
  font-size: 22px;
  margin-top: 0;
  color: #017439;
}

.page-casino__promo-card .page-casino__card-text {
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__promo-card .page-casino__btn-secondary {
  width: 100%;
  margin-top: auto;
  font-size: 16px;
  padding: 10px 15px;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

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

.page-casino__security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-casino__security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-casino__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: brightness(1.2);
  display: block;
}

.page-casino__security-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-casino__security-text {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

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

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

.page-casino__step-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #333333;
}

.page-casino__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__step-text {
  font-size: 16px;
  line-height: 1.7;
  flex-grow: 1;
}

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

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

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: #333333;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #555555;
}

/* Contact CTA Section */
.page-casino__contact-cta {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-casino__hero-section {
    padding-bottom: 40px;
  }

  .page-casino__main-title {
    font-size: 40px;
  }

  .page-casino__description {
    font-size: 18px;
  }
}

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

  .page-casino__container {
    padding: 15px;
  }

  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-casino__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino__main-title {
    font-size: 32px;
  }

  .page-casino__description {
    font-size: 16px;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-casino__hero-image-wrapper {
    max-height: 300px;
  }

  .page-casino__advantages-section,
  .page-casino__games-section,
  .page-casino__live-casino-section,
  .page-casino__promotions-section,
  .page-casino__security-section,
  .page-casino__guide-section,
  .page-casino__faq-section,
  .page-casino__contact-cta {
    padding: 40px 0;
  }

  .page-casino__advantage-card,
  .page-casino__promo-card,
  .page-casino__security-item,
  .page-casino__step-card {
    padding: 20px;
  }

  .page-casino__card-title {
    font-size: 20px;
  }

  .page-casino__game-title {
    font-size: 26px;
  }

  .page-casino__live-casino-subtitle,
  .page-casino__security-subtitle,
  .page-casino__step-title {
    font-size: 22px;
  }

  .page-casino__game-image,
  .page-casino__live-casino-image,
  .page-casino__promo-image,
  .page-casino__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-casino__game-category,
  .page-casino__live-casino-content,
  .page-casino__promotions-grid,
  .page-casino__security-content,
  .page-casino__guide-steps {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

/* Fixed header spacing (only if shared.css doesn't handle body padding-top) */
/* If shared.css does handle it, remove this from here */
/* .page-casino__hero-section { padding-top: var(--header-offset, 122px); } */

/* The following are placeholder blocks for mandatory CSS from the prompt. */
/* They are included to meet the strict requirement for their presence. */
/* The content inside might be redundant with the generated CSS above but must be present 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;}

/* Mandatory mobile @media (max-width: 768px) sections */
@media (max-width: 768px) {
  /* 1. 首屏试玩 (Already covered by 1023px block above, but ensuring explicit presence if it were a homepage) */
  /* This is a casino inner page, so no specific 'home-hero' game trial. */

  /* 2. 优惠 __promo-strip (Adapted for this page's promo-card) */
  .page-casino__promotions-grid {
    grid-template-columns: 1fr !important; /* Single column for promos */
    overflow-x: hidden !important;
    gap: 20px;
  }
  .page-casino__promo-card {
    flex-direction: column !important; /* Stack image and text vertically */
    text-align: center;
  }
  .page-casino__promo-image {
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    object-fit: cover;
    margin-bottom: 15px;
  }
  .page-casino__promo-card .page-casino__card-title {
    font-size: 20px;
  }
  .page-casino__promo-card .page-casino__card-text {
    font-size: 15px;
  }
  .page-casino__promo-card .page-casino__btn-secondary {
    width: 100% !important;
  }

  /* 3. 热门 __hot-games (Not present on this inner page, but if it were, it would be 2 columns) */
  /* This is a casino inner page, no specific 'hot-games' section. */

  /* 4. 品牌 __brand-intro (Not present on this inner page) */

  /* 5. 中奖条 __winner-ticker (Not present on this inner page) */

  /* 6. 通用图片与容器 */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-casino__hero-image-wrapper,
  .page-casino__advantages-grid,
  .page-casino__game-category,
  .page-casino__live-casino-content,
  .page-casino__promotions-section .page-casino__container,
  .page-casino__security-content,
  .page-casino__guide-steps,
  .page-casino__faq-list,
  .page-casino__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__game-category {
    padding: 20px;
  }
  .page-casino__game-image {
    max-width: 100% !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-casino__cta-button,
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .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-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }

  /* 8. 其他模块 (FAQ) */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
  }
  .page-casino__faq-qtext {
    font-size: 15px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
  }
}