/* style/slot-games.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #002244; /* Slightly darker than primary for contrast */
  --border-light: #e0e0e0;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--bg-light); /* Assuming body is light */
}

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 60%;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #e6b800; /* Slightly darker yellow */
  border-color: #e6b800;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Section Titles & Descriptions */
.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

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

/* Features Section */
.page-slot-games__features-section,
.page-slot-games__top-games-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__final-cta-section {
  padding: 80px 0;
}

.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-slot-games__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-slot-games__feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Top Games Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: var(--bg-dark); /* Darker background for game cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__game-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  margin: 20px 15px 10px 15px;
  line-height: 1.3;
}

.page-slot-games__game-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.page-slot-games__game-text {
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  color: var(--text-light);
}

/* Guide Section */
.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-slot-games__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-slot-games__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-slot-games__strategy-list li {
  background-color: var(--bg-dark); /* Darker background for list items */
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-slot-games__strategy-item-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-slot-games__strategy-item-text {
  font-size: 1em;
  color: var(--text-light);
}

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

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

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

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

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #004488; /* Slightly lighter primary on hover */
}

.page-slot-games__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--text-light);
}

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

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Final CTA Section */
.page-slot-games__final-cta-section {
  text-align: center;
  padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-slot-games__hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-width: 80%;
    justify-content: center;
  }

  .page-slot-games__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-grid,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-slot-games__features-section,
  .page-slot-games__top-games-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__final-cta-section {
    padding: 50px 0;
  }

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

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-steps,
  .page-slot-games__strategy-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-item,
  .page-slot-games__strategy-list li,
  .page-slot-games__faq-item {
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
}