/* style/slot-games-popular-slots.css */
/* Custom Colors */
:root {
  --89betwin-primary-color: #11A84E;
  --89betwin-secondary-color: #22C768;
  --89betwin-bg-color: #08160F;
  --89betwin-card-bg: #11271B;
  --89betwin-text-main: #F2FFF6;
  --89betwin-text-secondary: #A7D9B8;
  --89betwin-border-color: #2E7A4E;
  --89betwin-glow-color: #57E38D;
  --89betwin-gold-color: #F2C14E;
  --89betwin-divider-color: #1E3A2A;
  --89betwin-deep-green: #0A4B2C;
  --89betwin-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games-popular-slots {
  background-color: var(--89betwin-bg-color);
  color: var(--89betwin-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games-popular-slots__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games-popular-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  position: relative;
  z-index: 1;
}

.page-slot-games-popular-slots__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over image slightly for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--89betwin-border-color);
}

.page-slot-games-popular-slots__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--89betwin-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games-popular-slots__hero-description {
  font-size: 1.1rem;
  color: var(--89betwin-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-popular-slots__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games-popular-slots__btn-primary,
.page-slot-games-popular-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-popular-slots__btn-primary {
  background: var(--89betwin-btn-gradient);
  color: var(--89betwin-text-main);
  border: 2px solid var(--89betwin-secondary-color);
}

.page-slot-games-popular-slots__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games-popular-slots__btn-secondary {
  background: transparent;
  color: var(--89betwin-secondary-color);
  border: 2px solid var(--89betwin-secondary-color);
}

.page-slot-games-popular-slots__btn-secondary:hover {
  background: var(--89betwin-secondary-color);
  color: var(--89betwin-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games-popular-slots__btn-center {
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-slot-games-popular-slots__intro-section,
.page-slot-games-popular-slots__games-section,
.page-slot-games-popular-slots__providers-section,
.page-slot-games-popular-slots__how-to-play-section,
.page-slot-games-popular-slots__strategy-section,
.page-slot-games-popular-slots__promotions-section,
.page-slot-games-popular-slots__safety-section,
.page-slot-games-popular-slots__faq-section,
.page-slot-games-popular-slots__cta-bottom {
  padding: 60px 0;
  border-bottom: 1px solid var(--89betwin-divider-color);
}

.page-slot-games-popular-slots__dark-section {
  background-color: var(--89betwin-deep-green);
  color: var(--89betwin-text-main);
}

.page-slot-games-popular-slots__section-title {
  font-size: 2.5rem;
  color: var(--89betwin-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games-popular-slots__text-block {
  font-size: 1.1rem;
  color: var(--89betwin-text-secondary);
  text-align: justify;
  margin-bottom: 20px;
}

.page-slot-games-popular-slots__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--89betwin-border-color);
}

/* Game List & Step List */
.page-slot-games-popular-slots__game-list,
.page-slot-games-popular-slots__step-list,
.page-slot-games-popular-slots__promo-list,
.page-slot-games-popular-slots__safety-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-slot-games-popular-slots__list-item {
  background-color: var(--89betwin-card-bg);
  border: 1px solid var(--89betwin-border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-slots__list-title {
  font-size: 1.6rem;
  color: var(--89betwin-gold-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games-popular-slots__list-item p {
  color: var(--89betwin-text-secondary);
  font-size: 1rem;
}

/* Provider Grid */
.page-slot-games-popular-slots__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-slot-games-popular-slots__provider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games-popular-slots__provider-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
}

.page-slot-games-popular-slots__card-title {
  font-size: 1.4rem;
  color: var(--89betwin-gold-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Strategy Cards */
.page-slot-games-popular-slots__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-popular-slots__strategy-card {
  background-color: var(--89betwin-card-bg);
  border: 1px solid var(--89betwin-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-slot-games-popular-slots__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-slot-games-popular-slots__faq-list {
  margin-top: 40px;
}

.page-slot-games-popular-slots__faq-item {
  background-color: var(--89betwin-card-bg);
  border: 1px solid var(--89betwin-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-slots__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--89betwin-gold-color);
  background-color: var(--89betwin-deep-green);
  border-bottom: 1px solid var(--89betwin-border-color);
}

.page-slot-games-popular-slots__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-popular-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-slot-games-popular-slots__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-slot-games-popular-slots__faq-item[open] .page-slot-games-popular-slots__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-popular-slots__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--89betwin-text-secondary);
  line-height: 1.7;
}

/* CTA Bottom */
.page-slot-games-popular-slots__cta-bottom {
  text-align: center;
  padding: 80px 0;
  background-color: var(--89betwin-primary-color);
  color: var(--89betwin-text-main);
}

.page-slot-games-popular-slots__cta-bottom .page-slot-games-popular-slots__section-title {
  color: var(--89betwin-text-main);
  text-shadow: none;
}

.page-slot-games-popular-slots__cta-bottom .page-slot-games-popular-slots__text-block {
  color: var(--89betwin-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-slots__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-slots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-popular-slots__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games-popular-slots__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-slot-games-popular-slots__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games-popular-slots__hero-description {
    font-size: 1rem;
  }

  .page-slot-games-popular-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-popular-slots__btn-primary,
  .page-slot-games-popular-slots__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-popular-slots__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-slot-games-popular-slots__text-block {
    font-size: 1rem;
  }

  .page-slot-games-popular-slots__intro-section,
  .page-slot-games-popular-slots__games-section,
  .page-slot-games-popular-slots__providers-section,
  .page-slot-games-popular-slots__how-to-play-section,
  .page-slot-games-popular-slots__strategy-section,
  .page-slot-games-popular-slots__promotions-section,
  .page-slot-games-popular-slots__safety-section,
  .page-slot-games-popular-slots__faq-section,
  .page-slot-games-popular-slots__cta-bottom {
    padding: 40px 0;
  }

  .page-slot-games-popular-slots__list-item,
  .page-slot-games-popular-slots__provider-card,
  .page-slot-games-popular-slots__strategy-card,
  .page-slot-games-popular-slots__faq-item {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-popular-slots__content-image,
  .page-slot-games-popular-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-slot-games-popular-slots__provider-grid,
  .page-slot-games-popular-slots__card-grid {
    gap: 20px;
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-slot-games-popular-slots__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-slot-games-popular-slots__section,
  .page-slot-games-popular-slots__card,
  .page-slot-games-popular-slots__container,
  .page-slot-games-popular-slots__cta-buttons,
  .page-slot-games-popular-slots__button-group,
  .page-slot-games-popular-slots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}