.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF);
}

.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 as body handles header offset */
  overflow: hidden;
}

.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 {
  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;
}

.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.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__intro-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-slot-games__section {
  padding: 60px 20px;
  overflow: hidden;
}

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

.page-slot-games__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games__subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__introduction p,
.page-slot-games__security p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-slot-games__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__subtitle {
  color: #ffffff;
}

.page-slot-games__dark-section a {
  color: #ffffff;
  text-decoration: underline;
}

.page-slot-games__dark-section a:hover {
  color: #f0f0f0;
}

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

.page-slot-games__feature-item,
.page-slot-games__card,
.page-slot-games__promotion-card,
.page-slot-games__article-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-slot-games__dark-section .page-slot-games__feature-item,
.page-slot-games__dark-section .page-slot-games__promotion-card,
.page-slot-games__dark-section .page-slot-games__article-card {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-slot-games__dark-section .page-slot-games__feature-item h3,
.page-slot-games__dark-section .page-slot-games__promotion-card h3,
.page-slot-games__dark-section .page-slot-games__article-card h3 {
  color: #ffffff;
}

.page-slot-games__feature-item:hover,
.page-slot-games__card:hover,
.page-slot-games__promotion-card:hover,
.page-slot-games__article-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-item img,
.page-slot-games__card img,
.page-slot-games__article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__feature-item h3,
.page-slot-games__card h3,
.page-slot-games__promotion-card h3,
.page-slot-games__article-card h3 {
  font-size: 1.4em;
  color: #26A9E0;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-slot-games__dark-section .page-slot-games__article-card h3 a {
  color: #ffffff;
  text-decoration: none;
}

.page-slot-games__dark-section .page-slot-games__article-card h3 a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

.page-slot-games__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

.page-slot-games__dark-section .page-slot-games__list li {
  color: #f0f0f0;
}

.page-slot-games__list li strong {
  color: #26A9E0;
}

.page-slot-games__dark-section .page-slot-games__list li strong {
  color: #ffffff;
}

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

.page-slot-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}

.page-slot-games__btn-primary:hover {
  background: #1e87b7;
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-slot-games__article-card time {
  font-size: 0.9em;
  color: #888888;
  display: block;
  margin-top: 10px;
}

.page-slot-games__dark-section .page-slot-games__article-card time {
  color: #cccccc;
}

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #333333;
}
.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;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__subtitle {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-image img {
    border-radius: 4px;
  }
  
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  
  .page-slot-games__intro-description {
    font-size: 1em;
    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;
  }

  .page-slot-games__section {
    padding: 30px 15px;
  }

  .page-slot-games__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__subtitle {
    font-size: 1.4em;
  }

  .page-slot-games__feature-grid,
  .page-slot-games__grid,
  .page-slot-games__promotion-grid,
  .page-slot-games__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__card,
  .page-slot-games__promotion-card,
  .page-slot-games__article-card {
    padding: 20px;
  }

  .page-slot-games__feature-item img,
  .page-slot-games__card img,
  .page-slot-games__article-card img {
    
  }

  .page-slot-games__feature-item h3,
  .page-slot-games__card h3,
  .page-slot-games__promotion-card h3,
  .page-slot-games__article-card h3 {
    font-size: 1.2em;
  }

  .page-slot-games__list {
    margin-left: 15px;
  }

  .page-slot-games__list li {
    font-size: 1em;
  }

  .page-slot-games__cta-container {
    margin-top: 30px;
  }

  /* FAQ Mobile */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }

  /* Image and container overflow prevention */
  .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,
  .page-slot-games__hero-container,
  .page-slot-games__feature-item,
  .page-slot-games__promotion-card,
  .page-slot-games__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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