/* style/slot-games.css */
.page-slot-games {
  color: #ffffff; /* Body background is #111 (dark), so text should be light */
  background-color: transparent; /* Main content background will be handled by sections */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* If shared does not set body padding, this will. */
  padding-bottom: 60px;
  background-color: #1A202C;
}

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

.page-slot-games__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-slot-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  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;
}

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

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

.page-slot-games__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__feature-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #111;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-image-wrapper {
  width: 100%;
  overflow: hidden;
  height: 200px; /* Fixed height for image wrapper to ensure consistency */
}

.page-slot-games__game-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop image to fit wrapper */
  display: block;
}

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

.page-slot-games__game-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-slot-games__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__step-icon {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-slot-games__promotion-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__promotion-content {
  width: 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.page-slot-games__promotion-text {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-slot-games__tips-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__tip-number {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-slot-games__tip-heading {
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.page-slot-games__tip-text {
  font-size: 16px;
  color: #f0f0f0;
  margin: 0;
}

/* Security Section */
.page-slot-games__security-section {
  padding: 80px 0;
  background-color: #111;
}

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

.page-slot-games__security-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-slot-games__security-text-block {
  width: 50%;
}

.page-slot-games__security-sub-title {
  font-size: 26px;
  color: #FFD700;
  margin-bottom: 15px;
  margin-top: 25px;
}

.page-slot-games__security-sub-title:first-of-type {
  margin-top: 0;
}

.page-slot-games__security-paragraph {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1A202C;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #2c3444;
}

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

.page-slot-games__faq-toggle {
  font-size: 30px;
  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: 32px;
  height: 32px;
}

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

.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 25px;
  opacity: 0;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

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

/* Global Image Styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 44px;
  }
  .page-slot-games__hero-description {
    font-size: 20px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
  }
}