/* style/slot-games.css */

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

.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);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-slot-games__text-main {
  color: var(--text-main);
}

.page-slot-games__text-secondary {
  color: var(--text-secondary);
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--deep-green);
}

.page-slot-games__btn-secondary:hover {
  background: var(--deep-green);
  color: #ffffff;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 60px;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

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

.page-slot-games__main-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
}

.page-slot-games__about-section .page-slot-games__section-title {
  margin-bottom: 30px;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #0c1c14; /* Slightly lighter dark green */
}

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

.page-slot-games__feature-item {
  text-align: center;
}

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

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

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

/* Game Showcase Section */
.page-slot-games__game-showcase {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  text-align: center;
  overflow: hidden;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-slot-games__game-provider {
  font-size: 14px;
  margin-bottom: 20px;
}

.page-slot-games__play-button {
  width: calc(100% - 30px); /* Adjust for padding in card */
  max-width: 200px;
  margin: 0 auto;
}

.page-slot-games__cta-center {
  text-align: center;
}

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

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

.page-slot-games__promo-card {
  text-align: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

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

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
}

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

.page-slot-games__guide-step {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--border);
  text-align: center;
}

.page-slot-games__guide-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.page-slot-games__faq-item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #1a3325;
}

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

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

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  line-height: 1.7;
}

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

.page-slot-games__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-final .page-slot-games__section-title {
  margin-bottom: 20px;
}

.page-slot-games__cta-final .page-slot-games__section-description {
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 50px);
  }

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

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

@media (max-width: 768px) {
  /* General content containers */
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__about-section,
  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }

  .page-slot-games__hero-image-wrapper {
    height: 400px !important; /* Adjust hero image height for mobile */
  }

  /* Buttons responsiveness */
  .page-slot-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

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

  /* Section paddings */
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__about-section,
  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-slot-games__hero-content {
    padding: 20px 0;
  }

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

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

  .page-slot-games__feature-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .page-slot-games__feature-icon {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(26px, 9vw, 36px);
  }

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

  .page-slot-games__hero-image-wrapper {
    height: 300px !important;
  }

  .page-slot-games__section-description {
    font-size: 16px;
  }

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

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

  .page-slot-games__play-button {
    max-width: 180px;
  }
}