/* style/index.css */

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

/* Base styles for page-index */
.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); /* Body background is light */
}

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

.page-index__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  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-color: var(--accent-color-login);
  border-radius: 2px;
}

/* Buttons */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index__cta-button:hover,
.page-index__btn-primary:hover {
  background: #c76706;
  border-color: #c76706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 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); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color), #4db9e7);
  color: var(--text-light);
}

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

.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;
}

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

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

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

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

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

.page-index__intro-item {
  background: var(--bg-light-grey);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index__intro-subtitle {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index__intro-item p {
  font-size: 16px;
  color: #555;
}

/* Quick Links Section */
.page-index__quick-links-section {
  padding: 80px 0;
  background-color: var(--bg-dark-blue);
  color: var(--text-light);
}

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

.page-index__quick-links-section .page-index__section-title::after {
  background-color: var(--text-light);
}

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

.page-index__link-card {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-index__link-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-index__link-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* 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: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index__game-card:hover {
  transform: translateY(-5px);
}

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

.page-index__game-card .page-index__game-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
}

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

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

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

.page-index__game-card .page-index__btn-secondary {
  margin: 0 20px 20px 20px;
  padding: 10px 25px;
  font-size: 16px;
}

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

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

.page-index__promotions-section .page-index__section-title::after {
  background-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.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-index__promo-card .page-index__promo-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
}

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

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

.page-index__promo-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px 20px 20px;
}

.page-index__promo-card .page-index__btn-primary {
  margin: 0 20px 20px 20px;
  padding: 10px 25px;
  font-size: 16px;
  background: var(--accent-color-login);
  border-color: var(--accent-color-login);
}

.page-index__promo-card .page-index__btn-primary:hover {
  background: #c76706;
  border-color: #c76706;
}

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

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

.page-index__safety-card {
  background: var(--bg-light-grey);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-index__safety-card img {
  width: 100%;
   /* Fixed height for icons/illustrations */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__safety-card .page-index__safety-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

.page-index__safety-card p {
  font-size: 15px;
  color: #555;
}