/* style/index.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --border-color: #e0e0e0;
}

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

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

.page-index__text-center {
  text-align: center;
}

.page-index__section {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-index__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-index__section-title--light {
  color: var(--text-light);
}

.page-index__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
  color: #555555;
}

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

.page-index__sub-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-index__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-index__list li {
  margin-bottom: 10px;
}

.page-index__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Buttons */
.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-index__cta-button--primary:hover {
  background: #1e87b7;
}

.page-index__cta-button--secondary {
  background: var(--login-color);
  color: var(--text-light);
}

.page-index__cta-button--secondary:hover {
  background: #c26706;
}

.page-index__cta-button--wide {
  min-width: 250px;
  padding: 18px 50px;
  font-size: 20px;
}

.page-index__cta-button--light {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index__cta-button--light:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-index__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
}

.page-index__btn-primary:hover {
  background: #1e87b7;
}

.page-index__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.page-index__btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-index__btn-link:hover {
  color: #1e87b7;
  text-decoration: underline;
}

.page-index__btn-link--light {
  color: var(--secondary-color);
}

.page-index__btn-link--light:hover {
  color: #cccccc;
}

/* HERO Section */
.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);
  background-color: var(--primary-color);
  overflow: hidden;
}

.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;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-index__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* Module 1: About Platform */
.page-index__about-platform-section {
  padding: 80px 0;
}

.page-index__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__text-block {
  padding-right: 20px;
}

.page-index__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Module 2: Quick Access */
.page-index__quick-access-section {
  padding: 80px 0;
}

.page-index__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index__btn-group-item {
  min-width: 200px;
  text-align: center;
  padding: 15px 25px;
  font-size: 16px;
}

/* Module 3: Core Games */
.page-index__core-games-section {
  padding: 80px 0;
}

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

.page-index__game-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-index__game-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-index__game-title a:hover {
  text-decoration: underline;
}

.page-index__game-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

/* Module 4: Promotions */
.page-index__promotions-section {
  padding: 80px 0;
}