/* style/slot-games.css */

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

.page-slot-games {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games .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(2em, 3.5vw, 3em);
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.page-slot-games .highlight {
  color: var(--page-slot-games-gold);
  font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles header offset */
  overflow: hidden;
  background-color: var(--page-slot-games-bg);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height of hero image for better content visibility */
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow, without overlapping text */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-gold);
  color: var(--page-slot-games-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Image Styling */
.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Card Layouts */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

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

.page-slot-games__card-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__card-button {
  align-self: flex-start;
}

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

/* Promotions List */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__promo-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-gold);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--page-slot-games-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Guide List */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-deep-green);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.page-slot-games__guide-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__guide-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

/* Strategy List */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-slot-games__strategy-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--page-slot-games-divider);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__strategy-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__strategy-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider);
  user-select: none;
  list-style: none;
}

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

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-border);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-slot-games-gold);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

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

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
  border-top: 5px solid var(--page-slot-games-gold);
  border-bottom: 5px solid var(--page-slot-games-gold);
}

.page-slot-games__cta-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Color Contrast Adjustments (if body background is not explicitly light/dark) */
/* Assuming body background is dark based on custom colors, text defaults to light */
.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
}

.page-slot-games p, .page-slot-games li {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__card .page-slot-games__card-description {
  color: var(--page-slot-games-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-slot-games__main-title {
    font-size: 2.5em;
  }

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

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

  .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;
  }

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

  .page-slot-games__hero-content {
    margin-top: -30px;
    padding: 20px;
  }

  .page-slot-games__game-grid,
  .page-slot-games__advantages-grid,
  .page-slot-games__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__game-card,
  .page-slot-games__advantage-item,
  .page-slot-games__support-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__promo-item,
  .page-slot-games__guide-item,
  .page-slot-games__strategy-item {
    padding: 15px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-slot-games__cta-section {
    padding: 50px 0;
  }

  .page-slot-games__cta-title {
    font-size: 2em;
  }

  .page-slot-games__cta-description {
    font-size: 1em;
  }

  /* Ensure all containers for images/videos are handled */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__game-grid,
  .page-slot-games__advantages-grid,
  .page-slot-games__support-grid,
  .page-slot-games__promo-list,
  .page-slot-games__guide-list,
  .page-slot-games__strategy-list,
  .page-slot-games__faq-list,
  .page-slot-games__cta-section,
  .page-slot-games__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}