/* style/slot-games.css */

/* Custom Color Variables */
: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-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;
}

/* General Page Styles */
.page-slot-games {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--page-slot-games-deep-green);
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: 2px solid var(--page-slot-games-primary-color);
  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: transparent;
  color: var(--page-slot-games-glow-color);
  border: 2px solid var(--page-slot-games-glow-color);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(87, 227, 141, 0.1);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Features Section */
.page-slot-games__features-section,
.page-slot-games__popular-games,
.page-slot-games__how-to-play,
.page-slot-games__strategy-tips,
.page-slot-games__faq-section,
.page-slot-games__call-to-action {
  padding: 80px 20px;
  background-color: var(--page-slot-games-background);
}

.page-slot-games__features-grid,
.page-slot-games__games-grid,
.page-slot-games__steps-grid,
.page-slot-games__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-link {
  color: var(--page-slot-games-gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__card-link:hover {
  color: var(--page-slot-games-glow-color);
  text-decoration: underline;
}

.page-slot-games__card-text {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* Popular Games Section */
.page-slot-games__game-card .page-slot-games__btn-primary {
  margin-top: 20px;
}

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

/* How To Play Section */
.page-slot-games__step-card .page-slot-games__step-number {
  font-size: 3rem;
  color: var(--page-slot-games-gold-color);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1;
}

/* Strategy Tips Section */
.page-slot-games__tip-item {
  text-align: left;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 12px;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
  text-align: left;
  padding: 0;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

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

.page-slot-games__faq-question::marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--page-slot-games-gold-color);
  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: 20px 30px;
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.7;
}

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

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

.page-slot-games__faq-link {
  color: var(--page-slot-games-glow-color);
  text-decoration: underline;
}

.page-slot-games__faq-link:hover {
  color: var(--page-slot-games-gold-color);
}

/* Call To Action Section */
.page-slot-games__call-to-action {
  text-align: center;
  background-color: var(--page-slot-games-deep-green);
  border-top: 1px solid var(--page-slot-games-divider-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2rem;
  }
  .page-slot-games__description {
    font-size: 1rem;
  }
  .page-slot-games__hero-section {
    padding: 40px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-slot-games__features-section,
  .page-slot-games__popular-games,
  .page-slot-games__how-to-play,
  .page-slot-games__strategy-tips,
  .page-slot-games__faq-section,
  .page-slot-games__call-to-action {
    padding: 60px 15px;
  }
  .page-slot-games__card-title {
    font-size: 1.3rem;
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games img {
    max-width: 100% !important;
    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__features-section,
  .page-slot-games__popular-games,
  .page-slot-games__how-to-play,
  .page-slot-games__strategy-tips,
  .page-slot-games__faq-section,
  .page-slot-games__call-to-action,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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;
  }

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

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

  .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;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
  }

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

  .page-slot-games__card {
    padding: 25px;
  }

  .page-slot-games__card-title {
    font-size: 1.2rem;
  }

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

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