.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: var(--dark-bg-1); /* Assume body background is dark from shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #4A00B7;
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-slot-games__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

.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: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #4A00B7;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(74, 0, 183, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

/* Types Section */
.page-slot-games__types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-slot-games__card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #4A00B7;
}

.page-slot-games__card-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin: 25px 15px 15px;
}

.page-slot-games__card-description {
  font-size: 1rem;
  color: #f0f0f0;
  padding: 0 20px 25px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background-color: #4A00B7;
}

.page-slot-games__dark-section {
  background-color: #4A00B7;
  color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #FFD700;
}

.page-slot-games__dark-section .page-slot-games__section-title::after {
  background-color: #FFD700;
}

.page-slot-games__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-slot-games__benefit-item {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__benefit-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

.page-slot-games__guide-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.page-slot-games__guide-steps {
  flex: 1;
}

.page-slot-games__step-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  color: #f0f0f0;
  font-size: 1rem;
}

.page-slot-games__guide-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-slot-games__strategies-section {
  padding: 80px 0;
  background-color: #4A00B7;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-slot-games__strategy-list li {
  background-color: rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-slot-games__strategy-list li strong {
  color: #FFD700;
}

.page-slot-games__strategy-image {
  display: block;
  margin: 40px auto;
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-slot-games__video-caption {
  color: #f0f0f0;
  font-size: 1rem;
  margin-top: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-slot-games__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #4A00B7;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #5d00d9;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #3a3a3a;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-slot-games__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-slot-games__cta-title {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-slot-games__cta-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }

  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
  }

  .page-slot-games__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-slot-games__guide-content {
    flex-direction: column;
  }

  .page-slot-games__guide-image {
    max-width: 80%;
    margin-top: 40px;
  }

  .page-slot-games__strategy-image {
    max-width: 90%;
  }
}

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

  .page-slot-games__hero-section {
    height: 500px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

  .page-slot-games__grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__grid--2-cols {
    grid-template-columns: 1fr;
  }

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

  .page-slot-games__card-title {
    font-size: 1.5rem;
  }

  .page-slot-games__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__benefit-title {
    font-size: 1.5rem;
  }

  .page-slot-games__guide-image {
    max-width: 100%;
  }

  .page-slot-games__video-wrapper {
    margin: 0 15px;
  }

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

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

  .page-slot-games__cta-title {
    font-size: 2rem;
  }

  .page-slot-games__cta-description {
    font-size: 1rem;
  }

  /* 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__guide-content,
  .page-slot-games__video-wrapper,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply offset if shared doesn't */
  }
  
  /* Mobile video responsiveness */
  .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;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    height: 400px;
  }

  .page-slot-games__hero-title {
    font-size: 1.8rem;
  }

  .page-slot-games__hero-description {
    font-size: 0.9rem;
  }

  .page-slot-games__section-title {
    font-size: 1.5rem;
  }

  .page-slot-games__card-title {
    font-size: 1.3rem;
  }

  .page-slot-games__benefit-title {
    font-size: 1.3rem;
  }

  .page-slot-games__cta-title {
    font-size: 1.8rem;
  }

  .page-slot-games__cta-description {
    font-size: 0.9rem;
  }
}