.page-casino {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Dark body background (#000) -> use light text */
  background-color: #000; /* Ensure consistency with body background */
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles */
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-casino__light-text {
  color: #ffffff;
}

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

.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: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

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

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

.page-casino__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-casino__btn-small {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 6px;
}

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

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared 已给 body 留白时用 0；若 shared 未给 body 留白则改为 var(--header-offset, 120px) */
  margin-top: 0;
  background-color: #000;
}

.page-casino__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-casino__hero-image {
  width: 100%;
  margin: 0;
}

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

/* LOGO Carousel Section */
.page-casino__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background-color: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-casino__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-casino__logo-carousel {
  display: flex;
  gap: 15px;
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-casino__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-casino__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #1a1a1a;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-casino__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
}

.page-casino__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-casino__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-casino__games-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #000;
}

.page-casino__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-casino__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-casino__featured-game-area {
  width: 100%;
}

.page-casino__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #FFD700;
  text-align: left;
}

.page-casino__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.page-casino__games-grid-area {
  width: 100%;
}

.page-casino__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-casino__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-casino__games-tab:hover {
  color: #FFD700;
}

.page-casino__games-tab.active {
  color: #FFD700;
  text-decoration: underline;
  text-decoration-color: #FFD700;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-casino__games-grid.active {
  display: grid;
}

.page-casino__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-casino__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.page-casino__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px 10px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Module 1: Introduction */
.page-casino__intro-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
}

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

.page-casino__intro-feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__intro-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__intro-feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Module 2: Quick Access Links */
.page-casino__quick-access-section {
  padding: 80px 20px;
  background-color: #000;
}

.page-casino__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.page-casino__quick-link-card {
  display: block;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-casino__quick-link-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__quick-link-card p {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Module 3: Core Games/Services Introduction */
.page-casino__core-games-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
}

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

.page-casino__game-type-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-casino__game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__game-type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__game-type-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-casino__game-type-card p {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-casino__game-type-card .page-casino__btn-secondary {
  margin-bottom: 20px;
}

/* Module 4: Promotions */
.page-casino__promotions-section {
  padding: 80px 20px;
  background-color: #000;
}

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

.page-casino__promotion-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-casino__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__promotion-card .page-casino__promotion-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__promotion-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__promotion-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-casino__promotion-card p {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-casino__promotion-card .page-casino__btn-primary {
  margin-bottom: 20px;
}

/* Module 5: Security & Customer Service */
.page-casino__security-support-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
}

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

.page-casino__security-support-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__security-support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__security-support-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Module 6: FAQ Section */
.page-casino__faq-section {
  padding: 80px 20px;
  background-color: #000;
}

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

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background-color: #1a1a1a;
  border-radius: 0 0 5px 5px;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino__faq-question:hover {
  background-color: #2a2a2a;
  border-color: #FFD700;
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  color: #8B0000;
  transform: rotate(45deg); /* Changed from '-' to rotate for visual effect */
}

/* Module 7: Latest Blog Content */
.page-casino__latest-news-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
}

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

.page-casino__news-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.page-casino__news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__news-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 15px 10px;
  line-height: 1.3;
}

.page-casino__news-card p.page-casino__news-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-casino__news-card .page-casino__news-date {
  display: block;
  font-size: 13px;
  color: #999;
  margin: 15px 15px 20px;
}

/* General image responsive styles */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-casino__games-layout {
    grid-template-columns: 1fr;
  }
  
  .page-casino__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-casino__intro-features,
  .page-casino__quick-links-grid,
  .page-casino__game-types-grid,
  .page-casino__promotions-grid,
  .page-casino__security-support-grid,
  .page-casino__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-casino__hero-section {
    padding-top: 0 !important;
  }
  
  .page-casino__hero-image img {
    width: 100% !important;
    height: auto !important;
  }

  /* LOGO Carousel Section */
  .page-casino__logo-carousel-section {
    padding: 20px 15px;
  }
  
  .page-casino__logo-carousel {
    gap: 12px;
  }
  
  .page-casino__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
  }
  
  .page-casino__logo-item a {
    padding: 8px;
  }

  /* Games Section */
  .page-casino__games-section {
    padding: 40px 15px;
  }
  
  .page-casino__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-casino__featured-game-title {
    font-size: 20px;
  }
  
  .page-casino__featured-game-image {
    height: 300px;
  }
  
  .page-casino__games-tabs {
    gap: 15px;
  }
  
  .page-casino__games-tab {
    font-size: 16px;
  }
  
  .page-casino__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-casino__game-card-image {
    height: 150px;
  }
  
  .page-casino__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px;
  }

  /* General Content Sections */
  .page-casino__container {
    padding: 0 15px;
  }

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

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

  /* Module 1: Introduction */
  .page-casino__intro-section {
    padding: 50px 15px;
  }

  .page-casino__intro-features {
    gap: 20px;
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .page-casino__intro-feature-item {
    padding: 25px;
  }

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

  .page-casino__intro-feature-item p {
    font-size: 15px;
  }

  /* Module 2: Quick Access Links */
  .page-casino__quick-access-section {
    padding: 50px 15px;
  }

  .page-casino__quick-links-grid {
    gap: 20px;
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .page-casino__quick-link-card {
    padding: 25px;
  }

  .page-casino__quick-link-title {
    font-size: 18px;
  }

  .page-casino__quick-link-card p {
    font-size: 14px;
  }

  /* Module 3: Core Games/Services Introduction */
  .page-casino__core-games-section {
    padding: 50px 15px;
  }

  .page-casino__game-types-grid {
    gap: 20px;
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .page-casino__game-type-card img {
    
  }

  .page-casino__game-type-card h3 {
    font-size: 18px;
  }

  .page-casino__game-type-card p {
    font-size: 14px;
  }
}