/* Base Styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--deep-navy);
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-slot-games__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 25px;
  line-height: 1.3;
}

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

.page-slot-games__dark-section {
  background: var(--card-bg);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-slot-games__dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(17, 59, 122, 0.3), rgba(29, 95, 209, 0.3));
  z-index: 0;
  pointer-events: none;
}

.page-slot-games__dark-section .page-slot-games__container {
  position: relative;
  z-index: 1;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--gold);
  color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

/* Hero Section */
.page-slot-games__hero-section {
  padding: 10px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(242, 193, 78, 0.7);
}

.page-slot-games__lead-text {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-slot-games__image-content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-slot-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__text-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-slot-games__features-list li strong {
  color: var(--text-main);
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
}

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

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

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-slot-games__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 20px 25px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.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-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  background: var(--button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: var(--text-main);
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--glow);
}

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

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

.page-slot-games__tips-section {
  margin-top: 60px;
  padding: 40px;
  background: rgba(17, 59, 122, 0.3);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-slot-games__tips-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232B73F6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  font-size: 17px;
  color: var(--text-secondary);
  text-align: left;
  flex: 0 0 calc(50% - 10px);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
}

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

.page-slot-games__promo-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid var(--border-color);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-slot-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
  margin: 0 15px 10px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-slot-games__promo-footer {
  margin-top: 40px;
  font-size: 17px;
}

.page-slot-games__promo-footer a {
  color: var(--gold);
  text-decoration: underline;
}

.page-slot-games__promo-footer a:hover {
  color: var(--glow);
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

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

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

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

.page-slot-games__benefit-description {
  font-size: 16px;
  color: var(--text-secondary);
}

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

.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: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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: rgba(var(--card-bg-rgb), 0.8);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  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);
  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: rgba(17, 59, 122, 0.3);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-navy);
}

/* Copyright */
.page-slot-games__copyright {
  padding: 20px 0;
  background-color: var(--card-bg);
  text-align: center;
  border-top: 1px solid var(--divider);
}

.page-slot-games__copyright p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__image-content-row {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__text-wrapper {
    text-align: center;
  }
  .page-slot-games__features-list {
    align-items: center;
    justify-content: center;
  }
  .page-slot-games__features-list li {
    text-align: center;
    background-position: center left 5px;
    padding-left: 0;
  }
  .page-slot-games__tips-list li {
    flex: 0 0 100%;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .page-slot-games__sub-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-slot-games__text-block,
  .page-slot-games__lead-text {
    font-size: 16px;
  }
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .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;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__dark-section,
  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }
  .page-slot-games__image-wrapper {
    min-width: unset;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-slot-games__text-wrapper {
    min-width: unset;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-slot-games__card-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__benefits-grid {
    gap: 20px;
  }
  .page-slot-games__card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card,
  .page-slot-games__benefit-item {
    padding: 20px;
  }
  .page-slot-games__card-image,
  .page-slot-games__promo-image {
    height: 180px;
  }
  .page-slot-games__card-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title,
  .page-slot-games__benefit-title {
    font-size: 20px;
  }
  .page-slot-games__card-text,
  .page-slot-games__step-description,
  .page-slot-games__promo-description,
  .page-slot-games__benefit-description {
    font-size: 15px;
  }
  .page-slot-games__tips-section {
    padding: 30px;
  }
  .page-slot-games__tips-list li {
    font-size: 16px;
  }
  details.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: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
  
  /* General image and container responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__hero-content,
  .page-slot-games__image-content-row,
  .page-slot-games__text-wrapper,
  .page-slot-games__image-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__tips-section,
  .page-slot-games__promo-footer,
  .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__features-list,
  .page-slot-games__tips-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__features-list li,
  .page-slot-games__tips-list li {
    padding-left: 0;
    background-position: center left 5px;
  }
}

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

/* Smart Contrast for body background #08162B (dark) */
.page-slot-games {
  color: var(--text-main); /* Must use light text */
}

.page-slot-games__card,
.page-slot-games__step-card,
.page-slot-games__promo-card,
.page-slot-games__benefit-item,
details.page-slot-games__faq-item {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
}

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

.page-slot-games__hero-image {
  filter: brightness(0.7);
}

.page-slot-games__main-title {
  text-shadow: 0 0 20px rgba(242, 193, 78, 0.7);
}

.page-slot-games__section-title {
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}