/* style/slot-games.css */

:root {
  --primary-color: #0A192F; /* Deep Navy Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
  --bg-light-card: #ffffff;
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Body has background-color: #000 */
}

/* 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;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: var(--primary-color); /* Use primary color for hero background */
  overflow: hidden;
}

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

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

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--secondary-color); /* Gold title for impact */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-slot-games__section {
  padding: 80px 20px;
  background-color: var(--primary-color); /* Default dark background for sections */
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__section:nth-of-type(even) {
  background-color: #061223; /* Slightly different dark shade for visual separation */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.3;
}

.page-slot-games__section-title--light {
  color: var(--text-light); /* For dark-bg sections */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: justify;
}

.page-slot-games__text-block--light {
  color: var(--text-light);
}

.page-slot-games__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__image-centered {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-slot-games__card {
  background-color: var(--bg-dark-card); /* Semi-transparent white on dark bg */
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

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

.page-slot-games__feature-item {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-slot-games__feature-icon {
  width: 200px; /* Display size */
  height: 200px; /* Display size */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

/* Strategy List */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__strategy-item {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-slot-games__strategy-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__strategy-description {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--text-light);
}

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

.page-slot-games__promo-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

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

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__promo-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-slot-games__promo-cta {
  text-align: center;
  margin-top: 50px;
}

/* Call to Action Buttons */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent; /* Default border */
  min-width: 150px; /* Ensure a minimum width */
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--secondary-color); /* Gold background */
  color: var(--text-dark); /* Dark text for contrast */
  border-color: var(--secondary-color);
}

.page-slot-games__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color); /* Gold text */
  border-color: var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 100px 20px;
  text-align: center;
  background-color: var(--primary-color); /* Use primary color for final CTA background */
}

.page-slot-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 15px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-slot-games__faq {
  background-color: #061223; /* Slightly different dark shade */
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-dark-card); /* Card background for FAQ items */
  border: 1px solid var(--border-color);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color); /* Gold for question title */
  pointer-events: none;
}

.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 {
  transform: rotate(45deg); /* Rotate for minus sign effect */
  color: var(--text-light);
}