/* style/casino.css */
/* body đã có padding-top: var(--header-offset); trang này không cần thêm */
.page-casino {
  background-color: #08160F; /* Nền tối tổng thể */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-casino__card-bg {
  background-color: #11271B; /* Màu nền Card BG */
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Màu border */
}

.page-casino__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Màu Gold cho tiêu đề */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Màu Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Đảm bảo ảnh trên, chữ dưới */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Padding-top nhỏ, không dùng var(--header-offset) */
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Khoảng cách giữa ảnh và nội dung */
}

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

.page-casino__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-casino__main-title {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Sử dụng clamp cho H1 */
}

.page-casino__description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Màu Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Màu Glow */
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Màu Border */
}

.page-casino__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Màu Deep Green hơi trong suốt */
  border-color: #57E38D; /* Màu Glow */
  color: #57E38D;
}

/* Video Section */
.page-casino__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-casino__video-container {
  width: 100%;
  max-width: 1000px; /* Kích thước tối đa cho video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__video-wrapper {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* General Content Area */
.page-casino__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
}

.page-casino__about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-casino__about-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__about-text p {
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-casino__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

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

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

.page-casino__game-card {
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-casino__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-casino__game-title .page-casino__link-text {
  color: #F2FFF6;
  text-decoration: none;
}

.page-casino__game-title .page-casino__link-text:hover {
  color: #57E38D;
}

.page-casino__game-description {
  color: #A7D9B8;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* 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;
  margin-bottom: 40px;
}

.page-casino__promo-card {
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-casino__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-casino__promo-title .page-casino__link-text {
  color: #F2FFF6;
  text-decoration: none;
}

.page-casino__promo-title .page-casino__link-text:hover {
  color: #57E38D;
}

.page-casino__promo-description {
  color: #A7D9B8;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-casino__view-all-promos {
  text-align: center;
}

/* Why Choose Section */
.page-casino__why-choose-section {
  padding: 60px 0;
}

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

.page-casino__feature-item {
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__feature-icon {
  width: 200px; /* Đảm bảo kích thước tối thiểu 200x200 */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 10px;
}

.page-casino__feature-description {
  color: #A7D9B8;
  font-size: 0.95em;
}

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

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

.page-casino__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6;
  background-color: #1E3A2A; /* Màu Deep Green hơi đậm hơn */
  border-bottom: 1px solid #2E7A4E; /* Màu Border */
  list-style: none; /* Dành cho details/summary */
}

.page-casino__faq-question::-webkit-details-marker {
  display: none; /* Ẩn dấu mũi tên mặc định của details */
}

.page-casino__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Màu Glow */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  padding: 20px 25px;
  background-color: #11271B; /* Màu nền Card BG */
  color: #A7D9B8;
  font-size: 1em;
}

/* CTA Section */
.page-casino__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-casino__text-center {
  text-align: center;
}

/* Link text within content */
.page-casino__link-text {
  color: #57E38D; /* Màu Glow */
  text-decoration: none;
}

.page-casino__link-text:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-casino__about-grid {
    flex-direction: column;
  }
  .page-casino__about-image-wrapper {
    order: -1; /* Đẩy ảnh lên trên trong mobile */
  }
}

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__description {
    font-size: 1em;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-section,
  .page-casino__video-section,
  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__why-choose-section,
  .page-casino__faq-section,
  .page-casino__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-section {
    padding-top: 10px !important;
  }
  .page-casino__video-section {
    padding-top: 10px !important;
  }
  .page-casino img,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__feature-icon {
    width: 200px !important;
    height: 200px !important;
  }
  .page-casino__content-area,
  .page-casino__card,
  .page-casino__section,
  .page-casino__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-casino p, .page-casino li {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
}