/* style/slot-games.css */

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

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--nn88bet-text-main); /* Light text on dark background */
  background-color: var(--nn88bet-background); /* Dark background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-slot-games__dark-bg {
  background-color: var(--nn88bet-background);
  color: var(--nn88bet-text-main);
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--nn88bet-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--nn88bet-text-secondary);
}

.page-slot-games__card {
  background-color: var(--nn88bet-card-bg);
  border: 1px solid var(--nn88bet-border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--nn88bet-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--nn88bet-glow);
}

.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;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--nn88bet-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--nn88bet-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
  min-height: 500px;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

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

.page-slot-games__main-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  color: var(--nn88bet-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--nn88bet-text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-slot-games__about-section,
.page-slot-games__games-showcase,
.page-slot-games__providers-section,
.page-slot-games__promotions-section,
.page-slot-games__get-started-section,
.page-slot-games__tips-section,
.page-slot-games__security-section,
.page-slot-games__support-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
}

.page-slot-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-slot-games__feature-item {
  background-color: var(--nn88bet-card-bg);
  border: 1px solid var(--nn88bet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--nn88bet-glow);
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: var(--nn88bet-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
}

/* Games Showcase Section */
.page-slot-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__game-card {
  text-align: center;
  padding: 20px;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-card-title {
  font-size: 22px;
  color: var(--nn88bet-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__game-card-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
  margin-bottom: 20px;
  min-height: 70px;
}

.page-slot-games__game-card-button {
  background: var(--nn88bet-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.page-slot-games__game-card-button:hover {
  opacity: 0.9;
}

/* Providers Section */
.page-slot-games__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__provider-card {
  text-align: center;
  padding: 20px;
}

.page-slot-games__provider-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__provider-name {
  font-size: 20px;
  color: var(--nn88bet-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__provider-description {
  font-size: 15px;
  color: var(--nn88bet-text-secondary);
}

/* Promotions Section */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promo-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 22px;
  color: var(--nn88bet-gold);
  margin-bottom: 10px;
  font-weight: bold;
  padding: 0 20px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
  margin-bottom: 20px;
  padding: 0 20px;
  min-height: 70px;
}

.page-slot-games__promo-button {
  background: var(--nn88bet-button-gradient);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
  display: inline-block;
  margin-bottom: 20px;
}

.page-slot-games__promo-button:hover {
  opacity: 0.9;
}

/* Get Started Section */
.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: var(--nn88bet-card-bg);
  border: 1px solid var(--nn88bet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 24px;
  color: var(--nn88bet-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
}

/* Tips Section */
.page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__tip-card {
  text-align: center;
  padding: 25px;
}

.page-slot-games__tip-title {
  font-size: 22px;
  color: var(--nn88bet-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__tip-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
}

/* Security Section */
.page-slot-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__security-item {
  background-color: var(--nn88bet-card-bg);
  border: 1px solid var(--nn88bet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-title {
  font-size: 24px;
  color: var(--nn88bet-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__security-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
}

/* Support Section */
.page-slot-games__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__method-card {
  text-align: center;
  padding: 30px;
}

.page-slot-games__method-title {
  font-size: 22px;
  color: var(--nn88bet-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__method-description {
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
  margin-bottom: 20px;
}

.page-slot-games__method-button {
  background: var(--nn88bet-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.page-slot-games__method-button:hover {
  opacity: 0.9;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 50px;
}

.page-slot-games__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--nn88bet-border);
  border-radius: 12px;
  background-color: var(--nn88bet-card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--nn88bet-primary-color);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--nn88bet-text-secondary);
  line-height: 1.6;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

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

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }
  .page-slot-games__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__about-section,
  .page-slot-games__games-showcase,
  .page-slot-games__providers-section,
  .page-slot-games__promotions-section,
  .page-slot-games__get-started-section,
  .page-slot-games__tips-section,
  .page-slot-games__security-section,
  .page-slot-games__support-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

  /* Force responsive video */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

  /* Force responsive buttons */
  .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;
    margin-bottom: 15px; /* Add some space between stacked buttons */
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
  }

  .page-slot-games__hero-section {
    padding: 30px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__section-title {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 20px;
  }
  .page-slot-games__text-block {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-slot-games__feature-list,
  .page-slot-games__game-types-grid,
  .page-slot-games__provider-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__step-list,
  .page-slot-games__tips-grid,
  .page-slot-games__security-features,
  .page-slot-games__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card,
  .page-slot-games__provider-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-item,
  .page-slot-games__tip-card,
  .page-slot-games__security-item,
  .page-slot-games__method-card,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__game-card-image {
    height: 180px;
  }

  .page-slot-games__promo-image {
    height: 200px;
  }

  .page-slot-games__promo-description {
    min-height: auto;
  }

  .page-slot-games__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .page-slot-games__section-title {
    font-size: clamp(20px, 6vw, 28px);
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-slot-games__hero-description {
    font-size: 15px;
  }
  .page-slot-games__text-block {
    font-size: 14px;
  }
  .page-slot-games__feature-title,
  .page-slot-games__game-card-title,
  .page-slot-games__provider-name,
  .page-slot-games__promo-title,
  .page-slot-games__step-title,
  .page-slot-games__tip-title,
  .page-slot-games__security-title,
  .page-slot-games__method-title {
    font-size: 20px;
  }
  .page-slot-games__game-card-description,
  .page-slot-games__provider-description,
  .page-slot-games__promo-description,
  .page-slot-games__step-description,
  .page-slot-games__tip-description,
  .page-slot-games__security-description,
  .page-slot-games__method-description {
    font-size: 14px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }
}