/* style/slot-games.css */

:root {
  --primary-color: #FF4500; /* OrangeRed */
  --secondary-color: #00CED1; /* DarkTurquoise */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
}

/* Ensure content padding-top for fixed header */
.page-slot-games {
  padding-top: 120px; /* Default padding for desktop, adjusted by hero section */
  color: var(--text-light); /* Default text color for dark body background */
}

/* HERO Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust according to fixed header height */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.page-slot-games__hero-image img:hover {
  transform: scale(1.03);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

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

.page-slot-games__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-link {
  color: var(--text-light);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__hero-link:hover {
  color: var(--secondary-color);
}

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

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

.page-slot-games__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__cta-button--primary:hover {
  background: #E63900; /* Slightly darker primary */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Content Section */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-slot-games__intro-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.page-slot-games__intro-section .page-slot-games__container,
.page-slot-games__promotions-section .page-slot-games__container,
.page-slot-games__faq-section .page-slot-games__container {
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.page-slot-games__intro-title,
.page-slot-games__promotions-title,
.page-slot-games__faq-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-slot-games__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 15px;
}

.page-slot-games__intro-paragraph,
.page-slot-games__promotions-paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-slot-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

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

.page-slot-games__list-item {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

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

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__center-button {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-slot-games__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promotion-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  max-height: 200px; /* Limit height for uniform cards */
}

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

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

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light);
  border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  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: var(--bg-light);
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change + to X or similar */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 40px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__intro-title,
  .page-slot-games__promotions-title,
  .page-slot-games__faq-title {
    font-size: 32px;
  }
  .page-slot-games__sub-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px !important; /* Mobile: Adjust according to mobile fixed header height */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding-top: 160px !important; /* Mobile: Override desktop padding-top */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__cta-button {
    width: 100%;
    max-width: 300px;
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-slot-games__intro-section .page-slot-games__container,
  .page-slot-games__promotions-section .page-slot-games__container,
  .page-slot-games__faq-section .page-slot-games__container {
    padding: 25px;
  }
  .page-slot-games__intro-title,
  .page-slot-games__promotions-title,
  .page-slot-games__faq-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-slot-games__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
  }
  .page-slot-games__intro-paragraph,
  .page-slot-games__promotions-paragraph,
  .page-slot-games__list-item,
  .page-slot-games__promotion-card-description {
    font-size: 15px;
  }
  .page-slot-games__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-slot-games__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 28px;
  }
  .page-slot-games__intro-title,
  .page-slot-games__promotions-title,
  .page-slot-games__faq-title {
    font-size: 24px;
  }
  .page-slot-games__sub-title {
    font-size: 18px;
  }
  .page-slot-games__cta-button {
    font-size: 14px;
    padding: 10px 25px;
  }
  .page-slot-games__promotion-card-title {
    font-size: 20px;
  }
}