/* style/slot-games.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-slot-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-slot-games__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-slot-games__dark-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--background-dark) 100%);
  color: var(--text-light);
  padding: 80px 0;
}

/* Hero Banner Section */
.page-slot-games__hero-banner {
  padding: 100px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--background-dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-subtitle {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--background-dark);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-slot-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background: #a00000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
  color: var(--text-dark);
}

.page-slot-games__introduction-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
}

.page-slot-games__text-block p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-slot-games__text-link {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
  padding: 80px 0;
}

.page-slot-games__games-showcase .page-slot-games__section-title {
  color: var(--primary-color);
}

.page-slot-games__games-showcase .page-slot-games__section-description {
  color: var(--text-light);
}

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

.page-slot-games__game-card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__game-card-description {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  color: var(--text-dark);
}

.page-slot-games__promotions-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__promotions-section .page-slot-games__section-description {
  color: var(--text-dark);
}

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

.page-slot-games__promo-card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promo-image {
  max-width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__promo-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Latest News Section */
.page-slot-games__latest-news-section {
  padding: 80px 0;
}

.page-slot-games__latest-news-section .page-slot-games__section-title {
  color: var(--primary-color);
}

.page-slot-games__latest-news-section .page-slot-games__section-description {
  color: var(--text-light);
}

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

.page-slot-games__news-card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__news-image {
  width: 100%;
  height: 220px; /* Fixed height for news images */
  object-fit: cover;
  display: block;
}

.page-slot-games__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__news-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__news-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__news-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-slot-games__news-excerpt {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slot-games__news-date {
  font-size: 14px;
  color: #777;
  align-self: flex-end;
}

.page-slot-games__view-all-news {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  color: var(--text-dark);
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px 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(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.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-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-answer p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-title {
    font-size: 40px;
  }
  .page-slot-games__hero-subtitle {
    font-size: 20px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
  }
  .page-slot-games__game-card-image, .page-slot-games__promo-image, .page-slot-games__news-image {
    height: 180px;
  }
  .page-slot-games__game-card-title, .page-slot-games__promo-title {
    font-size: 22px;
  }
  .page-slot-games__news-title {
    font-size: 20px;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-banner {
    padding: 80px 0 40px;
  }
  .page-slot-games__hero-title {
    font-size: 32px;
  }
  .page-slot-games__hero-subtitle {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-slot-games__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .page-slot-games__introduction-section, .page-slot-games__games-showcase, .page-slot-games__promotions-section, .page-slot-games__latest-news-section, .page-slot-games__faq-section {
    padding: 60px 0;
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }
  .page-slot-games__game-cards-grid, .page-slot-games__promo-grid, .page-slot-games__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-slot-games__game-card, .page-slot-games__promo-card, .page-slot-games__news-card {
    padding: 20px;
  }
  .page-slot-games__game-card-image, .page-slot-games__promo-image, .page-slot-games__news-image {
    height: 160px;
    margin-bottom: 20px;
  }
  .page-slot-games__game-card-title, .page-slot-games__promo-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-slot-games__game-card-description, .page-slot-games__promo-description, .page-slot-games__news-excerpt {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-slot-games__news-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-slot-games__cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .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: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }
  .page-slot-games__faq-answer p {
    font-size: 15px;
  }
  .page-slot-games__view-all-news {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 28px;
  }
  .page-slot-games__hero-subtitle {
    font-size: 16px;
  }
  .page-slot-games__section-title {
    font-size: 22px;
  }
  .page-slot-games__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-slot-games__game-card-image, .page-slot-games__promo-image, .page-slot-games__news-image {
    height: 140px;
  }
  .page-slot-games__game-card-title, .page-slot-games__promo-title {
    font-size: 18px;
  }
  .page-slot-games__news-title {
    font-size: 16px;
  }
  .page-slot-games__news-excerpt {
    font-size: 14px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 22px;
    width: 24px;
    height: 24px;
  }
  .page-slot-games__faq-answer p {
    font-size: 14px;
  }
}