/* style/index.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #0056b3; /* Slightly darker primary for hover */
  --accent-color: #EA7C07; /* For login/highlight */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #0d0d0d; /* Assuming shared.css body background is dark */
  --border-color: #e0e0e0;
}

.page-index {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherit from body if not explicitly set */
  line-height: 1.6;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Common container styles */
.page-index__hero-container,
.page-index__features-container,
.page-index__games-container,
.page-index__faq-container,
.page-index__brand-container,
.page-index__blog-container,
.page-index__responsible-gambling-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

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

.page-index__light-bg .page-index__section-title,
.page-index__light-bg .page-index__section-description,
.page-index__light-bg .page-index__feature-title,
.page-index__light-bg .page-index__feature-text,
.page-index__light-bg .page-index__game-title,
.page-index__light-bg .page-index__game-description,
.page-index__light-bg .page-index__blog-item-title,
.page-index__light-bg .page-index__blog-item-excerpt,
.page-index__light-bg .page-index__blog-item-date {
  color: var(--text-dark);
}

/* 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: var(--bg-dark);
}

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

.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.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}