/* style/slot-games.css */
.page-slot-games {
  background-color: #08160F; /* Nền tối theo màu Background */
  color: #F2FFF6; /* Chữ sáng theo màu Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Màu Gold cho tiêu đề chính */
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__highlight {
  color: #57E38D; /* Màu Glow cho điểm nhấn */
  font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Nhỏ gọn, body đã có padding-top */
  background-color: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  text-align: center;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-slot-games__description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta-buttons--center {
  margin-top: 30px;
}

.page-slot-games__cta-buttons--bottom {
  margin-top: 40px;
}

/* Grid for Benefits and Popular Games */
.page-slot-games__grid-3-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid-2-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-slot-games__card-image,
.page-slot-games__game-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__card-title,
.page-slot-games__game-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__card-text,
.page-slot-games__game-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-slot-games__game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__image-container {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  text-align: left;
  max-width: 900px;
  margin: 30px auto 40px auto;
  padding-left: 25px;
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__list-item-title {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-slot-games__ordered-list li a,
.page-slot-games__unordered-list li a,
.page-slot-games__text-block a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__ordered-list li a:hover,
.page-slot-games__unordered-list li a:hover,
.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-slot-games__video-promo {
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-slot-games__video-link-wrapper {
  display: block;
  text-decoration: none;
  cursor: pointer;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #2E7A4E; /* Border */
  position: relative;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-slot-games__play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-slot-games__video-link-wrapper:hover .page-slot-games__play-overlay {
  opacity: 1;
}

.page-slot-games__play-overlay::before {
  content: '\25B6'; /* Play icon */
  font-size: 80px;
  color: #F2C14E;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-slot-games__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green for open state */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-games__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games__description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }
  .page-slot-games__grid-2-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
  }
  .page-slot-games__hero-content {
    padding: 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-slot-games__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__grid-3-columns,
  .page-slot-games__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card,
  .page-slot-games__game-card {
    padding: 20px;
  }
  .page-slot-games__card-image,
  .page-slot-games__game-image {
    max-height: 200px;
  }
  .page-slot-games__ordered-list,
  .page-slot-games__unordered-list {
    padding-left: 20px;
    margin: 20px auto 30px auto;
  }
  .page-slot-games__ordered-list li,
  .page-slot-games__unordered-list li {
    font-size: 1em;
  }
  .page-slot-games__image-container,
  .page-slot-games__video-link-wrapper {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__video-promo,
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  .page-slot-games__faq-list {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    min-height: 400px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-slot-games__description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
  .page-slot-games__card-title,
  .page-slot-games__game-title {
    font-size: 1.4em;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
  }
  .page-slot-games__faq-toggle {
    font-size: 1.5em;
  }
}