/* style/slot-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --button-login-color: #EA7C07;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color);
  background-color: var(--secondary-color); /* Body background is light, so default text is dark */
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

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

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

.page-slot-games__section-title {
  font-size: clamp(2.5em, 4vw, 3em);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--light-text-color);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games__dark-bg .page-slot-games__sub-title {
  color: var(--light-text-color);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: left;
}

.page-slot-games__text-block a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.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: #f5f5f5;
}

.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%; /* Ensure full width on desktop */
}

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

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size enforcement */
  min-height: 200px;
}

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

.page-slot-games__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* H1 font size with clamp */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--dark-text-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login-color); /* Custom color for login/CTA */
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #c76706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button--secondary {
  background: var(--primary-color);
}

.page-slot-games__cta-button--secondary:hover {
  background: #1e87bb;
}

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

.page-slot-games__feature-card, .page-slot-games__security-item, .page-slot-games__type-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

.page-slot-games__dark-bg .page-slot-games__feature-card, 
.page-slot-games__dark-bg .page-slot-games__security-item, 
.page-slot-games__dark-bg .page-slot-games__type-card {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
}

.page-slot-games__feature-card:hover, .page-slot-games__security-item:hover, .page-slot-games__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-slot-games__dark-bg .page-slot-games__card-title {
  color: var(--light-text-color);
}

.page-slot-games__type-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-slot-games__image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__image-wrapper--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-slot-games__numbered-list, .page-slot-games__bullet-list, .page-slot-games__promo-list {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-slot-games__numbered-list li, .page-slot-games__bullet-list li, .page-slot-games__promo-list li {
  margin-bottom: 10px;
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.page-slot-games__promo-list li {
  position: relative;
  padding-left: 30px;
}

.page-slot-games__promo-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--button-login-color); /* Use a distinct color for promo bullets */
  font-size: 1.2em;
  top: 0;
}

.page-slot-games__dark-bg .page-slot-games__promo-list li::before {
  color: var(--light-text-color);
}

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

/* FAQ styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: var(--secondary-color);
  color: var(--dark-text-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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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 5px 5px;
  text-align: left;
  color: var(--dark-text-color);
}

details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: clamp(2em, 3.5vw, 2.5em);
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-slot-games__sub-title {
    font-size: 1.5em;
  }
}

@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;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-image img {
    border-radius: 4px;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8em, 5vw, 2em);
    margin-bottom: 20px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__sub-title {
    font-size: 1.3em;
  }
  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__features-grid, .page-slot-games__security-grid, .page-slot-games__types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card, .page-slot-games__security-item, .page-slot-games__type-card {
    padding: 20px;
  }
  .page-slot-games__type-card img {
    height: 200px;
  }
  .page-slot-games__image-wrapper--right {
    float: none;
    margin: 20px auto;
  }
  .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;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: clamp(1.6em, 6vw, 1.8em);
  }
  .page-slot-games__main-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }
  .page-slot-games__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
}