:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* Màu cho nút Đăng nhập */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #ffffff;
  --bg-color-dark: #26A9E0;
  --border-color: #e0e0e0;
}

.page-slots {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Body background is default white, so use dark text */
  line-height: 1.6;
  font-size: 16px;
}

.page-slots__section-spacing {
  padding: 60px 20px;
}

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

.page-slots__text-center {
  text-align: center;
}

h1, h2, h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 25px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-color-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
}

p {
  margin-bottom: 15px;
}

/* --- HERO Section --- */
.page-slots__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 */
  overflow: hidden; /* Ensure content doesn't spill */
  background-color: #000; /* Dark background for contrast with image */
}

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

.page-slots__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-slots__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  min-height: 200px; /* Min size for images */
}

.page-slots__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light);
}

.page-slots__hero-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto 30px;
  line-height: 1.7;
}

.page-slots__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Use specific login color for CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: none;
}

.page-slots__cta-button:hover {
  background: #c76706; /* Darker shade of secondary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- General Section Styles --- */
.page-slots__dark-section {
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page-slots__dark-section h2, .page-slots__dark-section h3 {
  color: var(--text-color-light);
}

.page-slots ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.page-slots li {
  margin-bottom: 10px;
}

.page-slots ol {
  padding-left: 20px;
}

.page-slots ol li {
  margin-bottom: 15px;
}

.page-slots__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-slots__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-height: 200px; /* Min size for images */
}

/* --- Game Types Grid --- */
.page-slots__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots__game-type-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-color-light);
}

.page-slots__game-type-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-slots__game-type-card h3 {
  color: var(--text-color-light);
  margin-bottom: 15px;
}

/* --- Promotions List --- */
.page-slots__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-slots__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--text-color-light);
}

.page-slots__promo-list li h3 {
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-slots__promo-list li p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Security List --- */
.page-slots__security-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
  font-size: 1.05rem;
}

.page-slots__security-list li {
  background: var(--bg-color-light);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-color);
  color: var(--text-color-dark);
}

/* --- Tips List --- */
.page-slots__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-slots__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  color: var(--text-color-light);
  border-left: 4px solid var(--secondary-color);
}

/* --- FAQ Section --- */
details.page-slots__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-color-light);
  color: var(--text-color-dark);
}

details.page-slots__faq-item summary.page-slots__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-slots__faq-item summary.page-slots__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slots__faq-item summary.page-slots__faq-question:hover {
  background: #f5f5f5;
}

.page-slots__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-slots__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-slots__faq-item .page-slots__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

.page-slots__faq-answer p {
  margin-bottom: 0;
}

/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 768px) {
  .page-slots {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-slots__section-spacing {
    padding: 40px 15px;
  }

  .page-slots__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  h3 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 10px;
  }

  .page-slots__hero-image {
    margin-bottom: 20px;
  }

  .page-slots__hero-image img,
  .page-slots__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min- /* Adjust min height for mobile */
  }

  .page-slots__container,
  .page-slots__game-type-card,
  .page-slots__promo-list li,
  .page-slots__security-list li,
  .page-slots__tips-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slots__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;
    display: block; /* Ensure block display for full width */
  }

  .page-slots__game-types-grid,
  .page-slots__promo-list,
  .page-slots__tips-list {
    gap: 20px;
  }

  details.page-slots__faq-item summary.page-slots__faq-question {
    padding: 15px;
  }
  .page-slots__faq-qtext {
    font-size: 15px;
  }
  details.page-slots__faq-item .page-slots__faq-answer {
    padding: 0 15px 15px;
  }
}