/* style/slot-games.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--body-bg);
  line-height: 1.6;
}

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

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

.page-slot-games__container {
  max-width: 100%;
  margin: 0 auto;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-main);
}

.page-slot-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__content-wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-slot-games__text-block,
.page-slot-games__image-block {
  flex: 1;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main);
}

.page-slot-games__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-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, header offset handled by body */
  background-color: var(--body-bg);
}

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

.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;
  border: 1px solid var(--border-color);
}

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

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--glow-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-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: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-slot-games__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

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

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

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

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__card p {
  font-size: 16px;
  color: var(--text-main);
}

/* Benefits Section */
.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__benefits-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary-color);
  font-size: 17px;
  color: var(--text-main);
}

.page-slot-games__benefits-item strong {
  color: var(--secondary-color);
}

/* Guide Section */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: guide-step;
}

.page-slot-games__guide-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-slot-games__guide-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 30px;
  top: 25px;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  opacity: 0.2;
  z-index: 0;
}

.page-slot-games__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  padding-left: 50px; /* Space for step number */
}

.page-slot-games__guide-item p {
  font-size: 16px;
  color: var(--text-main);
  position: relative;
  z-index: 1;
  padding-left: 50px;
}

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

.page-slot-games__promo-card {
  text-align: left;
}

.page-slot-games__button-group {
  text-align: center;
  margin-top: 50px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 10px 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);
}
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(255, 140, 26, 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.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 25px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 12px 12px;
  color: var(--text-main);
}

.page-slot-games__faq-answer p {
  margin-top: 10px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__content-wrapper {
    flex-direction: column;
  }
  .page-slot-games__content-wrapper:nth-of-type(even) {
    flex-direction: column;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__main-title {
    font-size: 38px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__guide-step-title,
  .page-slot-games__guide-item p {
    padding-left: 0;
  }
  .page-slot-games__guide-item::before {
    left: 15px;
    top: 15px;
  }
}

@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: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__cta-button--small {
    padding: 10px 25px;
    font-size: 14px;
  }

  .page-slot-games__section {
    padding: 40px 15px;
  }
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block p {
    font-size: 15px;
  }
  .page-slot-games__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__benefits-item,
  .page-slot-games__guide-item {
    padding: 15px 20px;
    font-size: 15px;
  }
  .page-slot-games__guide-step-title {
    font-size: 18px;
  }
  .page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-slot-games__button-group {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images and containers adapt */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-slot-games__section,
.page-slot-games__container,
.page-slot-games__card,
.page-slot-games__content-wrapper,
.page-slot-games__grid-layout,
.page-slot-games__promo-grid,
.page-slot-games__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games__section,
  .page-slot-games__container,
  .page-slot-games__card,
  .page-slot-games__content-wrapper,
  .page-slot-games__grid-layout,
  .page-slot-games__promo-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__content-wrapper {
    gap: 20px;
  }
  .page-slot-games__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}