/* style/slot-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  --background-color: #FFFFFF;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-slot-games__section-title--white {
  color: var(--text-color-light);
}

.page-slot-games__section-title--white::after {
  background-color: var(--text-color-light);
}

.page-slot-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block--white {
  color: var(--text-color-light);
}

.page-slot-games__keyword {
  font-weight: bold;
  color: var(--primary-color);
}

.page-slot-games__text-block--white .page-slot-games__keyword {
  color: var(--secondary-color);
}

.page-slot-games__link-inline {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__link-inline:hover {
  color: #005f2c;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light);
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-slot-games__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.page-slot-games__btn-register {
  background: var(--button-register-bg);
  color: var(--button-text-yellow);
  border: 2px solid var(--button-text-yellow);
}

.page-slot-games__btn-register:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-login {
  background: var(--button-login-bg);
  color: var(--button-text-yellow);
  border: 2px solid var(--button-text-yellow);
}

.page-slot-games__btn-login:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-download {
  background: var(--button-register-bg);
  color: var(--button-text-yellow);
  border: 2px solid var(--button-text-yellow);
}

.page-slot-games__btn-download:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-learn-more {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-learn-more:hover {
  background: #e0e0e0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-primary:hover {
  background: #005f2c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-register-inline, .page-slot-games__btn-login-inline {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: underline;
}

.page-slot-games__btn-register-inline:hover, .page-slot-games__btn-login-inline:hover {
  color: #005f2c;
}

/* General Section Styles */
.page-slot-games__intro-section, .page-slot-games__how-to-play-section, .page-slot-games__promotions-section, .page-slot-games__security-support-section, .page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__game-types-section, .page-slot-games__tips-tricks-section, .page-slot-games__app-download-section {
  padding: 80px 0;
  background-color: var(--primary-color);
}

.page-slot-games__image-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__game-card-description {
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Guide List */
.page-slot-games__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__guide-list li {
  counter-increment: guide-counter;
  font-size: 17px;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
}

.page-slot-games__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Tips List */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  color: var(--text-color-light);
}

.page-slot-games__tips-list li {
  font-size: 17px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-slot-games__tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 18px;
}

.page-slot-games__tips-list li strong {
  color: var(--secondary-color);
}

/* Promotion Grid */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-slot-games__promo-card-description {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 15px 20px;
}

/* App Download Section */
.page-slot-games__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 40px 20px;
}

.page-slot-games__app-text {
  flex: 1;
}

.page-slot-games__app-image {
  flex-shrink: 0;
}

.page-slot-games__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__app-cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Security & Support */
.page-slot-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--text-color-dark);
}

.page-slot-games__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-slot-games__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 25px;
  opacity: 0;
  background: #f9f9f9;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-slot-games__faq-item.active .page-slot-games__faq-question h3,
.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 42px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }
  .page-slot-games__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__app-text, .page-slot-games__app-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: unset;
  }
  .page-slot-games__hero-cta-buttons, .page-slot-games__app-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__intro-section, .page-slot-games__how-to-play-section, .page-slot-games__promotions-section, .page-slot-games__security-support-section, .page-slot-games__faq-section,
  .page-slot-games__game-types-section, .page-slot-games__tips-tricks-section, .page-slot-games__app-download-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: 28px;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block, .page-slot-games__guide-list li, .page-slot-games__tips-list li {
    font-size: 15px;
  }
  .page-slot-games__image-wrapper img, .page-slot-games__app-image img, .page-slot-games__promo-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__game-card, .page-slot-games__promo-card, .page-slot-games__feature-item {
    padding: 20px;
  }
  .page-slot-games__game-card-title, .page-slot-games__promo-card-title, .page-slot-games__feature-title {
    font-size: 20px;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 28px;
  }
  .page-slot-games__section-title {
    font-size: 24px;
  }
  .page-slot-games__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-slot-games__game-grid, .page-slot-games__promo-grid, .page-slot-games__security-features {
    gap: 20px;
  }
}