/* style/slot-games.css */

/* Custom Colors from provided palette */
:root {
  --main-color: #11A84E; /* Primary Green */
  --secondary-color: #22C768; /* Secondary Green */
  --card-bg: #11271B; /* Card Background */
  --background-color: #08160F; /* Page Background */
  --text-main: #F2FFF6; /* Main Text Color */
  --text-secondary: #A7D9B8; /* Secondary Text Color */
  --border-color: #2E7A4E; /* Border Color */
  --glow-color: #57E38D; /* Glow Color */
  --gold: #F2C14E; /* Gold Color */
  --divider-color: #1E3A2A; /* Divider Color */
  --deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the page, inheriting from shared.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color); /* Inherit from shared.css, which is #08160F */
  line-height: 1.6;
}

.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__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--gold); /* Gold color for main titles */
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-slot-games__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
  color: var(--text-secondary); /* Secondary text color for paragraphs */
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
  color: var(--text-secondary);
}

.page-slot-games__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 17px;
}

.page-slot-games__list li::before {
  content: '✔️'; /* Checkmark for list items */
  position: absolute;
  left: 0;
  color: var(--main-color); /* Main green color */
}

.page-slot-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
  color: var(--text-secondary);
}

.page-slot-games__numbered-list li {
  margin-bottom: 10px;
  font-size: 17px;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small padding top, body handles header offset */
  background-color: var(--background-color);
  overflow: hidden;
  min-height: 600px;
}

.page-slot-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image to make text pop if needed, but not changing color */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px 60px 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--gold); /* Gold for main title */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main); /* Main text color for description */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 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: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main); /* White-ish text for primary button */
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--main-color); /* Main green color */
  border: 2px solid var(--main-color);
  box-shadow: 0 0 10px rgba(17, 168, 78, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: var(--main-color);
  color: var(--text-main); /* White-ish text on hover */
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

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

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

.page-slot-games__card {
  background-color: var(--card-bg); /* Dark green background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color); /* Green border */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-secondary);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-slot-games__card-title {
  font-size: 24px;
  color: var(--text-main); /* Main text color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-slot-games__benefit-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.page-slot-games__benefit-title {
  font-size: 22px;
  color: var(--main-color); /* Main green color for benefit titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__benefit-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Promotions Section */
.page-slot-games__promotion-banner {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  margin: 40px auto 50px auto;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-height: 300px; /* Ensure banner is not too small */
}

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

.page-slot-games__guide-step {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.page-slot-games__guide-title {
  font-size: 20px;
  color: var(--gold); /* Gold for guide titles */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__guide-text {
  font-size: 16px;
  line-height: 1.6;
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--main-color-rgb), 0.1); /* Light hover effect */
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color); /* Main green color for toggle */
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary); /* Secondary text color for answers */
  border-top: 1px solid var(--divider-color); /* Divider color */
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-slot-games__sub-title {
    font-size: clamp(20px, 4vw, 28px);
  }

  .page-slot-games__text-block,
  .page-slot-games__list,
  .page-slot-games__numbered-list,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .page-slot-games__text-block p,
  .page-slot-games__list li,
  .page-slot-games__numbered-list li,
  .page-slot-games__faq-answer p {
    font-size: 16px;
  }

  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__card,
  .page-slot-games__benefit-item,
  .page-slot-games__promotion-banner,
  .page-slot-games__guide-step,
  .page-slot-games__faq-item,
  .page-slot-games__container {
    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 */
    min-height: auto;
  }

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

  .page-slot-games__hero-content {
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: clamp(16px, 3.5vw, 20px);
    margin-bottom: 25px;
  }

  /* Buttons responsive */
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__card-image {
    min-height: 180px; /* Adjust min-height for mobile */
  }

  .page-slot-games__promotion-banner {
    min-height: 200px; /* Adjust min-height for mobile */
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section {
    padding: 30px 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(22px, 7vw, 32px);
    margin-bottom: 25px;
  }

  .page-slot-games__sub-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .page-slot-games__list li,
  .page-slot-games__numbered-list li,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer p {
    font-size: 15px;
  }

  .page-slot-games__card-title,
  .page-slot-games__benefit-title,
  .page-slot-games__guide-title {
    font-size: 20px;
  }
  
  .page-slot-games__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-slot-games__hero-content {
    padding-bottom: 30px;
  }
}