/* style/index.css */
:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #1A2B4C;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

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

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

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

/* 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: linear-gradient(135deg, var(--primary-color) 0%, #3a507d 100%); /* Slight gradient for depth */
  color: var(--text-color-light);
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-index__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.page-index__hero-description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* General Section Styling */
.page-index__introduction-section,
.page-index__quick-access-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__security-support-section,
.page-index__faq-section,
.page-index__latest-news-section {
  padding: 80px 0;
}

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

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

/* Introduction Section */
.page-index__introduction-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__introduction-text {
  flex: 1;
  text-align: left;
}

.page-index__introduction-text p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-index__introduction-image {
  flex: 1;
  text-align: center;
}

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

/* Quick Access Section */
.page-index__quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-index__access-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: var(--text-color-light);
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index__access-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index__access-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-index__access-card p {
  font-size: 16px;
  opacity: 0.9;
}

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

.page-index__game-card {
  background: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  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;
  max-width: 100%;
}

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

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

.page-index__game-card-title a:hover {
  color: var(--secondary-color);
}

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

.page-index__btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0 20px 20px;
  transition: color 0.3s ease;
}

.page-index__btn-text:hover {
  color: #ffc400;
}

.page-index__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-index__btn-text:hover .page-index__arrow {
  transform: translateX(5px);
}

/* Promotions Section */
.page-index__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-index__promo-card-title {
  font-size: 20px;
  font-weight: 700;
  padding: 15px 20px 10px;
}

.page-index__promo-card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__promo-card-title a:hover {
  color: #ffc400;
}

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

/* Security & Support Section */
.page-index__security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index__info-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-index__info-card img {
  width: 100%;
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-index__info-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index__info-card p {
  font-size: 16px;
  color: #555;
}

/* FAQ Section */
.page-index__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}