/* style/slot-games.css */

/* Global styles for the page content, ensuring text color contrasts with body background */
/* Body background is #08160F (dark), so text color should be #F2FFF6 */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* inherited from body, which is #08160F */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* No filter property to change image color */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0; /* Margin above content, not overlapping image */
  padding: 0 20px;
}

.page-slot-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-slot-games__section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

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

.page-slot-games__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__image-left,
.page-slot-games__image-right,
.page-slot-games__image-center {
  flex-shrink: 0;
  width: 100%; /* Default to 100% for responsiveness */
  max-width: 600px; /* Max width for content images */
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  /* No filter property to change image color */
}

.page-slot-games__image-center {
  margin: 40px auto 0;
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px; /* Min size 200x200, recommended 400x300 */
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  /* No filter property to change image color */
}

.page-slot-games__card-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Benefits List */
.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
}

.page-slot-games__benefits-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Bright green checkmark */
  font-size: 1.2rem;
  line-height: 1;
}

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

.page-slot-games__step-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Strategy List */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-slot-games__strategy-list li {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px 30px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__strategy-list li strong {
  color: #F2C14E; /* Gold */
}

/* Call to Action Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box; /* Ensure padding doesn't push width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #2AD16F;
  transform: translateY(-2px);
}

.page-slot-games__btn-large {
  min-width: 220px;
  padding: 18px 35px;
  font-size: 1.2rem;
}

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

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: #2AD16F; /* Bright green */
}

.page-slot-games__faq-answer {
  padding: 0 30px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__faq-answer p {
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__content-wrapper--reverse {
    flex-direction: column; /* Also column for reverse on smaller screens */
  }

  .page-slot-games__image-left,
  .page-slot-games__image-right {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-slot-games__btn-primary,
  .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-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

  .page-slot-games__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-slot-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-slot-games__image-left,
  .page-slot-games__image-right,
  .page-slot-games__image-center,
  .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__content-wrapper,
  .page-slot-games__grid-layout,
  .page-slot-games__steps-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.5rem;
  }

  .page-slot-games__step-card {
    padding: 25px;
  }

  .page-slot-games__step-title {
    font-size: 1.4rem;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }
}