.page-slot-games {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  
  background-color: var(--deep-navy); /* Body background is dark, so text is light */
  color: var(--text-main); /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

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

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

/* 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: linear-gradient(180deg, var(--deep-navy) 0%, var(--primary-color) 100%);
}

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

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

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

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

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, #4FA8FF 0%, #1D5FD1 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

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

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

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

.page-slot-games__cta-container {
  text-align: center;
  margin-top: 50px;
}

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

.page-slot-games__cta-button--secondary:hover {
  background: var(--gold-color);
  color: var(--deep-navy);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

/* Guide Section */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__guide-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.page-slot-games__guide-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__guide-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

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

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

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

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

.page-slot-games__promo-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-slot-games__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #4FA8FF 0%, #1D5FD1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* App Download Section */
.page-slot-games__app-download {
  text-align: center;
  background-color: var(--primary-color);
  padding: 80px 0;
}

.page-slot-games__download-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-slot-games__cta-button--download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 35px;
  font-size: 19px;
  border-radius: 50px;
  background: var(--deep-navy);
  color: var(--text-main);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button--download img {
  
  
  min-
  min-
  
  
  object-fit: contain;
  display: block; /* Ensure no extra space below img */
}

.page-slot-games__cta-button--download:hover {
  background: var(--gold-color);
  color: var(--deep-navy);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__download-note {
  margin-top: 30px;
  font-size: 15px;
  color: var(--text-secondary);
}

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

.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: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 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(--gold-color);
  font-weight: 600;
}

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(--border-color), 0.5);
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details[open].page-slot-games__faq-item .page-slot-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--gold-color);
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--border-color), 0.3);
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 4vw, 50px);
  }
  .page-slot-games__description {
    font-size: 17px;
  }
  .page-slot-games__cta-button {
    padding: 14px 40px;
    font-size: 18px;
  }
  .page-slot-games__card-title {
    font-size: 22px;
  }
  .page-slot-games__promo-title {
    font-size: 22px;
  }
  .page-slot-games__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(26px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-slot-games__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .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__hero-image {
    border-radius: 8px;
  }
  
  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__card-image, .page-slot-games__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__grid, .page-slot-games__grid--two-columns, .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__card-text {
    font-size: 15px;
  }
  .page-slot-games__guide-item {
    padding: 20px;
  }
  .page-slot-games__guide-item-title {
    font-size: 20px;
  }
  .page-slot-games__guide-item p {
    font-size: 15px;
  }
  .page-slot-games__promo-card {
    padding: 20px;
  }
  .page-slot-games__promo-title {
    font-size: 20px;
  }
  .page-slot-games__promo-text {
    font-size: 15px;
  }
  .page-slot-games__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__download-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-slot-games__cta-button--download {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 12px 20px;
    font-size: 17px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 18px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 18px 18px;
    font-size: 15px;
  }
}