/* style/hot-games.css */
.page-hot-games {
  color: #ffffff; /* Assuming primary color is dark, so light text */
  background-color: #1A202C;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Fixed header spacing for desktop */
}

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

/* HERO Section */
.page-hot-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: -120px; /* Offset the padding-top from main */
}

.page-hot-games__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-hot-games__hero-image {
  width: 100%;
  margin: 0;
}

.page-hot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section */
.page-hot-games__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1A202C; /* Dark background */
}

.page-hot-games__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Front 4 occupy 4 columns, back 2 occupy 2 columns */
  gap: 20px;
}

.page-hot-games__products-grid {
  display: grid;
  gap: 20px;
}

.page-hot-games__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-hot-games__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-hot-games__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff; /* Light background for card */
  border: 3px solid #FFD700; /* Golden border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hot-games__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-hot-games__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-hot-games__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* General Section Styling */
.page-hot-games__section {
  padding: 60px 0;
}

.page-hot-games__introduction-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-hot-games__quick-access-section {
  background-color: #0d121c;
  color: #ffffff;
}

.page-hot-games__core-games-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-hot-games__promotions-section {
  background-color: #0d121c;
  color: #ffffff;
}

.page-hot-games__security-support-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-hot-games__faq-section {
  background-color: #0d121c;
  color: #ffffff;
}

.page-hot-games__blog-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-hot-games__title {
  font-size: 3.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-hot-games__subtitle {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-hot-games__text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.page-hot-games__text strong {
  color: #FFD700;
}

.page-hot-games__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 25px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-hot-games__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-hot-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-hot-games__btn-primary {
  background: #FFD700;
  color: #1A202C; /* Dark text on gold button */
  border-color: #FFD700;
}

.page-hot-games__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-hot-games__btn-secondary {
  background: #1A202C;
  color: #FFD700; /* Gold text on dark button */
  border-color: #FFD700;
}

.page-hot-games__btn-secondary:hover {
  background: #FFD700;
  color: #1A202C;
  border-color: #FFD700;
  transform: translateY(-3px);
}

/* Quick Access Section */
.page-hot-games__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-hot-games__quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  background: #1A202C; /* Dark background for card */
  border: 2px solid #FFD700;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-hot-games__quick-link-card:hover {
  transform: translateY(-8px);
  background: #0d121c;
  border-color: #e6c200;
  color: #FFD700;
}

.page-hot-games__quick-link-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-hot-games__quick-link-text {
  font-size: 1.2em;
  font-weight: bold;
  color: inherit;
}

/* Core Games Section */
.page-hot-games__game-category {
  margin-bottom: 50px;
  background: #0d121c;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #FFD700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-hot-games__game-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

/* Promotions Section */
.page-hot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-hot-games__promo-item {
  background: #1A202C;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-hot-games__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Security & Support Section */
.page-hot-games__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-hot-games__security-item {
  text-align: center;
  background: #0d121c;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #FFD700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-hot-games__security-item:hover {
  transform: translateY(-5px);
}

.page-hot-games__security-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-hot-games__security-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

/* FAQ Section */
.page-hot-games__faq-list {
  margin-top: 30px;
}

.page-hot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #1A202C; /* Dark background for FAQ item */
  border: 1px solid #FFD700;
}

.page-hot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1A202C;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-hot-games__faq-question:hover {
  background: #0d121c;
  border-color: #FFD700;
}

.page-hot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-hot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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-hot-games__faq-item.active .page-hot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-hot-games__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: #0d121c;
  color: #f0f0f0;
}

.page-hot-games__faq-item.active .page-hot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-hot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Blog Section */
.page-hot-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-hot-games__blog-card {
  background: #0d121c;
  border: 1px solid #FFD700;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-hot-games__blog-card:hover {
  transform: translateY(-8px);
}

.page-hot-games__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-hot-games__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-hot-games__blog-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-hot-games__blog-title a.page-hot-games__blog-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-hot-games__blog-title a.page-hot-games__blog-link:hover {
  color: #ffffff;
}

.page-hot-games__blog-excerpt {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-hot-games__blog-readmore {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-hot-games__blog-readmore:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-hot-games__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids vertically stacked */
  }
  
  .page-hot-games__products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .page-hot-games__title {
    font-size: 2.8em;
  }

  .page-hot-games__subtitle {
    font-size: 2.2em;
  }

  .page-hot-games__quick-link-icon {
    width: 80px;
    height: 80px;
  }

  .page-hot-games__security-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-hot-games {
    padding-top: 100px; /* Fixed header spacing for mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-hot-games__hero-section {
    margin-top: -100px; /* Offset the padding-top from main */
  }

  .page-hot-games__container {
    padding: 0 15px;
  }
  
  .page-hot-games__products-section {
    padding: 40px 15px;
  }
  
  .page-hot-games__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Front 4 images - 2x2 grid, square */
  .page-hot-games__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-hot-games__products-grid--small .page-hot-games__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-hot-games__products-grid--small .page-hot-games__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }
  
  /* Back 2 large images - each on its own line, square */
  .page-hot-games__products-grid--large {
    grid-template-columns: 1fr; /* Each card occupies one line */
    gap: 15px;
  }
  
  .page-hot-games__products-grid--large .page-hot-games__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  
  .page-hot-games__products-grid--large .page-hot-games__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }

  .page-hot-games__title {
    font-size: 2.2em;
  }

  .page-hot-games__subtitle {
    font-size: 1.8em;
  }

  .page-hot-games__text {
    font-size: 1em;
  }

  .page-hot-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-hot-games__quick-links-grid {
    grid-template-columns: 1fr;
  }

  .page-hot-games__quick-link-icon {
    width: 60px;
    height: 60px;
  }

  .page-hot-games__game-title {
    font-size: 1.6em;
  }

  .page-hot-games__promo-title {
    font-size: 1.4em;
  }

  .page-hot-games__security-grid {
    grid-template-columns: 1fr;
  }

  .page-hot-games__security-icon {
    width: 80px;
    height: 80px;
  }

  .page-hot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-hot-games__faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-hot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-hot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-hot-games__faq-item.active .page-hot-games__faq-answer {
    padding: 15px !important;
  }

  .page-hot-games__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-hot-games__blog-title {
    font-size: 1.3em;
  }
}

/* Ensure all images are responsive and prevent overflow */
.page-hot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-hot-games__section,
.page-hot-games__card,
.page-hot-games__container,
.page-hot-games__product-card,
.page-hot-games__quick-link-card,
.page-hot-games__game-category,
.page-hot-games__promo-item,
.page-hot-games__security-item,
.page-hot-games__faq-item,
.page-hot-games__blog-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-hot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-hot-games__section,
  .page-hot-games__card,
  .page-hot-games__container,
  .page-hot-games__product-card,
  .page-hot-games__quick-link-card,
  .page-hot-games__game-category,
  .page-hot-games__promo-item,
  .page-hot-games__security-item,
  .page-hot-games__faq-item,
  .page-hot-games__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-hot-games__hero-section, .page-hot-games__products-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}