/* 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-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 {
  background-color: var(--page-slot-games-background); /* #08160F */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, no var(--header-offset) */
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  margin-bottom: 30px;
}

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

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient); /* linear-gradient */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-background); /* #08160F */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-link {
  background: transparent;
  color: var(--page-slot-games-secondary-color); /* #22C768 */
  border: none;
  padding: 8px 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-slot-games__btn-link:hover {
  color: var(--page-slot-games-primary-color); /* #11A84E */
}

.page-slot-games__btn-full-width {
  width: 100%;
  max-width: 300px; /* Limit max width for better aesthetics */
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Info Section */
.page-slot-games__info-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background); /* #08160F */
}

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

.page-slot-games__feature-card {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

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

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 150px; /* Adjust for larger content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 15px;
}

.page-slot-games__feature-text {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}

/* Categories Section */
.page-slot-games__categories-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
}

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

.page-slot-games__category-card {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  text-decoration: none;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

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

.page-slot-games__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__category-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  padding: 20px 20px 10px 20px;
}

.page-slot-games__category-text {
  font-size: 0.95em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  padding: 0 20px 20px 20px;
}

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

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

.page-slot-games__guide-step {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

.page-slot-games__guide-icon {
  width: 100%;
  max-width: 120px; /* Adjust for larger content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__guide-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 15px;
}

.page-slot-games__guide-text {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
}

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

.page-slot-games__promotion-card {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

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

.page-slot-games__promotion-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__promotion-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  padding: 20px 20px 10px 20px;
}

.page-slot-games__promotion-text {
  font-size: 0.95em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  padding: 0 20px 20px 20px;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background); /* #08160F */
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-slot-games-gold); /* #F2C14E */
  background-color: var(--page-slot-games-card-bg); /* #11271B */
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-slot-games__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

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

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 300px !important;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__section-description {
    font-size: 0.95em;
  }

  .page-slot-games__info-section,
  .page-slot-games__categories-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

  .page-slot-games__feature-card,
  .page-slot-games__category-card,
  .page-slot-games__guide-step,
  .page-slot-games__promotion-card {
    padding: 20px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__category-title,
  .page-slot-games__guide-title,
  .page-slot-games__promotion-title {
    font-size: 1.3em;
  }

  .page-slot-games__feature-text,
  .page-slot-games__category-text,
  .page-slot-games__guide-text,
  .page-slot-games__promotion-text {
    font-size: 0.9em;
  }

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

  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__info-section,
  .page-slot-games__categories-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__category-image,
  .page-slot-games__promotion-image {
    height: auto; /* Allow height to adjust naturally on mobile */
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__faq-item summary {
    font-size: 1em;
  }
}