/* style/slot-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

:root {
  --slot-games-primary-color: #11A84E;
  --slot-games-secondary-color: #22C768;
  --slot-games-background-color: #08160F;
  --slot-games-card-bg: #11271B;
  --slot-games-text-main: #F2FFF6;
  --slot-games-text-secondary: #A7D9B8;
  --slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --slot-games-border-color: #2E7A4E;
  --slot-games-glow-color: #57E38D;
  --slot-games-gold-color: #F2C14E;
  --slot-games-divider-color: #1E3A2A;
  --slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--slot-games-text-main); /* Mặc định chữ sáng trên nền tối */
  background-color: var(--slot-games-background-color);
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Padding-top nhỏ, dựa vào body padding-top */
  background-color: var(--slot-games-background-color);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Giới hạn chiều cao của hình ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  color: var(--slot-games-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-slot-games__subtitle {
  color: var(--slot-games-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--slot-games-button-gradient);
  color: var(--slot-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--slot-games-text-main);
  border: 2px solid var(--slot-games-primary-color);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--slot-games-primary-color);
  color: var(--slot-games-text-main);
  transform: translateY(-2px);
}

.page-slot-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--slot-games-divider-color);
}

.page-slot-games__dark-section {
  background-color: var(--slot-games-background-color);
  color: var(--slot-games-text-main);
}

.page-slot-games__content-area {
  background-color: var(--slot-games-card-bg);
  color: var(--slot-games-text-main);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--slot-games-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--slot-games-text-secondary);
}

.page-slot-games__text-block a {
  color: var(--slot-games-glow-color);
  text-decoration: underline;
}

.page-slot-games__text-block a:hover {
  color: var(--slot-games-gold-color);
}

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

.page-slot-games__card {
  background-color: var(--slot-games-card-bg);
  border: 1px solid var(--slot-games-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--slot-games-text-main);
}

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

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--slot-games-primary-color);
  margin-bottom: 10px;
}

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--slot-games-text-secondary);
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
}

.page-slot-games__image-left {
  width: 100%;
  max-width: 400px;
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  height: auto;
  display: block;
}

.page-slot-games__image-right {
  width: 100%;
  max-width: 400px;
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  height: auto;
  display: block;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-slot-games__list-item {
  background-color: var(--slot-games-card-bg);
  border: 1px solid var(--slot-games-border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background: var(--slot-games-primary-color);
  color: var(--slot-games-text-main);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__list-item .page-slot-games__sub-title {
  margin-top: 0;
  color: var(--slot-games-gold-color);
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: var(--slot-games-card-bg);
  border: 1px solid var(--slot-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--slot-games-text-main);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--slot-games-primary-color);
  background-color: var(--slot-games-deep-green);
  border-bottom: 1px solid var(--slot-games-border-color);
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  border-bottom: 1px solid var(--slot-games-border-color);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--slot-games-gold-color);
}

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--slot-games-text-secondary);
}

.page-slot-games__faq-answer .page-slot-games__image-faq {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Clear floats for images */
.page-slot-games__content-area::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__sub-title {
    font-size: 1.5em;
  }

  .page-slot-games__text-block {
    font-size: 1em;
  }

  .page-slot-games__image-left,
  .page-slot-games__image-right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-slot-games__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-slot-games__subtitle {
    font-size: 1em;
    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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__sub-title {
    font-size: 1.3em;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.3em;
  }

  /* Responsive images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__image-full-width,
  .page-slot-games__image-left,
  .page-slot-games__image-right,
  .page-slot-games__faq-answer .page-slot-games__image-faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .page-slot-games__list-item {
    padding-left: 65px;
    padding-right: 15px;
  }

  .page-slot-games__list-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
}