/* General page styling */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* #333333 */
  background-color: var(--background-color); /* #F5F7FA */
  line-height: 1.6;
  padding-bottom: 60px; /* Space for footer */
}

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

.page-slot-games__section {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935; /* Primary color for titles */
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color);
}

/* 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;
  /* Fixed header spacing: body handles padding-top, this is for visual top margin */
  padding-top: 10px; 
  background-color: #F5F7FA; /* Light background for hero */
}

.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%; /* Ensure it takes full width within max-width */
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Apply border-radius to image */
  /* No filter property */
}

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

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #E53935; /* Primary brand color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
  /* No fixed font-size, rely on clamp if needed, but current is fine for large screens */
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #333333; /* Main text color */
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

/* Intro Section */
.page-slot-games__intro-section img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  /* No filter property */
}

/* Game Types Section */
.page-slot-games__game-types-section {
  background-color: #E53935; /* Primary brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-slot-games__game-types-section .page-slot-games__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-slot-games__game-types-section .page-slot-games__section-description {
  color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-slot-games__card {
  background: var(--card-bg-color); /* #FFFFFF */
  color: var(--text-main-color); /* #333333 */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* #E0E0E0 */
}

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

.page-slot-games__card img {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  /* No filter property */
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935; /* Primary color for card titles */
}

/* Benefits Section */
.page-slot-games__benefits-section {
  background-color: var(--background-color); /* #F5F7FA */
}

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

.page-slot-games__feature-item {
  background: var(--card-bg-color); /* #FFFFFF */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  border: 1px solid var(--border-color); /* #E0E0E0 */
}

.page-slot-games__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #E53935; /* Primary color for feature titles */
  margin-bottom: 15px;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Guide Section */
.page-slot-games__guide-section {
  background-color: var(--card-bg-color); /* #FFFFFF */
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__guide-list li {
  background: #fdfdfd;
  border: 1px solid var(--border-color); /* #E0E0E0 */
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-slot-games__guide-step-title {
  font-size: 20px;
  color: #FF5A4F; /* Secondary color for step titles */
  margin-bottom: 10px;
  font-weight: bold;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  background-color: #E53935; /* Primary brand color as background */
  color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games__promo-card p {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #E53935; /* Primary color for text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F; /* Secondary color on hover */
  transform: translateY(-1px);
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--background-color); /* #F5F7FA */
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* #E0E0E0 */
  overflow: hidden;
  background: var(--card-bg-color); /* #FFFFFF */
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color); /* #333333 */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}
.page-slot-games__faq-answer p {
  margin: 0;
}

/* 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__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile button responsiveness */
  .page-slot-games__cta-button,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-image {
    margin-bottom: 20px;
  }

  .page-slot-games__main-title {
    font-size: 32px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
  }

  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

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

  .page-slot-games__section-description {
    margin-bottom: 30px;
  }

  .page-slot-games__card img {
     /* Adjust card image height for mobile */
  }

  .page-slot-games__card-title {
    font-size: 18px;
  }
  
  .page-slot-games__feature-title {
    font-size: 18px;
  }

  .page-slot-games__guide-list li {
    padding: 20px;
  }

  .page-slot-games__guide-step-title {
    font-size: 18px;
  }

  .page-slot-games__promo-title {
    font-size: 18px;
  }
  
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }
  .page-slot-games__section-title {
    font-size: 22px;
  }
  .page-slot-games__grid,
  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom colors */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --text-main-color: #333333;
  --border-color: #E0E0E0;
}

/* Ensure text color contrast for dark background sections */
.page-slot-games__dark-bg p,
.page-slot-games__dark-bg h3 {
  color: #ffffff;
}