/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  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;
}

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E; /* Custom Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-slot-games__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  background-color: #0A4B2C; /* Deep Green for hero background */
  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;
  object-fit: cover;
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Use clamp for H1 */
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Button responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
  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: #F2C14E; /* Custom Gold */
  border: 2px solid #F2C14E; /* Custom Gold */
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__feature-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__feature-title {
  font-size: 24px;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
  padding: 80px 0;
  background-color: #08160F; /* Custom Background */
}

.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: #11271B; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-slot-games__game-card .page-slot-games__game-title {
  padding: 15px 20px 10px;
  font-size: 22px;
  color: #F2C14E; /* Custom Gold */
  font-weight: bold;
}

.page-slot-games__game-card .page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-card .page-slot-games__game-title a:hover {
  color: #57E38D; /* Custom Glow */
}

.page-slot-games__game-card .page-slot-games__game-text {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  flex-grow: 1;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__step-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #57E38D; /* Custom Glow */
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 24px;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 25px;
}

.page-slot-games__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #22C768; /* Auxiliary color */
  color: #F2FFF6; /* Custom Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  background-color: #13994A;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #08160F; /* Custom Background */
}

.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-color: #11271B; /* Custom Card BG */\  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__promo-title {
  font-size: 22px;
  color: #F2C14E; /* Custom Gold */
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-slot-games__promo-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  padding: 0 20px 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  position: relative;
  user-select: none;
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: #F2C14E; /* Custom Gold */
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Custom Glow */
  margin-left: 15px;
  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 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.7;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: #08160F; /* Custom Background */
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-slot-games__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

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

  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__games-showcase,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0 !important;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }

  .page-slot-games__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-slot-games__section-description {
    font-size: clamp(15px, 3.5vw, 17px);
    margin-bottom: 30px;
  }

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

  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-slot-games__game-card .page-slot-games__game-title,
  .page-slot-games__promo-title,
  .page-slot-games__feature-title,
  .page-slot-games__step-title {
    font-size: 20px;
  }

  .page-slot-games__game-card .page-slot-games__game-text,
  .page-slot-games__promo-text,
  .page-slot-games__feature-text,
  .page-slot-games__step-text,
  .page-slot-games__faq-item summary,
  .page-slot-games__faq-answer {
    font-size: 15px;
  }

  .page-slot-games__faq-item summary {
    padding: 15px;
  }

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

/* Ensure all image containers are responsive */
.page-slot-games__hero-image-wrapper,
.page-slot-games__game-card,
.page-slot-games__promo-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}