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

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, only small decorative top padding here */
  text-align: center;
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and text */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum size */
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 15px;
  color: var(--text-main);
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--border);
  color: var(--text-main);
  box-shadow: 0 0 10px rgba(var(--text-main), 0.3);
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.3;
}

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

.page-slot-games__about-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg);
  color: var(--text-main);
}

.page-slot-games__features-section,
.page-slot-games__strategy-section,
.page-slot-games__why-choose-section,
.page-slot-games__call-to-action {
  padding: 80px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-slot-games__text-block p {
  margin-bottom: 15px;
}

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

.page-slot-games__card {
  background-color: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-slot-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 15px;
  flex-grow: 1;
}

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

.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-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.page-slot-games__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-slot-games__strategy-card {
  background-color: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text-main);
}

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

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

.page-slot-games__strategy-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__strategy-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 15px 25px 15px;
}

.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: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

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

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

.page-slot-games__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__promo-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin-top: auto;
  align-self: center;
}

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

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

.page-slot-games__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__advantage-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-slot-games__advantage-item p {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

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

.page-slot-games__faq-item details {
  width: 100%;
}

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
}

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

.page-slot-games__call-to-action {
  padding: 100px 0;
  text-align: center;
  background-color: var(--deep-green);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding-bottom: 50px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
  .page-slot-games__grid-cards, 
  .page-slot-games__guide-steps, 
  .page-slot-games__strategy-grid, 
  .page-slot-games__promo-grid, 
  .page-slot-games__advantages-grid {
    gap: 20px;
  }
}

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

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

  .page-slot-games__main-title {
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__about-section,
  .page-slot-games__features-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__faq-section,
  .page-slot-games__call-to-action {
    padding: 60px 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-slot-games__section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__strategy-card,
  .page-slot-games__promo-card,
  .page-slot-games__advantage-item {
    padding: 25px;
  }

  .page-slot-games__card-image,
  .page-slot-games__strategy-image,
  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__card-title,
  .page-slot-games__strategy-title,
  .page-slot-games__promo-title,
  .page-slot-games__advantage-title {
    font-size: 1.3rem;
  }

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

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

  /* Mobile image responsiveness */
  .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-image-wrapper,
  .page-slot-games__guide-steps,
  .page-slot-games__strategy-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__advantages-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

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