.page-casino {
  font-family: 'Arial', sans-serif;
  background: var(--page-bg, #0A0A0A); /* Default to dark if shared.css not loaded */
  color: var(--text-main, #FFF6D6); /* Default to light text */
  line-height: 1.6;
}

.page-casino__section-padding {
  padding: 60px 0;
}

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

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

.page-casino__description-small {
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__card-button {
  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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light gradient */
  border: none;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #FFE699 0%, #E6B02A 100%);
  transform: translateY(-2px);
}

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

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

.page-casino__card-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-casino__card-button:hover {
  background: linear-gradient(180deg, #FFE699 0%, #E6B02A 100%);
  transform: translateY(-2px);
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per instruction */
  min-height: 600px;
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 60px 15px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-top: 100px; /* Adjust to ensure it's below shared header */
}

.page-casino__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-casino__hero-content .page-casino__description {
  font-size: 20px;
  margin-bottom: 40px;
}

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

/* About Section */
.page-casino__about-section .page-casino__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: #FFF6D6;
}

.page-casino__about-section .page-casino__text-block p {
  margin-bottom: 1em;
}

/* Games Section */
.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-casino__game-card .page-casino__card-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-casino__game-card .page-casino__card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card p {
  font-size: 15px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.page-casino__feature-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* CTA Banner Section */
.page-casino__cta-banner-container {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.page-casino__cta-banner-image {
  flex-shrink: 0;
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.page-casino__cta-banner-content {
  flex-grow: 1;
  text-align: left;
}

.page-casino__cta-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__cta-description {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
  text-align: left;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px 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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B;
  font-size: 18px;
  font-weight: 600;
}

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: rgba(255, 211, 107, 0.1);
}

.page-casino__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

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

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter dark background */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-casino__faq-answer p {
  margin: 0;
}

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

.page-casino__contact-cta .page-casino__section-title {
  margin-bottom: 20px;
}

.page-casino__contact-cta .page-casino__description-small {
  margin-bottom: 40px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-content {
    padding: 40px 15px;
    margin-top: 80px;
  }

  .page-casino__cta-banner-container {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__cta-banner-image {
    width: 80%;
    margin-bottom: 30px;
  }

  .page-casino__cta-banner-content {
    text-align: center;
  }

  .page-casino__section-padding {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  /* General containers and images for mobile */
  .page-casino__container,
  .page-casino__section,
  .page-casino__card,
  .page-casino__cta-banner-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* HERO 主图区域 - Mobile */
  .page-casino__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    min-height: 450px;
  }
  .page-casino__hero-image img {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio based on content */
    max-height: 300px; /* Limit height to prevent image from dominating screen */
  }
  .page-casino__hero-content {
    padding: 30px 15px;
    margin-top: 50px;
  }
  .page-casino__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-casino__hero-content .page-casino__description {
    font-size: 16px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__card-button {
    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;
  }

  /* 产品展示图区域 - Mobile */
  .page-casino__games-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-casino__game-card {
    padding: 15px;
  }
  .page-casino__game-card img {
    
    margin-bottom: 15px;
  }
  .page-casino__game-card .page-casino__card-title {
    font-size: 18px;
  }
  .page-casino__game-card p {
    font-size: 14px;
  }

  /* 装饰主标题 + 长文 SEO 区 - Mobile */
  .page-casino__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }
  .page-casino__about-section .page-casino__text-block {
    font-size: 15px;
    padding: 0 5px;
  }

  /* Why Choose Us Section - Mobile */
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__feature-item {
    padding: 20px;
  }
  .page-casino__feature-title {
    font-size: 20px;
  }
  .page-casino__feature-item p {
    font-size: 15px;
  }

  /* CTA Banner Section - Mobile */
  .page-casino__cta-banner-container {
    padding: 30px 15px;
  }
  .page-casino__cta-banner-image {
    width: 100%;
    margin-bottom: 20px;
  }
  .page-casino__cta-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .page-casino__cta-description {
    font-size: 16px;
  }

  /* FAQ Section - Mobile */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-casino__faq-qtext {
    font-size: 15px;
  }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Contact CTA Section - Mobile */
  .page-casino__contact-cta .page-casino__section-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .page-casino__contact-cta .page-casino__description-small {
    font-size: 15px;
  }
}