/* style/index.css */

:root {
  --primary-color: #0A1931;
  --secondary-color: #E0B400;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212; /* Body background from shared.css */
  --card-bg-dark-section: rgba(255, 255, 255, 0.08);
  --card-border-dark-section: rgba(255, 255, 255, 0.15);
}

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

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

/* Section titles */
.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
  line-height: 1.2;
}

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

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

.page-index__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

/* General card styling */
.page-index__card {
  background: var(--card-bg-dark-section);
  border: 1px solid var(--card-border-dark-section);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-index__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

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

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

.page-index__card p {
  font-size: 16px;
  color: var(--text-color-dark-bg);
  flex-grow: 1;
}

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

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

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

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

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

/* Background colors for sections */
.page-index__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

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

/* 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); /* Ensures content is below fixed header */
  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;
  border-radius: 12px;
  overflow: hidden;
}

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

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

.page-index__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.1;
}

.page-index__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-index__cta-button {
  padding: 15px 40px;
  font-size: 18px;
  margin-top: 0;
}

/* Introduction Section */
.page-index__introduction-section .page-index__section-title,
.page-index__introduction-section .page-index__text-block {
  color: var(--text-color-light-bg);
}

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

.page-index__feature-item {
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light-bg);
}

.page-index__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index__feature-item p {
  font-size: 16px;
  color: var(--text-color-light-bg);
}

/* Quick Links Section */
.page-index__quick-links-section .page-index__section-title,
.page-index__quick-links-section .page-index__text-block {
  color: var(--text-color-dark-bg);
}

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

.page-index__quick-link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--card-bg-dark-section);
  border: 1px solid var(--card-border-dark-section);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color-dark-bg);
  transition: all 0.3s ease;
  height: 100%;
}

.page-index__quick-link-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index__quick-link-card .page-index__card-title {
  color: var(--secondary-color);
  margin-top: 0;
}

.page-index__quick-link-card p {
  color: var(--text-color-dark-bg);
}

/* Core Games Section */
.page-index__core-games-section .page-index__section-title,
.page-index__core-games-section .page-index__text-block {
  color: var(--text-color-light-bg);
}

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

.page-index__game-card {
  background: #ffffff;
  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;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-color-light-bg);
}

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

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

.page-index__game-card .page-index__card-title {
  padding: 15px 20px 0;
  font-size: 20px;
  color: var(--primary-color);
  text-align: left;
}

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

.page-index__game-card p {
  padding: 0 20px 20px;
  font-size: 15px;
  text-align: left;
  flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions-section .page-index__section-title,
.page-index__promotions-section .page-index__text-block {
  color: var(--text-color-dark-bg);
}

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

.page-index__promotion-card {
  background: var(--card-bg-dark-section);
  border: 1px solid var(--card-border-dark-section);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

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

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

.page-index__promotion-card .page-index__card-title {
  padding: 20px 20px 0;
  font-size: 22px;
  color: var(--secondary-color);
}

.page-index__promotion-card p {
  padding: 0 20px;
  font-size: 16px;
  color: var(--text-color-dark-bg);
  flex-grow: 1;
}

.page-index__promotion-card .page-index__btn-primary {
  margin: 20px;
  align-self: flex-start;
}

/* Security & Support Section */
.page-index__security-support-section .page-index__section-title,
.page-index__security-support-section .page-index__text-block {
  color: var(--text-color-light-bg);
}

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

.page-index__security-item {
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light-bg);
}

.page-index__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index__security-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}