/* Base styles for page-casino */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #f5f5f5;
}

.page-casino__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  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-description {
  font-size: 18px;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: #C30808; /* Đăng ký/Đăng nhập button color */
  color: #FFFF00; /* Đăng ký/Đăng nhập font color */
  border: 2px solid #C30808;
}

.page-casino__btn-primary:hover {
  background: #d40a0a;
  border-color: #d40a0a;
  transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

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

/* Hero Section */
.page-casino__hero-section {
  padding: 10px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-casino__main-title {
  font-size: clamp(30px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #FFFF00; /* Font color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__intro-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Why Choose Us Section */
.page-casino__why-choose-us {
  padding: 80px 0;
}

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

.page-casino__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-casino__feature-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Game Selection Section */
.page-casino__game-selection {
  padding: 80px 0;
}

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

.page-casino__game-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-casino__game-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-casino__promo-item {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-casino__promo-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Info Section */
.page-casino__security-info {
  padding: 80px 0;
}

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

.page-casino__security-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-casino__security-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-casino__security-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Get Started Section */
.page-casino__get-started {
  padding: 80px 0;
}

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

.page-casino__step-item {
  padding: 25px;
  position: relative;
}

.page-casino__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #017439;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 4px solid #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-casino__step-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-casino__step-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.page-casino__cta-buttons--centered {
  margin-top: 40px;
}

/* Mobile Experience Section */
.page-casino__mobile-experience {
  padding: 80px 0;
}

.page-casino__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-casino__mobile-content {
  flex: 1;
}

.page-casino__mobile-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
}

.page-casino__mobile-features li {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-casino__mobile-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #FFFF00;
}

.page-casino__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Support Contact Section */
.page-casino__support-contact {
  padding: 80px 0;
}

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

.page-casino__channel-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 30px;
}

.page-casino__channel-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__channel-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

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

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: 16px;
  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;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Homepage game trial CSS - Included as per instruction for output format, though not used in this page's HTML */
  .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;
    margin: 0 auto;
    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;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-casino__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !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) {
  /* Homepage game trial CSS - Included as per instruction for output format, though not used in this page's HTML */
  .page-casino__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-casino__hero-brand,
  .page-casino__hero-jackpot,
  .page-casino__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-casino__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-casino__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-casino__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-casino__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-casino__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 10px 0 40px;
  }
  .page-casino__hero-image {
    margin-bottom: 20px;
  }
  .page-casino__main-title {
    font-size: 28px;
  }
  .page-casino__intro-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .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;
  }

  .page-casino__container {
    padding: 0 15px;
  }

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

  .page-casino__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-casino__why-choose-us,
  .page-casino__game-selection,
  .page-casino__promotions,
  .page-casino__security-info,
  .page-casino__get-started,
  .page-casino__mobile-experience,
  .page-casino__support-contact,
  .page-casino__faq-section {
    padding: 50px 0;
  }

  .page-casino__features-grid,
  .page-casino__game-grid,
  .page-casino__promo-list,
  .page-casino__security-grid,
  .page-casino__steps-grid,
  .page-casino__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__feature-title,
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__security-item h3,
  .page-casino__step-item h3,
  .page-casino__channel-card h3 {
    font-size: 20px;
  }

  .page-casino__feature-item p,
  .page-casino__game-card p,
  .page-casino__promo-item p,
  .page-casino__security-item p,
  .page-casino__step-item p,
  .page-casino__channel-card p {
    font-size: 15px;
  }

  .page-casino__mobile-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__mobile-features {
    margin: 20px 0;
  }

  .page-casino__mobile-features li {
    font-size: 16px;
  }

  details.page-casino__faq-item summary.page-casino__faq-question { padding: 15px; }
  .page-casino__faq-qtext { font-size: 15px; }
  .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; }

  /* Mobile image specific rules */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__why-choose-us,
  .page-casino__game-selection,
  .page-casino__promotions,
  .page-casino__security-info,
  .page-casino__get-started,
  .page-casino__mobile-experience,
  .page-casino__support-contact,
  .page-casino__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .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;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
  }

  /* Placeholder for homepage promo/hot-games/brand-intro/winner-ticker - Not applicable to this page, but included as per output format requirements */
  .page-casino__promo-strip-track { grid-template-columns: repeat(1, 1fr); overflow-x: hidden; }
  .page-casino__hot-games-grid { grid-template-columns: repeat(1, 1fr); }
  .page-casino__brand-intro { display: block; } /* If it were hidden on desktop */
  .page-casino__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; } /* Example, if ticker existed */
  body { padding-bottom: 50px; } /* Adjust for fixed ticker */
  main { padding-bottom: 50px; } /* Adjust for fixed ticker */
}

/* Homepage game trial related CSS - Included as per instruction for output format, though not used in this page's HTML */
.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;}
.page-casino__reward-modal-close {
  background: #C30808;
  color: #FFFF00;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
}
.page-casino__reward-modal-close:hover {
  background: #d40a0a;
}

.page-casino__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-casino__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-casino p, .page-casino li {
  color: #333333; /* Default text color for light backgrounds */
}

.page-casino__dark-section p, .page-casino__dark-section li {
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}