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

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-dark); /* Inherited from body via shared.css */
}

.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-bg {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

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

.page-slot-games__section-title strong {
  color: var(--gold-color);
}

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
  margin: 10px;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 10px;
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
}

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

.page-slot-games__feature-card,
.page-slot-games__game-type-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main);
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-slot-games__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-slot-games__content-block {
  padding-right: 20px;
}

.page-slot-games__image-block {
  text-align: center;
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  text-align: left;
  margin: 20px 0;
  padding-left: 25px;
  color: var(--text-secondary);
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-slot-games__ordered-list li strong {
  color: var(--text-main);
}

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

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

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

.page-slot-games__video-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-slot-games__video-link-wrapper {
  display: block;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  cursor: pointer;
}

.page-slot-games__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__video-caption {
  font-style: italic;
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-top: 10px;
}

.page-slot-games__faq-section {
  text-align: left;
}

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

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

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

.page-slot-games__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3);
}

.page-slot-games__faq-item summary {
  list-style: none;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

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

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

.page-slot-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  position: relative;
  overflow: hidden;
}

.page-slot-games__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-slot-games__cta-section .page-slot-games__section-title,
.page-slot-games__cta-section .page-slot-games__text-block {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
  }
  .page-slot-games__grid-two-col {
    grid-template-columns: 1fr;
  }
  .page-slot-games__content-block {
    padding-right: 0;
  }
  .page-slot-games__image-block {
    margin-top: 30px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-slot-games__description,
  .page-slot-games__text-block,
  .page-slot-games__card-text {
    font-size: 1em;
  }
  .page-slot-games__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__feature-grid,
  .page-slot-games__game-type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-slot-games__video-link-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-image,
  .page-slot-games__image-full-width,
  .page-slot-games__game-type-card .page-slot-games__card-image,
  .page-slot-games__feature-icon,
  .page-slot-games__cta-image {
    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__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__download-guide-section,
  .page-slot-games__game-types-section,
  .page-slot-games__tips-strategies-section,
  .page-slot-games__video-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  /* Ensure all content area images are at least 200px wide */
  .page-slot-games img:not(.page-slot-games__feature-icon) {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-slot-games__feature-icon {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
  }
  .page-slot-games__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}