/* style/no-hu.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--background-color); /* Assuming body background is light */
}

.page-no-hu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  background-color: var(--primary-color); /* Dark section background */
  color: var(--text-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-no-hu__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-no-hu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-no-hu__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-no-hu__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background-color: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-no-hu__btn-primary:hover {
  background-color: #c46406; /* Darken login color */
  border-color: #c46406;
}

.page-no-hu__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-no-hu__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* General Section Styling */
.page-no-hu__introduction-section,
.page-no-hu__how-to-play-section,
.page-no-hu__tips-section,
.page-no-hu__integration-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-no-hu__why-choose-section,
.page-no-hu__popular-games-section,
.page-no-hu__promotions-section,
.page-no-hu__blog-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background sections */
  color: var(--text-light);
}

.page-no-hu__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-no-hu__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-no-hu__text-block a {
  color: var(--login-color);
  text-decoration: underline;
}

.page-no-hu__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Why Choose Section */
.page-no-hu__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-no-hu__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: var(--text-light);
}

.page-no-hu__feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-no-hu__feature-description {
  font-size: 1rem;
  color: var(--text-light);
}

/* How To Play Section */
.page-no-hu__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-no-hu__step-item {
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  padding-left: 70px;
  color: var(--text-dark);
}

.page-no-hu__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.page-no-hu__step-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-no-hu__step-description {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Popular Games Section */
.page-no-hu__game-type-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-no-hu__game-type-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  color: var(--text-light);
}

.page-no-hu__game-type-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-no-hu__game-type-description {
  font-size: 1rem;
  color: var(--text-light);
}

/* Tips Section */
.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-no-hu__tip-item {
  background-color: var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: var(--text-dark);
}

.page-no-hu__tip-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-no-hu__tip-description {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Promotions Section */
.page-no-hu__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-no-hu__promotion-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  color: var(--text-light);
}

.page-no-hu__promotion-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-no-hu__promotion-description {
  font-size: 1rem;
  color: var(--text-light);
}

/* Blog Section */
.page-no-hu__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-no-hu__blog-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-no-hu__blog-card:hover {
  transform: translateY(-5px);
}

.page-no-hu__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-no-hu__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-no-hu__blog-card-content {
  padding: 20px;
}

.page-no-hu__blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-no-hu__blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-no-hu__blog-card-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-no-hu__view-all-wrapper {
  text-align: center;
}

/* Utility for dark background sections */
.page-no-hu__dark-section .page-no-hu__section-title,
.page-no-hu__dark-section .page-no-hu__text-block,
.page-no-hu__dark-section .page-no-hu__text-block a,
.page-no-hu__dark-section .page-no-hu__feature-title,
.page-no-hu__dark-section .page-no-hu__feature-description,
.page-no-hu__dark-section .page-no-hu__game-type-title,
.page-no-hu__dark-section .page-no-hu__game-type-description,
.page-no-hu__dark-section .page-no-hu__promotion-title,
.page-no-hu__dark-section .page-no-hu__promotion-description,
.page-no-hu__dark-section .page-no-hu__blog-card-title,
.page-no-hu__dark-section .page-no-hu__blog-card-excerpt,
.page-no-hu__dark-section .page-no-hu__blog-card-date {
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-no-hu__section-title {
    font-size: 2rem;
  }

  .page-no-hu__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-no-hu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-no-hu__hero-section {
    padding-top: 10px !important;
  }

  .page-no-hu__hero-content {
    padding: 30px 15px;
  }

  .page-no-hu__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-no-hu__hero-description {
    font-size: 1rem;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }

  /* General image responsiveness */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-no-hu__image-content {
    margin: 20px auto;
  }

  /* Section padding for mobile */
  .page-no-hu__introduction-section,
  .page-no-hu__why-choose-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__tips-section,
  .page-no-hu__promotions-section,
  .page-no-hu__integration-section,
  .page-no-hu__blog-section {
    padding: 40px 0;
  }

  .page-no-hu__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-no-hu__text-block {
    font-size: 1rem;
  }

  /* Why Choose Section (Feature List) */
  .page-no-hu__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__feature-item {
    padding: 20px;
  }

  .page-no-hu__feature-title {
    font-size: 1.3rem;
  }
}