/* style/casino.css */
/* body đã padding-top: var(--header-offset) bởi shared.css; trang này không cần thêm */
.page-casino {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__section {
  padding: 60px 20px;
  text-align: center;
  background-color: #08160F;
}

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

.page-casino__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-casino__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Padding-top nhỏ, không dùng var(--header-offset) */
  background-color: #08160F;
  overflow: hidden;
}

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

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

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

.page-casino__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Đảm bảo nút không tràn */
  white-space: normal; /* Cho phép văn bản xuống dòng */
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

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

.page-casino__btn-text {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 1px solid #F2C14E;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-casino__btn-text:hover {
  background: #F2C14E;
  color: #08160F;
}

.page-casino__why-choose .page-casino__section-title,
.page-casino__game-providers .page-casino__section-title,
.page-casino__how-to-play .page-casino__section-title,
.page-casino__strategy-tips .page-casino__section-title,
.page-casino__faq-section .page-casino__section-title,
.page-casino__conclusion .page-casino__section-title {
  margin-bottom: 20px;
}

.page-casino__features-grid,
.page-casino__providers-grid,
.page-casino__steps-grid,
.page-casino__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__card,
.page-casino__provider-card,
.page-casino__step-card,
.page-casino__tip-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__card:hover,
.page-casino__provider-card:hover,
.page-casino__step-card:hover,
.page-casino__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-casino__card-image,
.page-casino__provider-logo {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__card-title,
.page-casino__provider-name,
.page-casino__step-title,
.page-casino__tip-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-casino__card-text,
.page-casino__provider-description,
.page-casino__step-text,
.page-casino__tip-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-casino__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  width: 50px;
  height: 50px;
  background-color: #2AD16F;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-casino__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
}

.page-casino__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-casino__faq-qtext {
  flex-grow: 1;
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−';
}

.page-casino__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 2.5em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-casino__section {
    padding: 40px 15px;
  }

  .page-casino__main-title {
    font-size: 2em;
    line-height: 1.3;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }

  .page-casino__hero-description {
    font-size: 1em;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-text {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-casino__card,
  .page-casino__provider-card,
  .page-casino__step-card,
  .page-casino__tip-card {
    padding: 25px;
  }

  .page-casino__card-image,
  .page-casino__provider-logo {
    min-width: 150px;
    min-height: 150px;
  }

  .page-casino__features-grid,
  .page-casino__providers-grid,
  .page-casino__steps-grid,
  .page-casino__tips-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* 强制图片适配移动端 */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__hero-image-wrapper,
  .page-casino__container,
  .page-casino__section,
  .page-casino__card,
  .page-casino__provider-card,
  .page-casino__step-card,
  .page-casino__tip-card,
  .page-casino__faq-list,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ngăn tràn nội dung */
  }

  .page-casino__hero-section {
    padding-top: 10px !important; /* Đảm bảo khoảng cách top nhỏ */
  }

  .page-casino__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-casino__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__hero-description {
    font-size: 0.95em;
  }
}