/* style/slot-games-popular-recommendations.css */
.page-slot-games-popular-recommendations {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-slot-games-popular-recommendations__section {
  padding: 60px 0;
}

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

.page-slot-games-popular-recommendations__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-slot-games-popular-recommendations__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-slot-games-popular-recommendations__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-recommendations__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-slot-games-popular-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-slot-games-popular-recommendations__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  position: relative;
}

.page-slot-games-popular-recommendations__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-popular-recommendations__intro-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  min-width: 200px;
  max-width: 100%;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-slot-games-popular-recommendations__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: #f0f0f0;
}

/* Section Titles & Descriptions */
.page-slot-games-popular-recommendations__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: inherit;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__section-description {
  font-size: 1.1rem;
  color: inherit;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-slot-games-popular-recommendations__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.page-slot-games-popular-recommendations__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__feature-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-slot-games-popular-recommendations__game-type-card {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-popular-recommendations__game-type-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games-popular-recommendations__game-type-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-type-card .page-slot-games-popular-recommendations__btn-primary {
  margin: 0 auto;
  width: calc(100% - 30px);
}

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

.page-slot-games-popular-recommendations__game-card {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-popular-recommendations__game-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--glow);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games-popular-recommendations__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__game-card .page-slot-games-popular-recommendations__btn-primary {
  margin: 0 auto;
  width: calc(100% - 30px);
}

/* Tips List */
.page-slot-games-popular-recommendations__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__tips-list li {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games-popular-recommendations__tip-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__tips-list p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  text-align: left;
}

/* Responsible Gambling */
.page-slot-games-popular-recommendations__responsible-gambling-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__responsible-gambling-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px;
}

.page-slot-games-popular-recommendations__responsible-gambling-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games-popular-recommendations__responsible-gambling-text h3 {
  font-size: 1.8rem;
  color: #333333;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__responsible-gambling-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-slot-games-popular-recommendations__responsible-gambling-text li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #333333;
}

.page-slot-games-popular-recommendations__responsible-gambling-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  text-align: left;
}

.page-slot-games-popular-recommendations__responsible-gambling-text a {
  color: var(--deep-green);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__responsible-gambling-text a:hover {
  color: var(--primary-color);
}

/* Registration Steps */
.page-slot-games-popular-recommendations__registration-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-slot-games-popular-recommendations__step-item {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games-popular-recommendations__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__step-item h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-slot-games-popular-recommendations__faq-item {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  list-style: none; /* For details/summary */
}

.page-slot-games-popular-recommendations__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--glow);
  transition: transform 0.3s ease;
}

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

.page-slot-games-popular-recommendations__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: left;
}

.page-slot-games-popular-recommendations__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-recommendations__hero-content {
    max-width: 700px;
  }
  .page-slot-games-popular-recommendations__responsible-gambling-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__section {
    padding: 40px 0;
  }

  .page-slot-games-popular-recommendations__container {
    padding: 0 15px;
  }

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

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

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

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-slot-games-popular-recommendations__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-slot-games-popular-recommendations__section-description {
    font-size: 0.95rem;
  }

  .page-slot-games-popular-recommendations__features-grid,
  .page-slot-games-popular-recommendations__game-types-grid,
  .page-slot-games-popular-recommendations__top-games-grid,
  .page-slot-games-popular-recommendations__registration-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-popular-recommendations__feature-item,
  .page-slot-games-popular-recommendations__game-type-card,
  .page-slot-games-popular-recommendations__game-card,
  .page-slot-games-popular-recommendations__step-item,
  .page-slot-games-popular-recommendations__faq-item {
    padding: 20px;
  }

  .page-slot-games-popular-recommendations__feature-title,
  .page-slot-games-popular-recommendations__game-type-title,
  .page-slot-games-popular-recommendations__game-name,
  .page-slot-games-popular-recommendations__tip-title,
  .page-slot-games-popular-recommendations__step-item h3 {
    font-size: 1.3rem;
  }

  .page-slot-games-popular-recommendations__feature-item p,
  .page-slot-games-popular-recommendations__game-type-card p,
  .page-slot-games-popular-recommendations__game-description,
  .page-slot-games-popular-recommendations__tips-list p,
  .page-slot-games-popular-recommendations__responsible-gambling-text p,
  .page-slot-games-popular-recommendations__responsible-gambling-text li,
  .page-slot-games-popular-recommendations__step-item p,
  .page-slot-games-popular-recommendations__faq-answer {
    font-size: 0.9rem;
  }

  .page-slot-games-popular-recommendations__responsible-gambling-content {
    flex-direction: column;
  }

  .page-slot-games-popular-recommendations__responsible-gambling-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    display: block !important;
  }

  .page-slot-games-popular-recommendations__responsible-gambling-text h3 {
    font-size: 1.5rem;
  }

  .page-slot-games-popular-recommendations__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-slot-games-popular-recommendations__faq-toggle {
    font-size: 1.5rem;
  }

  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__card,
  .page-slot-games-popular-recommendations__container,
  .page-slot-games-popular-recommendations__hero-section,
  .page-slot-games-popular-recommendations__hero-image-wrapper,
  .page-slot-games-popular-recommendations__cta-buttons,
  .page-slot-games-popular-recommendations__features-grid,
  .page-slot-games-popular-recommendations__game-types-grid,
  .page-slot-games-popular-recommendations__top-games-grid,
  .page-slot-games-popular-recommendations__registration-steps,
  .page-slot-games-popular-recommendations__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games-popular-recommendations__hero-section {
    padding-top: 10px !important;
  }
}