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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  order: 1;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  order: 2;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-slot-games__section-title--white {
  color: #ffffff;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-main-color);
}

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

.page-slot-games__dark-bg {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Feature Grid */
.page-slot-games__feature-grid, .page-slot-games__game-types-grid, .page-slot-games__promo-grid, .page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

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

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title, .page-slot-games__game-type-title, .page-slot-games__promo-title, .page-slot-games__tip-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-slot-games__feature-item p, .page-slot-games__game-type-card p, .page-slot-games__promo-card p, .page-slot-games__tip-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main-color);
}

/* CTA Buttons Group */
.page-slot-games__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__btn-primary, .page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Fishing Section */
.page-slot-games__fishing-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__fishing-text {
  flex: 1;
  text-align: left;
}

.page-slot-games__fishing-text p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__fishing-image {
  flex: 1;
  text-align: center;
}

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

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  color: var(--text-main-color);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}

/* Global image responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image img {
    border-radius: 6px;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__feature-grid, .page-slot-games__game-types-grid, .page-slot-games__promo-grid, .page-slot-games__tips-grid {
    gap: 20px;
  }
  .page-slot-games__fishing-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__fishing-text {
    order: 2;
  }
  .page-slot-games__fishing-image {
    order: 1;
    margin-bottom: 30px;
  }
  .page-slot-games__fishing-text p {
    color: #ffffff;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
  }
  .page-slot-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
  }
  .page-slot-games__card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-slot-games__card img {
    border-radius: 6px;
  }
  .page-slot-games__feature-title, .page-slot-games__game-type-title, .page-slot-games__promo-title, .page-slot-games__tip-title {
    font-size: 1.3em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__fishing-content {
    gap: 20px;
  }
  .page-slot-games__fishing-image img {
    border-radius: 8px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 1em; }
  .page-slot-games__faq-toggle { font-size: 20px; width: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  /* Mobile image and container responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section, .page-slot-games__card, .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
  .page-slot-games__feature-title, .page-slot-games__game-type-title, .page-slot-games__promo-title, .page-slot-games__tip-title {
    font-size: 1.2em;
  }
}