/* style/slot-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Crimson */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-main: #121212; /* From shared.css body background */
  --bg-light-card: #ffffff;
  --border-light: #e0e0e0;
}

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

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px; /* Spacing 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__subsection-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__intro-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-dark-main), #2c2c2c);
  border-bottom: 5px solid var(--secondary-color);
}

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

.page-slot-games__intro-text {
  font-size: 18px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-slot-games__intro-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-slot-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--bg-dark-main); /* Dark text for gold background */
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-dark-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-large {
  padding: 18px 45px;
  font-size: 20px;
}

.page-slot-games__games-overview-section,
.page-slot-games__promotions-section,
.page-slot-games__news-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-slot-games__strategy-section,
.page-slot-games__why-play-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-slot-games__dark-bg p, .page-slot-games__dark-bg li {
  color: var(--text-light);
}

.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-slot-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
  color: var(--text-light);
  font-size: 16px;
}

.page-slot-games__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

.page-slot-games__image-block {
  flex-shrink: 0;
  width: 45%;
}

.page-slot-games__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.page-slot-games__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-slot-games__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light for dark bg */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-slot-games__news-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.page-slot-games__news-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__news-card h3 {
  padding: 20px 20px 10px;
  font-size: 20px;
  font-weight: bold;
}

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

.page-slot-games__news-link:hover {
  text-decoration: underline;
}

.page-slot-games__news-excerpt {
  padding: 0 20px 15px;
  font-size: 15px;
  color: #cccccc;
}

.page-slot-games__news-date {
  display: block;
  padding: 0 20px 20px;
  font-size: 13px;
  color: #999999;
}

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.25);
  border-color: var(--primary-color);
}

.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: 15px;
  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;
  color: var(--text-light);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-slot-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-slot-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color), #8b0000);
  border-top: 5px solid var(--primary-color);
}

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

.page-slot-games__cta-final-section .page-slot-games__intro-text {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

  .page-slot-games__section-title {
    font-size: 30px;
  }

  .page-slot-games__subsection-title {
    font-size: 22px;
  }

  .page-slot-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__content-wrapper--reverse {
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 32px;
  }

  .page-slot-games__intro-text {
    font-size: 16px;
  }

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

  .page-slot-games__subsection-title {
    font-size: 20px;
  }

  .page-slot-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-slot-games__games-overview-section,
  .page-slot-games__promotions-section,
  .page-slot-games__news-section,
  .page-slot-games__strategy-section,
  .page-slot-games__why-play-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__news-grid {
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__news-card {
    padding: 20px;
  }

  .page-slot-games__news-thumbnail {
    height: 160px;
  }

  .page-slot-games__news-card h3 {
    font-size: 18px;
    padding: 15px 15px 8px;
  }

  .page-slot-games__news-excerpt,
  .page-slot-games__news-date {
    padding: 0 15px 15px;
  }

  .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__main-title {
    font-size: 28px;
  }

  .page-slot-games__section-title {
    font-size: 22px;
  }

  .page-slot-games__intro-text {
    font-size: 15px;
  }

  .page-slot-games__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-slot-games__btn-large {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-slot-games__list {
    margin-left: 15px;
  }

  .page-slot-games__list li {
    font-size: 15px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 15px;
  }
}