:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--bg-dark); /* Should be inherited from shared.css body, but explicit for safety */
  padding-top: 10px; /* Default desktop padding to clear fixed header */
}

/* Container for consistent spacing */
.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-download__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-download__section-description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Highlight text for keywords */
.page-download__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Video Section */
.page-download__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust according to actual header height */
  background: linear-gradient(135deg, rgba(139,0,0,0.8), rgba(255,215,0,0.2)); /* Subtle gradient */
  border-bottom: 2px solid var(--primary-color);
}

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

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

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

.page-download__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-download__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on the link */
}

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

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

.page-download__video-click-hint {
  color: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Use primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

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

.page-download__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold button for contrast */
  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;
}

.page-download__play-now-button:hover {
  background: var(--secondary-color); /* Dark red on hover */
  color: var(--text-light); /* Light text on dark red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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


/* Hero Section (H1 + CTA) */
.page-download__hero-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-dark);
}

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