/* style/index.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --bg-light: #f8f8f8;
  --bg-dark: #202020;
}

/* General styles for the page content */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Default background, will be overridden by shared.css body background */
}

/* 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); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  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;
}

.page-index__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.1);
}

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

.page-index__hero-title {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-index__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

.page-index__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index__cta-button--primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: var(--login-color); /* Use login color */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-index__cta-button--secondary:hover {
  background: #c26705;
  border-color: #c26705;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Section common styles */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

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

.page-index__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

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

/* Intro Section */
.page-index__intro-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index__intro-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__intro-text {
  flex: 1;
  font-size: 1.1em;
}

.page-index__intro-text p {
  margin-bottom: 15px;
}

.page-index__intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-index__access-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index__access-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
}

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

.page-index__access-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.page-index__access-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--login-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__access-button:hover {
  background: #c26705;
}

.page-index__access-button--login {
  background: var(--login-color);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

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

.page-index__game-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__game-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-index__game-description {
  font-size: 0.95em;
  padding: 0 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-index__game-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  margin-bottom: 25px;
  transition: background-color 0.3s ease;
  font-weight: bold;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__game-button:hover {
  background: #1e87c0;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__promo-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--text-light);
  font-weight: bold;
}

.page-index__promo-title a {
  color: var(--text-light);
  text-decoration: none;
}

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

.page-index__promo-description {
  font-size: 0.95em;
  padding: 0 20px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-index__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--login-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  margin-bottom: 25px;
  transition: background-color 0.3s ease;
  font-weight: bold;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__promo-button:hover {
  background: #c26705;
}

/* Safety & Support Section */
.page-index__safety-support-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-index__safety-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-index__safety-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: inline-block;
}
}