/* style/slot-games.css */

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

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

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3,
.page-slot-games h4,
.page-slot-games h5,
.page-slot-games h6 {
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games a {
  color: var(--page-slot-games-secondary-color);
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
}

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

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-slot-games__content-area {
  max-width: 960px;
  margin: 0 auto;
}

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: inherit; /* Inherit from section for contrast */
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  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; /* Ensure it's in normal flow below image */
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  margin-top: -100px; /* Pull up to overlap image slightly for visual effect, but not text over image */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-slot-games-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
}

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

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

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

/* List Items */
.page-slot-games__list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-main);
  border: 1px solid var(--page-slot-games-border);
}

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

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

.page-slot-games__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  text-align: left;
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.page-slot-games__ordered-list .page-slot-games__list-item {
  background-color: var(--page-slot-games-deep-green);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--page-slot-games-divider);
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--page-slot-games-border);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg .page-slot-games__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__light-bg .page-slot-games__card-title {
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__light-bg .page-slot-games__card-description {
  color: #555555;
}

/* Images within content */
.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-slot-games__image-card {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-deep-green);
  border: 1px solid var(--page-slot-games-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__light-bg .page-slot-games__faq-question {
  color: var(--page-slot-games-primary-color);
  background-color: #eaf7ed;
  border-bottom: 1px solid #d4edda;
}

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

.page-slot-games__faq-question::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;
  transition: transform 0.3s ease;
}

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

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

.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: #555555;
}

/* Call to Action Section */
.page-slot-games__call-to-action {
  background-image: linear-gradient(rgba(8, 22, 15, 0.8), rgba(8, 22, 15, 0.8)), url('[GALLERY:bg:1920x1080:good88_rocks,slot_game_pattern,dark_green_gold]');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.page-slot-games__call-to-action .page-slot-games__section-title {
  color: var(--page-slot-games-gold);
}

.page-slot-games__call-to-action .page-slot-games__text-block {
  color: var(--page-slot-games-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

  .page-slot-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

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

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

  .page-slot-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(2em, 6vw, 2.8em);
  }

  .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;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__container,
  .page-slot-games__content-area,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__grid-benefits,
  .page-slot-games__grid-promotions,
  .page-slot-games__list-items,
  .page-slot-games__ordered-list,
  .page-slot-games__faq-list,
  .page-slot-games__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

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

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

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

  .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }
}

/* Desktop video container width rule */
.page-slot-games__hero-image-wrapper {
  width: 100%;
}