:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --body-bg-color: #08160F; /* Defined here for clarity, but shared.css sets body background */
}

.page-index {
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--body-bg-color); /* Ensure content area background matches or contrasts */
}

.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* As per instructions, not var(--header-offset) */
  background-color: var(--deep-green);
}

.page-index__video-container {
  position: relative;
  width: 100%; /* Important for desktop flex alignment */
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

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

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

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Allows parent <a> to capture clicks */
}

.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.5);
  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: var(--text-main);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.6);
  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(--button-gradient);
  color: var(--text-main);
  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: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index__title-section,
.page-index__games-section,
.page-index__why-choose-us-section,
.page-index__faq-section,
.page-index__brand-section,
.page-index__blog-section,
.page-index__cta-bottom-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__title-container,
.page-index__games-container,
.page-index__why-choose-us-container,
.page-index__faq-container,
.page-index__brand-container,
.page-index__blog-container,
.page-index__cta-bottom-container {
  max-width: 100%;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 */
  font-weight: bold;
  text-align: center;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-index__title-description {
  font-size: 18px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  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.2);
  border: none;
  cursor: pointer;
  min-width: 180px;
}

.page-index__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index__games-title,
.page-index__why-choose-us-title,
.page-index__faq-main-title,
.page-index__brand-title,
.page-index__blog-title,
.page-index__cta-bottom-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: bold;
  text-align: center;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-index__games-description,
.page-index__why-choose-us-description,
.page-index__blog-description,
.page-index__cta-bottom-description {
  font-size: 16px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-index__game-card,
.page-index__advantage-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-index__game-image,
.page-index__advantage-icon {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index__advantage-icon {
  max-width: 200px;
}

.page-index__game-name,
.page-index__advantage-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-index__game-intro,
.page-index__advantage-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-index__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__game-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}