/* style/slot-games.css */

/* Base styles for the slot games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Fallback to Text Main */
  background-color: var(--bg-dark); /* From shared.css, assuming dark background */
}

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

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

.page-slot-games__dark-section {
  background-color: var(--bg-dark-section, #08160F); /* Custom background color for dark sections */
  color: var(--text-main); /* White text for dark background */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__list-highlight {
  color: var(--gold);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  padding: 10px 0 60px; /* Small top padding, body handles main offset */
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-link {
  background: none;
  border: none;
  color: var(--gold);
  padding: 0;
  text-decoration: underline;
  font-size: 0.9em;
}

.page-slot-games__btn-link:hover {
  color: var(--glow);
  text-decoration: none;
}

/* General Content Sections */
.page-slot-games__intro-section .page-slot-games__text-block {
  max-width: 1000px;
}

.page-slot-games__features-grid,
.page-slot-games__slot-types-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__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-secondary);
  height: 100%;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-secondary);
  position: relative;
  padding-left: 30px;
}

.page-slot-games__ordered-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.page-slot-games__unordered-list li::before {
  content: "\2022"; /* Bullet point */
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

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

/* Mobile Experience Section */
.page-slot-games__content-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
}

.page-slot-games__text-content {
  flex: 1;
}

.page-slot-games__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__cta-buttons-mobile {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-slot-games__faq-question:hover {
  background-color: var(--divider);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA */
.page-slot-games__final-cta {
  padding: 80px 0;
}

.page-slot-games__cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-slot-games__description {
    font-size: 1.1em;
  }
  .page-slot-games__hero-section {
    min-height: 500px;
  }
  .page-slot-games__content-flex {
    flex-direction: column;
  }
  .page-slot-games__image-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 8vw, 2.8em);
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__slot-types-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__ordered-list,
  .page-slot-games__unordered-list {
    margin: 20px auto;
  }
  .page-slot-games__ordered-list li,
  .page-slot-games__unordered-list li {
    font-size: 1em;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }
  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__content-flex,
  .page-slot-games__text-content,
  .page-slot-games__image-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__cta-buttons-mobile,
  .page-slot-games__promo-grid,
  .page-slot-games__slot-types-grid,
  .page-slot-games__features-grid,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-slot-games__hero-section { /* Override specific padding for hero */
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-slot-games__cta-buttons-mobile {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__cta-buttons-mobile a {
    padding: 12px 15px;
  }
}

/* Custom Colors */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-dark-section: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}