/* style/index.css */
.page-index {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css #0a0a0a */
}

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__section-description {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* 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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.2), rgba(10, 10, 10, 0.8));
}

.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(38, 169, 224, 0.4);
}

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

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event */
}

.page-index__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 169, 224, 0.3);
  border-radius: 12px;
  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: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(38, 169, 224, 0.8);
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 1px;
}

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

.page-index__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login/Play Now color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__play-now-button:hover {
  background: #d46a00;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__intro-text {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 18px;
  color: #f0f0f0;
  line-height: 1.8;
}

/* H1 Title Section */
.page-index__title-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to right, #0a0a0a, #1a1a1a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__main-title {
  font-size: 48px;
  color: #26A9E0;
  margin-bottom: 25px;
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index__title-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-index__cta-button--primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index__cta-button--primary:hover {
  background: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.4);
}

.page-index__cta-button--secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index__cta-button--secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.4);
}

/* Game Highlights Section */
.page-index__game-highlights {
  padding: 80px 0;
  background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
}

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

.page-index__game-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(38, 169, 224, 0.2);
}