/* style/slot-games.css */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

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

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-slot-games__text-content {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__dark-section {
  background-color: var(--deep-navy);
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__text-content {
  color: var(--text-secondary);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--gold-color);
}

/* --- Hero Section --- */
.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);
}

.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-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image-wrapper 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.4);
}

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

.page-slot-games__hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--glow-color);
}

.page-slot-games__hero-description {
  font-size: 19px;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA Button General Style --- */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__game-card-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover,
.page-slot-games__btn-primary:hover,
.page-slot-games__btn-secondary:hover,
.page-slot-games__game-card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: none;
  border: 2px solid var(--gold-color);
  color: var(--gold-color);
  box-shadow: none;
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--gold-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

/* --- Cards --- */
.page-slot-games__card,
.page-slot-games__game-card,
.page-slot-games__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.page-slot-games__card:hover,
.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card img,
.page-slot-games__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-slot-games__card-title,
.page-slot-games__game-card-title,
.page-slot-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-slot-games__card-description,
.page-slot-games__game-card-description,
.page-slot-games__promo-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* --- Feature List (Why JB88) --- */
.page-slot-games__feature-list,
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
}

.page-slot-games__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-slot-games__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__list-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-slot-games__list-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Step-by-Step Guide --- */
.page-slot-games__step-by-step {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.page-slot-games__step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__step-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__step-icon {
  font-size: 36px;
  font-weight: bold;
  color: var(--gold-color);
  background: var(--primary-color);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--gold-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-slot-games__step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-height: 200px; /* Minimum image size */
}

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

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--deep-navy);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: bold;
}

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: rgba(29, 95, 209, 0.1);
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-navy);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* --- Final CTA Section --- */
.page-slot-games__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
}

@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-wrapper img {
    border-radius: 4px;
  }

  .page-slot-games__hero-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }

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

  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__game-card-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;
  }

  .page-slot-games__btn-secondary {
    margin-top: 15px;
  }

  .page-slot-games__container {
    padding: 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 30px;
  }

  .page-slot-games__text-content {
    font-size: 15px;
    text-align: left;
  }

  .page-slot-games__dark-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__grid-layout,
  .page-slot-games__game-cards-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__feature-list,
  .page-slot-games__security-list,
  .page-slot-games__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__list-item,
  .page-slot-games__step-item {
    padding: 20px;
  }

  .page-slot-games__card-title,
  .page-slot-games__game-card-title,
  .page-slot-games__promo-title,
  .page-slot-games__list-title,
  .page-slot-games__step-title {
    font-size: 20px;
  }

  .page-slot-games__card-description,
  .page-slot-games__game-card-description,
  .page-slot-games__promo-description,
  .page-slot-games__list-description,
  .page-slot-games__step-description {
    font-size: 15px;
  }

  .page-slot-games__step-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    margin-bottom: 15px;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 15px;
  }

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

  .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__hero-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-slot-games__hero-description {
    font-size: 15px;
  }
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__game-card-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-slot-games__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .page-slot-games__text-content {
    font-size: 14px;
  }
  .page-slot-games__card-title,
  .page-slot-games__game-card-title,
  .page-slot-games__promo-title,
  .page-slot-games__list-title,
  .page-slot-games__step-title {
    font-size: 18px;
  }
  .page-slot-games__card-description,
  .page-slot-games__game-card-description,
  .page-slot-games__promo-description,
  .page-slot-games__list-description,
  .page-slot-games__step-description {
    font-size: 14px;
  }
  .page-slot-games__step-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .page-slot-games__faq-qtext {
    font-size: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 22px;
  }
}