/* style/index.css */
/* 
 * Màu sắc chính: #26A9E0
 * Màu sắc phụ: #FFFFFF
 * Màu sắc đăng nhập: #EA7C07
 * Màu sắc nền: #FFFFFF
 * Màu sắc đen: #000000
 */

.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

/* HERO Main Image Area */
.page-index__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); /* Fixed header spacing */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand colors */
  overflow: hidden; /* Prevent image overflow */
}

.page-index__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__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index__hero-title {
  font-size: 48px;
  color: #000000; /* Dark text for light background */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-index__hero-description {
  font-size: 20px;
  color: #333333; /* Dark text for light background */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button:hover {
  background: #d46b06;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 36px;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #26A9E0;
  border-radius: 2px;
}

.page-index__section-title--light {
  color: #ffffff;
}

.page-index__section-title--light::after {
  background: #ffffff;
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  color: #666666;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__section-description--light {
  color: #f0f0f0;
}

/* Module 1: Introduction */
.page-index__introduction-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-index__intro-content {
  margin-bottom: 40px;
  text-align: justify;
  font-size: 17px;
}

.page-index__intro-content p {
  margin-bottom: 20px;
  color: #333333;
}

.page-index__intro-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Module 2: Quick Access */
.page-index__quick-access-section {
  background: #26A9E0; /* Primary color background */
  padding-top: 60px;
  padding-bottom: 60px;
  color: #ffffff;
}

.page-index__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__quick-link-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__quick-link-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index__quick-link-card .page-index__card-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-index__quick-link-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Module 3: Core Games/Services */
.page-index__games-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-index__game-category {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index__game-category:last-child {
  margin-bottom: 0;
}

.page-index__game-category--reverse {
  flex-direction: row-reverse;
}

.page-index__game-info {
  flex: 1;
  min-width: 300px;
}

.page-index__game-title {
  font-size: 30px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__game-info p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333333;
  text-align: justify;
}

.page-index__game-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index__game-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

/* Module 4: Promotions */
.page-index__promotions-section {
  background: #26A9E0;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #ffffff;
}

.page-index__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-index__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card .page-index__card-title {
  font-size: 20px;
  color: #ffffff;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 20px 15px;
}