/* style/index.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* Login color */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
}

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

.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: var(--text-color-dark);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

/* Common container styles */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-index__dark-bg h1, .page-index__dark-bg h2, .page-index__dark-bg h3, .page-index__dark-bg h4, .page-index__dark-bg h5, .page-index__dark-bg h6 {
  color: var(--text-color-light);
}

.page-index__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  margin: 0 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.page-index__btn-primary:hover {
  background: #1e8dc2;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-index__btn-secondary:hover {
  background: #c26705;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for video section */
}

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

.page-index__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-index__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(38, 169, 224, 0.8); /* Primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-index__play-now-button:hover {
  background: #1e8dc2;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-index__title-section {
  text-align: center;
  padding: 80px 20px;
}

.page-index__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: 42px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index__title-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #555555;
}

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

/* Features Section */
.page-index__features-section {
  padding: 80px 20px;
  text-align: center;
}

.page-index__features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__features-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.page-index__features-description {
  font-size: 18px;
  margin-bottom: 60px;
  color: var(--text-color-light);
}

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

.page-index__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

.page-index__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__feature-item-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-index__feature-item-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Games Overview Section */
.page-index__games-overview {
  padding: 80px 20px;
  text-align: center;
}

.page-index__games-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__games-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.page-index__games-description {
  font-size: 18px;
  margin-bottom: 60px;
  color: #555555;
}

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-index__game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

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

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

.page-index__game-card-text {
  font-size: 15px;
  color: #666666;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 20px;
  text-align: center;
}

.page-index__promotions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__promotions-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-index__promotions-description {
  font-size: 18px;
  margin-bottom: 60px;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-index__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}