/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #333333);
  background-color: var(--site-bg-color, #F5F7FA);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #333333);
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-slot-games__dark-section {
  background: var(--main-color, #E53935);
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__text-block {
  color: #ffffff;
}

.page-slot-games__light-bg {
  background: var(--background-color, #F5F7FA);
  color: var(--text-main, #333333);
  padding: 60px 0;
}

.page-slot-games__background {
  background: var(--background-color, #F5F7FA);
  color: var(--text-main, #333333);
  padding: 60px 0;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-details {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--aux-color, #FF5A4F) 0%, var(--main-color, #E53935) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--main-color-rgb, 229, 57, 53), 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: var(--main-color, #E53935);
  border: 2px solid var(--main-color, #E53935);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: var(--main-color, #E53935);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-slot-games__btn-play {
  background: linear-gradient(180deg, var(--aux-color, #FF5A4F) 0%, var(--main-color, #E53935) 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  opacity: 0.9;
}

.page-slot-games__btn-details {
  background: var(--main-color, #E53935);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__btn-details:hover {
  background: var(--aux-color, #FF5A4F);
}

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: 3.5em;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-slot-games__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Game Showcase */
.page-slot-games__game-showcase {
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 250px; /* Desktop: fixed height */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color, #E0E0E0);
}

.page-slot-games__game-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-main, #333333);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-slot-games__view-all-games {
  text-align: center;
  margin-top: 50px;
}

/* Guide Section */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__guide-item {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__guide-step-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--main-color, #E53935);
  margin-bottom: 15px;
}

.page-slot-games__guide-item p {
  font-size: 1.05em;
  color: #555555;
}

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

.page-slot-games__promo-card {
  background: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-slot-games__promo-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--main-color, #E53935);
  margin: 20px 15px 10px 15px;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-details {
  margin: 0 15px 20px 15px;
}

.page-slot-games__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__benefits-item {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__benefits-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--main-color, #E53935);
  margin-bottom: 15px;
}

.page-slot-games__benefits-item p {
  font-size: 1.05em;
  color: #555555;
}

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

.page-slot-games__faq-item {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: 600;
  color: var(--text-main, #333333);
  cursor: pointer;
  background: #fdfdfd;
  border-bottom: 1px solid var(--border-color, #E0E0E0);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  font-weight: 300;
  color: var(--main-color, #E53935);
  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: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #555555;
}

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

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

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
  font-size: 3em;
  margin-bottom: 30px;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }

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

  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-slot-games__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-slot-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Small top padding for first content block */
    flex-direction: column;
  }

  .page-slot-games__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    max-height: 400px;
    aspect-ratio: unset !important;
  }

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

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

  .page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 25px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Game Grid for Mobile */
  .page-slot-games__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: hidden !important;
  }

  .page-slot-games__game-thumbnail {
    height: auto !important;
    aspect-ratio: 1/1 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-slot-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General Images and Containers for Mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__promo-thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__guide-step-title,
  .page-slot-games__benefits-title {
    font-size: 1.4em;
  }

  .page-slot-games__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ for Mobile */
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-slot-games__cta-final-section .page-slot-games__section-title {
    font-size: 2.2em;
  }
}