/* style/slot-games.css */

/* Custom Colors */
:root {
  --febet-primary-color: #11A84E;
  --febet-secondary-color: #22C768;
  --febet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --febet-card-bg: #11271B;
  --febet-background: #08160F;
  --febet-text-main: #F2FFF6;
  --febet-text-secondary: #A7D9B8;
  --febet-border: #2E7A4E;
  --febet-glow: #57E38D;
  --febet-gold: #F2C14E;
  --febet-divider: #1E3A2A;
  --febet-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--febet-background); /* Dark background */
  color: var(--febet-text-main); /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.8em;
  color: var(--febet-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--febet-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small decorative top padding */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the image for visual flow */
  position: relative;
  z-index: 1;
}

.page-slot-games__main-title {
  color: var(--febet-gold);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
  /* No fixed font-size for H1 as per rules */
}

.page-slot-games__description {
  font-size: 1.2em;
  color: var(--febet-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;
}

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

.page-slot-games__btn-primary {
  background: var(--febet-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: 2px solid var(--febet-glow);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--febet-glow);
  border: 2px solid var(--febet-glow);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.3);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--febet-glow);
  color: var(--febet-background); /* Dark text on light background */
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.6);
}

/* Explore Games Section */
.page-slot-games__explore-games {
  background-color: var(--febet-background);
}

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

.page-slot-games__card {
  background-color: var(--febet-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--febet-border);
  color: var(--febet-text-main); /* Light text on dark card background */
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-slot-games__card-title {
  font-size: 1.8em;
  color: var(--febet-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--febet-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__card-button {
  background: var(--febet-button-gradient);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 3px 10px rgba(42, 209, 111, 0.3);
}

.page-slot-games__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.5);
}

.page-slot-games__partners-section {
  margin-top: 60px;
  text-align: center;
}

.page-slot-games__sub-title {
  font-size: 2em;
  color: var(--febet-primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  color: var(--febet-text-secondary);
  margin-bottom: 30px;
}

.page-slot-games__partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-slot-games__partner-logo {
  height: 75px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(80%) brightness(150%);
  transition: filter 0.3s ease;
  filter: none; /* Ensure no CSS filter */
}

.page-slot-games__partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

/* Strategy Tips Section */
.page-slot-games__strategy-tips {
  background-color: var(--febet-deep-green);
}

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

.page-slot-games__strategy-card {
  background-color: var(--febet-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--febet-border);
  color: var(--febet-text-main); /* Light text on dark card background */
}

.page-slot-games__strategy-card .page-slot-games__card-title {
  color: var(--febet-primary-color);
  font-size: 1.6em;
}

.page-slot-games__strategy-card .page-slot-games__card-text {
  color: var(--febet-text-secondary);
  font-size: 1em;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: var(--febet-background);
}

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

.page-slot-games__feature-card {
  background-color: var(--febet-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--febet-border);
  color: var(--febet-text-main); /* Light text on dark card background */
}

.page-slot-games__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-slot-games__feature-card .page-slot-games__card-title {
  color: var(--febet-gold);
  font-size: 1.5em;
}

.page-slot-games__feature-card .page-slot-games__card-text {
  color: var(--febet-text-secondary);
  font-size: 0.95em;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--febet-deep-green);
}

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

.page-slot-games__faq-item {
  background-color: var(--febet-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--febet-border);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--febet-text-main);
  background-color: var(--febet-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-slot-games__faq-question:hover {
  background-color: var(--febet-deep-green);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--febet-gold);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--febet-glow);
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--febet-text-secondary);
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  color: var(--febet-text-secondary);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--febet-deep-green);
}

/* Conclusion CTA Section */
.page-slot-games__conclusion-cta {
  text-align: center;
  background-color: var(--febet-background);
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 20px;
}

/* General link styling within content for contrast */
.page-slot-games a {
  color: var(--febet-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: var(--febet-gold);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -60px;
  }
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
  .page-slot-games__main-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2em; /* Smaller for mobile to prevent overflow */
  }

  .page-slot-games__description,
  .page-slot-games__section-description {
    font-size: 1em;
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__game-types-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__feature-grid,
  .page-slot-games__faq-list,
  .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-image,
  .page-slot-games__card-image,
  .page-slot-games__partner-logo,
  .page-slot-games__feature-icon,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no CSS filter */
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-slot-games__game-type-card,
  .page-slot-games__strategy-card,
  .page-slot-games__feature-card {
    margin-bottom: 20px;
  }

  .page-slot-games__partner-logos {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__main-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-content {
    margin-top: -20px;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
}