/* style/index-hot-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #DC143C;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-light: #e0e0e0;
}

.page-index-hot-games {
  font-family: Arial, sans-serif;
  color: var(--text-color-light); /* Body background is #222 (dark), so use light text */
  line-height: 1.6;
}

.page-index-hot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

.page-index-hot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-index-hot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-index-hot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-hot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-index-hot-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hot-games__hero-description {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index-hot-games__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-color-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-hot-games__cta-button--centered {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

.page-index-hot-games__section {
  padding: 60px 0;
  text-align: center;
  background: #222; /* Ensure consistent dark background */
  color: var(--text-color-light);
}

.page-index-hot-games__section:nth-of-type(even) {
  background: #2a2a2a;
}

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

.page-index-hot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-index-hot-games__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

.page-index-hot-games__section-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hot-games__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-hot-games__btn-primary,
.page-index-hot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-hot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark);
}

.page-index-hot-games__btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-hot-games__btn-secondary {
  background: #3a3a3a;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-index-hot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-hot-games__game-grid,
.page-index-hot-games__promo-grid,
.page-index-hot-games__feature-grid,
.page-index-hot-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-hot-games__game-card,
.page-index-hot-games__promo-card,
.page-index-hot-games__blog-card {
  background: var(--bg-dark-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-hot-games__game-card:hover,
.page-index-hot-games__promo-card:hover,
.page-index-hot-games__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-index-hot-games__game-image,
.page-index-hot-games__promo-image,
.page-index-hot-games__blog-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-index-hot-games__game-title,
.page-index-hot-games__promo-title,
.page-index-hot-games__blog-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0 0 10px;
}

.page-index-hot-games__game-title a,
.page-index-hot-games__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-hot-games__game-title a:hover,
.page-index-hot-games__blog-title a:hover {
  color: var(--secondary-color);
}

.page-index-hot-games__game-description,
.page-index-hot-games__promo-text,
.page-index-hot-games__blog-summary {
  font-size: 15px;
  color: #bbb;
  padding: 0;
  flex-grow: 1;
}

.page-index-hot-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  margin: 20px 20px 20px 0;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-hot-games__btn-small:hover {
  background: var(--primary-color);
  color: var(--text-color-dark);
  transform: translateY(-2px);
}

.page-index-hot-games__feature-item {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-index-hot-games__feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  object-fit: contain;
}