/* style/slot-games.css */

/* Custom Colors */
: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-bg: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.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__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__text-main {
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* H1 font-size clamp */
}

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

.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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

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

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

/* General content styles */
.page-slot-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-slot-games__image-content {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-slot-games__image-content--left {
  order: -1;
}

.page-slot-games__text-block-group {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

/* Types Section (Card Grid) */
.page-slot-games__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-slot-games-text-main);
}

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

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

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

/* Providers Section */
.page-slot-games__provider-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

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

.page-slot-games__provider-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(100%) brightness(150%); /* Make logos adapt to dark background, not change color */
}

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

/* Advantages Section */
.page-slot-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-slot-games__feature-item {
  background-color: var(--page-slot-games-deep-green);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Guide Section */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 70px; /* Space for step number */
}

.page-slot-games__guide-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--page-slot-games-gold-color);
  background-color: var(--page-slot-games-deep-green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.page-slot-games__guide-step-title {
  font-size: 1.3em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
}

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
}

.page-slot-games__strategy-item {
  background-color: var(--page-slot-games-deep-green);
  border: 1px solid var(--page-slot-games-primary-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-slot-games__strategy-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  margin-bottom: 25px;
  display: inline-block;
}

/* Security Section */
.page-slot-games__security-section .page-slot-games__content-wrapper {
  flex-direction: row-reverse; /* Image on left */
}

.page-slot-games__security-section .page-slot-games__image-content {
  max-width: 500px;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-deep-green);
  border: 1px solid var(--page-slot-games-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;
  cursor: pointer;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-slot-games__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.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(--page-slot-games-gold-color);
}

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

/* Call to Action Section */
.page-slot-games__call-to-action-section {
  text-align: center;
  background-color: var(--page-slot-games-deep-green);
  border-top: 2px solid var(--page-slot-games-primary-color);
  padding: 80px 20px;
}

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

.page-slot-games__call-to-action-section .page-slot-games__section-description {
  color: var(--page-slot-games-text-main);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }

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

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

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

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

  .page-slot-games__image-content--left {
    order: unset;
  }

  .page-slot-games__security-section .page-slot-games__content-wrapper {
    flex-direction: column;
  }

  .page-slot-games__security-section .page-slot-games__image-content--left {
    order: unset;
  }
}

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

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

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

  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }

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

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

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__image-content,
  .page-slot-games__promo-card,
  .page-slot-games__provider-item,
  .page-slot-games__feature-item,
  .page-slot-games__guide-item,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for containers */
  }

  .page-slot-games__guide-item {
    padding-left: 60px;
  }

  .page-slot-games__guide-item::before {
    left: 15px;
    font-size: 1.5em;
    width: 35px;
    height: 35px;
  }

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

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