:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #1E90FF; /* Xanh dương */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-background: rgba(255, 255, 255, 0.08); /* Nền thẻ hơi trong suốt trên nền tối */
  --border-color: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-resources-3win-slot-game-guide {
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--background-dark); /* Should be overridden by shared.css body, but good practice */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-resources-3win-slot-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section Styling */
.page-resources-3win-slot-game-guide__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-resources-3win-slot-game-guide__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-3win-slot-game-guide__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-3win-slot-game-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__dark-bg .page-resources-3win-slot-game-guide__section-title {
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__section-title {
  color: var(--text-dark);
}

.page-resources-3win-slot-game-guide__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Hero Section */
.page-resources-3win-slot-game-guide__hero-section {
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:3win nổ hũ,cá cược trực tuyến,banner nền]');
  background-size: cover;
  background-position: center;
  padding-top: calc(100px + 120px); /* Adjust for fixed header */
}

.page-resources-3win-slot-game-guide__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-3win-slot-game-guide__hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-resources-3win-slot-game-guide__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-resources-3win-slot-game-guide__btn-primary,
.page-resources-3win-slot-game-guide__btn-secondary,
.page-resources-3win-slot-game-guide__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-3win-slot-game-guide__btn-primary {
  background: var(--primary-color);
  color: var(--background-dark);
}

.page-resources-3win-slot-game-guide__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-3win-slot-game-guide__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-3win-slot-game-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-3win-slot-game-guide__btn-tertiary {
  background: var(--secondary-color);
  color: var(--text-light);
  font-size: 16px;
  padding: 10px 20px;
  box-shadow: none;
}

.page-resources-3win-slot-game-guide__btn-tertiary:hover {
  background: #1a7ad9;
  transform: translateY(-1px);
}

.page-resources-3win-slot-game-guide__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Content Blocks */
.page-resources-3win-slot-game-guide__content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-3win-slot-game-guide__content-block img {
  flex-shrink: 0;
  width: 500px; /* Specific width for content image */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-3win-slot-game-guide__content-block p {
  flex-grow: 1;
  font-size: 17px;
  line-height: 1.8;
}

.page-resources-3win-slot-game-guide__image--left {
  margin-right: 20px;
}

/* Features Grid */
.page-resources-3win-slot-game-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-3win-slot-game-guide__feature-item {
  text-align: center;
  padding: 30px;
}

.page-resources-3win-slot-game-guide__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources-3win-slot-game-guide__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Steps Grid */
.page-resources-3win-slot-game-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-3win-slot-game-guide__step-item {
  padding: 30px;
  text-align: center;
}

.page-resources-3win-slot-game-guide__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-3win-slot-game-guide__step-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* List styles */
.page-resources-3win-slot-game-guide__list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-3win-slot-game-guide__list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-3win-slot-game-guide__list-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-resources-3win-slot-game-guide__list-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__list-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Game Categories */
.page-resources-3win-slot-game-guide__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-3win-slot-game-guide__category-card {
  text-align: center;
  padding: 25px;
  background-color: var(--card-background);
  color: var(--text-light);
}

.page-resources-3win-slot-game-guide__category-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-3win-slot-game-guide__category-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__category-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Promotions */
.page-resources-3win-slot-game-guide__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-3win-slot-game-guide__promo-item {
  padding: 25px;
  text-align: center;
  background-color: var(--card-background);
  color: var(--text-light);
}

.page-resources-3win-slot-game-guide__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-3win-slot-game-guide__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-3win-slot-game-guide__promo-item p {
  font-size: 16px;
  line-height: 1.7;
}

/* Cards (General) */
.page-resources-3win-slot-game-guide__card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border: 1px solid var(--border-color);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__card {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #e0e0e0;
}

/* FAQ Section */
.page-resources-3win-slot-game-guide__faq-list {
  margin-top: 50px;
}

.page-resources-3win-slot-game-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-3win-slot-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__faq-question {
  background: #ffffff;
  border-color: #e0e0e0;
  color: var(--text-dark);
}

.page-resources-3win-slot-game-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-3win-slot-game-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: inherit;
}

.page-resources-3win-slot-game-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-3win-slot-game-guide__faq-item.active .page-resources-3win-slot-game-guide__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-resources-3win-slot-game-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__faq-answer {
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-resources-3win-slot-game-guide__faq-item.active .page-resources-3win-slot-game-guide__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.page-resources-3win-slot-game-guide__light-bg .page-resources-3win-slot-game-guide__faq-item.active .page-resources-3win-slot-game-guide__faq-answer {
  border-color: #e0e0e0;
}

.page-resources-3win-slot-game-guide__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-3win-slot-game-guide__hero-title {
    font-size: 40px;
  }
  .page-resources-3win-slot-game-guide__section-title {
    font-size: 30px;
  }
  .page-resources-3win-slot-game-guide__content-block {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-3win-slot-game-guide__content-block img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
  }
  .page-resources-3win-slot-game-guide__image--left {
    margin-right: auto;
  }
  .page-resources-3win-slot-game-guide__list-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .page-resources-3win-slot-game-guide__list-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-resources-3win-slot-game-guide {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-3win-slot-game-guide__container {
    padding: 0 15px;
  }
  .page-resources-3win-slot-game-guide__section {
    padding: 40px 0;
  }
  .page-resources-3win-slot-game-guide__hero-section {
    padding-top: calc(80px + 100px); /* Adjust for fixed header */
    padding-bottom: 60px;
  }
  .page-resources-3win-slot-game-guide__hero-title {
    font-size: 32px;
  }
  .page-resources-3win-slot-game-guide__hero-subtitle {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-resources-3win-slot-game-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-3win-slot-game-guide__btn-primary,
  .page-resources-3win-slot-game-guide__btn-secondary,
  .page-resources-3win-slot-game-guide__btn-tertiary {
    padding: 12px 25px !important;
    font-size: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-3win-slot-game-guide__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-resources-3win-slot-game-guide__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-resources-3win-slot-game-guide__content-block {
    gap: 20px;
  }
  .page-resources-3win-slot-game-guide__content-block img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .page-resources-3win-slot-game-guide__list-icon {
    width: 80px;
    height: 80px;
  }
  .page-resources-3win-slot-game-guide__list-item h3 {
    font-size: 18px;
  }
  .page-resources-3win-slot-game-guide__category-image,
  .page-resources-3win-slot-game-guide__promo-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover;
  }
  .page-resources-3win-slot-game-guide__faq-question {
    padding: 15px;
  }
  .page-resources-3win-slot-game-guide__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-3win-slot-game-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-resources-3win-slot-game-guide__faq-answer {
    padding: 0 15px;
  }
  .page-resources-3win-slot-game-guide__faq-item.active .page-resources-3win-slot-game-guide__faq-answer {
    padding: 15px !important;
  }
  /* Ensure all containers are responsive */
  .page-resources-3win-slot-game-guide__hero-section,
  .page-resources-3win-slot-game-guide__section,
  .page-resources-3win-slot-game-guide__container,
  .page-resources-3win-slot-game-guide__features-grid,
  .page-resources-3win-slot-game-guide__steps-grid,
  .page-resources-3win-slot-game-guide__list,
  .page-resources-3win-slot-game-guide__game-categories,
  .page-resources-3win-slot-game-guide__promo-grid,
  .page-resources-3win-slot-game-guide__faq-list,
  .page-resources-3win-slot-game-guide__hero-cta-buttons,
  .page-resources-3win-slot-game-guide__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-3win-slot-game-guide__list,
  .page-resources-3win-slot-game-guide__features-grid,
  .page-resources-3win-slot-game-guide__steps-grid,
  .page-resources-3win-slot-game-guide__game-categories,
  .page-resources-3win-slot-game-guide__promo-grid {
    grid-template-columns: 1fr;
  }
}