/* style/slot-games.css */

:root {
  --page-slot-games-primary: #11A84E;
  --page-slot-games-secondary: #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;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-background);
}

.page-slot-games__section {
  padding: 80px 20px;
  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 15px;
  box-sizing: border-box;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is just a small additional margin */
  background-color: var(--page-slot-games-background);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-slot-games-gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-secondary);
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  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: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

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

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

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--page-slot-games-gold);
}

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__light-bg .page-slot-games__text-block {
  color: #555555;
}

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

.page-slot-games__img-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.page-slot-games__img-centered {
  margin: 40px auto 0 auto;
  max-width: 800px;
}

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

.page-slot-games__game-type-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  text-align: left;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__game-type-card .page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 3px solid var(--page-slot-games-primary);
}

.page-slot-games__game-type-card .page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 20px 10px 20px;
  color: var(--page-slot-games-gold);
}

.page-slot-games__game-type-card .page-slot-games__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 20px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__benefits-list,
.page-slot-games__strategy-list,
.page-slot-games__promotions-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__benefits-item,
.page-slot-games__strategy-item,
.page-slot-games__promotions-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-primary);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-slot-games__benefits-heading,
.page-slot-games__strategy-heading,
.page-slot-games__promotions-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--page-slot-games-gold);
}

.page-slot-games__benefits-item p,
.page-slot-games__strategy-item p,
.page-slot-games__promotions-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__guide-item {
  counter-increment: guide-counter;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px 25px 25px 70px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-slot-games__guide-item::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 35px;
  height: 35px;
  background: var(--page-slot-games-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-slot-games__guide-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--page-slot-games-deep-green);
}

.page-slot-games__guide-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-slot-games__guide-item a {
  color: var(--page-slot-games-primary);
  text-decoration: underline;
}

.page-slot-games__guide-item a:hover {
  color: var(--page-slot-games-secondary);
}

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

.page-slot-games__provider-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__provider-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.page-slot-games__provider-item:hover .page-slot-games__provider-logo {
  filter: grayscale(0);
}

.page-slot-games__provider-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-slot-games-gold);
}

.page-slot-games__provider-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
}

.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: #f8f8f8;
  border: 1px solid var(--page-slot-games-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #333333;
}

.page-slot-games__faq-item[open] {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-slot-games-deep-green);
  background-color: #eaf7ed;
  border-bottom: 1px solid var(--page-slot-games-divider);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker { /* For details/summary */
  display: none;
}

.page-slot-games__faq-question:hover {
  background-color: #dff2e3;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--page-slot-games-primary);
  color: #ffffff;
  border-bottom-color: var(--page-slot-games-primary);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 20px;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-slot-games__final-cta {
  padding-bottom: 80px;
}

/* --- Responsive Design --- */

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

  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

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

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

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

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-slot-games__text-block {
    font-size: 1rem;
  }

  .page-slot-games__img-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__image-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__benefits-list,
  .page-slot-games__strategy-list,
  .page-slot-games__guide-list,
  .page-slot-games__providers-grid,
  .page-slot-games__promotions-list,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-slot-games__guide-item::before {
    left: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.5rem;
  }

  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
  
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-slot-games__game-type-card .page-slot-games__card-image {
    height: 200px;
  }
  .page-slot-games__game-type-card .page-slot-games__card-title {
    font-size: 1.3rem;
  }
  .page-slot-games__benefits-heading,
  .page-slot-games__strategy-heading,
  .page-slot-games__promotions-heading {
    font-size: 1.2rem;
  }
}