.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so use light text */
  background-color: #1a1a1a; /* Inherited from body, but explicitly set for scope */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for titles */
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #2C2F4C;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #2C2F4C;
  transform: translateY(-2px);
}

.page-slot-games__btn-link {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  font-size: 14px;
  margin-top: 15px;
}

.page-slot-games__btn-link:hover {
  background-color: #FFD700;
  color: #2C2F4C;
}

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 0;
}

.page-slot-games__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-title {
  font-size: 52px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  font-weight: 700;
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-slot-games__hero-actions {
  display: flex;
  gap: 20px;
}

.page-slot-games__intro-section {
  padding: 80px 0;
}

.page-slot-games__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: justify;
  color: #f0f0f0;
}

.page-slot-games__image-block {
  text-align: center;
  margin: 40px 0;
}

.page-slot-games__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: #242742; /* Slightly lighter dark background */
}

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

.page-slot-games__game-type-card {
  background-color: #2C2F4C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-type-title {
  font-size: 24px;
  color: #FFD700;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-slot-games__game-type-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px 25px;
  line-height: 1.6;
}

.page-slot-games__advantages-section {
  padding: 80px 0;
}

.page-slot-games__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-slot-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.5;
}

.page-slot-games__advantage-item strong {
  color: #FFD700;
}

.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #242742;
}

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

.page-slot-games__promotion-card {
  background-color: #2C2F4C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promotion-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promotion-title {
  font-size: 24px;
  color: #FFD700;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-slot-games__promotion-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px 25px;
  line-height: 1.6;
}

.page-slot-games__guide-section {
  padding: 80px 0;
}

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

.page-slot-games__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #2C2F4C;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.6;
  flex-grow: 1;
}

.page-slot-games__mobile-section {
  padding: 80px 0;
  background-color: #242742;
}

.page-slot-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-slot-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games__mobile-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2C2F4C;
  border: 1px solid #4a4f7a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #3a3f6a;
  border-color: #5a5f8a;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #242742;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-slot-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__section-description {
  margin-bottom: 40px;
}

.page-slot-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-slot-games__floating-button {
  background-color: #FFD700;
  color: #2C2F4C;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__floating-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Common styles for dark backgrounds */
.page-slot-games__dark-section {
  background-color: #2C2F4C;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 44px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__advantage-list {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-overlay {
    padding: 15px;
  }
  .page-slot-games__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    margin-left: 0;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__container,
  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__advantages-section,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__mobile-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

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

  .page-slot-games__game-type-grid,
  .page-slot-games__promotion-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .page-slot-games__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
  
  .page-slot-games__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-slot-games__floating-button {
    padding: 10px 15px;
    font-size: 14px;
    min-width: 100px;
  }
}