/* style/slot-games.css */

/* Variables */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* From shared.css body background */
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  --border-color: #e0e0e0;
}

/* Base page styles for dark body background */
.page-slot-games {
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--bg-dark); /* Ensure main content section has a background, though body handles it */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: 0; /* Handled by specific sections */
}

/* Top spacing for fixed header */
.page-slot-games__top-spacing {
  height: 120px; /* Desktop: Adjust based on actual header height */
  width: 100%;
  display: block;
}

/* Container for consistent width */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Generic section styling */
.page-slot-games__section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--text-light);
}

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color); /* Use primary color for main titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

/* --- CTA Buttons --- */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold background for contrast */
}

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

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

.page-slot-games__cta-button--secondary:hover {
  background: #1a7bd6; /* Slightly darker blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  padding: 120px 0 80px; /* Top spacing for fixed header */
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: var(--text-light);
  text-align: center;
}

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

.page-slot-games__hero-description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Introduction Section --- */
.page-slot-games__introduction-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

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

.page-slot-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-slot-games__text-content {
  flex: 1.5;
  font-size: 17px;
  line-height: 1.7;
}

.page-slot-games__text-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}

.page-slot-games__list li {
  background: var(--card-bg-dark);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.page-slot-games__list li:hover {
  transform: translateX(5px);
}

/* --- Popular Slots Section --- */
.page-slot-games__popular-slots-section {
  background-color: #1a1a1a;
  color: var(--text-light);
}

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

.page-slot-games__popular-slots-section .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.7);
}

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

.page-slot-games__slot-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games__slot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__slot-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__slot-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-slot-games__slot-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 25px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__slot-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__slot-button:hover {
  background: #1a7bd6;
}

/* --- Benefits Section --- */
.page-slot-games__benefits-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

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

.page-slot-games__benefit-card {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__benefit-icon {
  width: 80px; /* Display size, image itself will be >200px */
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-slot-games__benefit-title {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
  background-color: var(--bg-light); /* Light background for FAQ */
  color: var(--text-dark); /* Dark text on light background */
  text-align: left;
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--text-dark);
  text-align: center;
}

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

.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 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  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 h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.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: 15px;
  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); /* Change to X or just a dash */
}

.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-top: none;
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-slot-games__faq-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-button:hover {
  background: #e6c200;
}

/* --- Brand Section --- */
.page-slot-games__brand-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-slot-games__brand-section .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.7);
}

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

.page-slot-games__brand-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__brand-item-title {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__brand-item-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* --- Blog Section --- */
.page-slot-games__blog-section {
  background-color: #1a1a1a;
  color: var(--text-light);
}

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

.page-slot-games__blog-section .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.7);
}

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

.page-slot-games__blog-item {
  background: var(--card-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 25px;
}

.page-slot-games__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__blog-item-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-slot-games__blog-item-excerpt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-slot-games__blog-item-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 20px;
  display: block;
}

/* --- Final CTA Section --- */
.page-slot-games__final-cta-section {
  background: linear-gradient(45deg, var(--secondary-color), #0056b3);
  color: var(--text-light);
  padding: 100px 0;
}

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

.page-slot-games__final-cta-section .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.9);
}

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

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

  .page-slot-games__hero-description,
  .page-slot-games__section-description {
    font-size: 17px;
  }

  .page-slot-games__introduction-section .page-slot-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
}