.page-register {
  color: #ffffff; /* Body background is dark (#222), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content background will be handled by body and section backgrounds */
}

.page-register__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color, #FFD700), var(--secondary-color, #8B0000));
}

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

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

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

.page-register__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-register__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 */
}

.page-register__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-register__video-link:hover .page-register__video-overlay {
  opacity: 1;
}

.page-register__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(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

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

.page-register__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #FFD700);
  color: #1a1a1a; /* Ensure high 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.15);
  border: none;
  cursor: pointer;
}

.page-register__play-now-button:hover {
  background: #e0b800; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-register__title-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-color-dark, #1a1a1a);
  color: #ffffff;
  padding-top: 120px; /* Adjust for fixed header if no video section */
}

.page-register__title-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-register__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-register__main-title .highlight {
  color: var(--primary-color, #FFD700);
}

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

.page-register__title-description a {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-register__cta-button--primary {
  background: var(--primary-color, #FFD700);
  color: #1a1a1a; /* Ensure high contrast */
}

.page-register__cta-button--primary:hover {
  background: #e0b800; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
  background: transparent;
  color: var(--primary-color, #FFD700);
  border-color: var(--primary-color, #FFD700);
}

.page-register__cta-button--secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #1a1a1a; /* Ensure high contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-register__cta-buttons--bottom {
  margin-top: 60px;
}

.page-register__form-section {
  padding: 80px 20px;
  background-color: var(--background-color-dark, #1a1a1a);
  color: #ffffff;
}

.page-register__form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible on dark background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__form-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-register__form-title .highlight {
  color: var(--primary-color, #FFD700);
}

.page-register__form-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
  color: #e0e0e0;
}

.page-register__form-intro a {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__form-group {
  margin-bottom: 25px;
}

.page-register__form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #f0f0f0;
}

.page-register__form-group input[type="text"],
.page-register__form-group input[type="password"],
.page-register__form-group input[type="tel"],
.page-register__form-group input[type="email"] {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
  color: #ffffff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-group input[type="text"]::placeholder,
.page-register__form-group input[type="password"]::placeholder,
.page-register__form-group input[type="tel"]::placeholder,
.page-register__form-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-register__form-group input[type="text"]:focus,
.page-register__form-group input[type="password"]:focus,
.page-register__form-group input[type="tel"]:focus,
.page-register__form-group input[type="email"]:focus {
  border-color: var(--primary-color, #FFD700);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-register__form-hint {
  font-size: 13px;
  color: #b0b0b0;
  margin-top: 5px;
  display: block;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.page-register__checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color, #FFD700); /* Checkbox color */
}

.page-register__checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  color: #e0e0e0;
}

.page-register__checkbox-group label a {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
}