/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #0D1B2A;
  --page-slot-games-secondary-color: #FFD700;
  --page-slot-games-text-light: #ffffff;
  --page-slot-games-text-dark: #333333;
  --page-slot-games-bg-light: #f8f9fa;
  --page-slot-games-bg-dark: #000000;
}

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

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

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

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

.page-slot-games__text-link {
  color: var(--page-slot-games-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
  background-color: transparent;
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

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

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-light);
  color: var(--page-slot-games-text-dark);
}

/* Types Section */
.page-slot-games__types-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-slot-games__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-slot-games__card-description {
  font-size: 0.95em;
  color: var(--page-slot-games-text-light);
  padding: 0 15px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-light);
  color: var(--page-slot-games-text-dark);
}

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

.page-slot-games__benefit-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  transform: translateY(-10px);
}

.page-slot-games__benefit-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__benefit-title {
  font-size: 1.6em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

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

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

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

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-slot-games__guide-title {
  font-size: 1.8em;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__guide-item p {
  margin-bottom: 20px;
}

/* Promo Section */
.page-slot-games__promo-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-light);
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-slot-games__promo-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-slot-games__promo-list li a {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__promo-list li a:hover {
  text-decoration: underline;
}

/* Tech & Security Section */
.page-slot-games__tech-security-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__tech-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__tech-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-slot-games__tech-list li strong {
  color: var(--page-slot-games-secondary-color);
}

/* Responsible Gambling Section */
.page-slot-games__responsible-gambling-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-light);
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__responsible-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.8;
}

.page-slot-games__responsible-list li strong {
  color: var(--page-slot-games-primary-color);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: var(--page-slot-games-secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 20px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-primary-color);
  text-align: center;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__cta-container {
  max-width: 800px;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 20px;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Floating Buttons */
.page-slot-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-slot-games__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__floating-btn--register {
  background-color: var(--page-slot-games-secondary-color);
}

.page-slot-games__floating-btn--register:hover {
  background-color: #e6c200;
}

.page-slot-games__floating-btn--login {
  background-color: var(--page-slot-games-text-light);
}

.page-slot-games__floating-btn--login:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__intro-section,
  .page-slot-games__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__promo-section,
  .page-slot-games__tech-security-section,
  .page-slot-games__responsible-gambling-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 60px 0;
  }
  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card-title {
    font-size: 1.3em;
  }
  .page-slot-games__benefit-title {
    font-size: 1.4em;
  }
  .page-slot-games__guide-title {
    font-size: 1.6em;
  }
  .page-slot-games__promo-list li,
  .page-slot-games__tech-list li,
  .page-slot-games__responsible-list li {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
  .page-slot-games__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: calc(100% - 20px);
    justify-content: space-around;
  }
  .page-slot-games__floating-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .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__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__promo-section,
  .page-slot-games__tech-security-section,
  .page-slot-games__responsible-gambling-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section,
  .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-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__cta-button,
  .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;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__floating-buttons {
    flex-direction: row;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: var(--page-slot-games-primary-color);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  }
  .page-slot-games__floating-btn {
    margin: 0;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.85em;
  }
}