@font-face {
  font-family: "Gotham";
  src: url("Gotham_Book.woff2") format("woff2"), url("Gotham_Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("Gotham_Bold.woff2") format("woff2"), url("Gotham_Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background-color: #1e1e1e;
  --input-color: #4f4f4f;
  --text-color: #333;
  --highlight-color: rgb(216, 43, 145);
}

/* Basic Setup and Styling */
body {
  font-family: "Gotham", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  height: 100vh;
}

/* Video Background Container */
#video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  /* Place it behind all other content */
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the video covers the full screen */
}

/* Header Style */
header {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

header .logo {
  height: 25px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

header h1 {
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* Main Content Styling */
main {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Section Styling to space out content */
.scroll-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-top: -20px;
}

/* Animated Content Element Styling */
.content-element {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px 50px;
  border-radius: 10px;
  max-width: 500px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-element h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.content-element p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

/* Heart Leaf Container */
/* Form Container */
.form-container {
  text-align: center;
  width: 22vw;
  min-width: 280px;
  padding: 0vw 1.8vw 1.2vw;
}

.form-container h2 {
  color: #fff;
  font-size: 1.3vw;
  font-weight: 700;
  margin-bottom: 0.5vw;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.form-container p {
  color: #f0f0f0;
  font-size: 0.75vw;
  font-weight: 400;
  margin-bottom: 0.6vw;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.form-input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.6vw 1vw;
  font-size: 0.8vw;
  font-weight: 400;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5vw;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: "Gotham", sans-serif;
  margin-bottom: 0.5vw;
}

.form-input::placeholder {
  color: var(--input-color);
}

.form-input:focus {
  border-color: var(--highlight-color);
  box-shadow: 0 0 20px rgba(216, 43, 145, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}

.form-input.error {
  border-color: #ff4444;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.form-textarea {
  min-height: 5vw;
  resize: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 0.5vw;
  gap: 0.4vw;
}

.form-checkbox {
  width: 1vw;
  height: 1vw;
  cursor: pointer;
  margin: 0;
}

.checkbox-container label {
  color: #fff;
  font-size: 0.7vw;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.character-counter {
  text-align: right;
  color: #fff;
  font-size: 0.6vw;
  margin-top: -0.3vw;
  margin-bottom: 0.4vw;
  opacity: 0.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.privacy-policy-container {
  position: relative;
  text-align: center;
  margin-bottom: 0.5vw;
}

.privacy-policy-link {
  color: #fff;
  font-size: 0.6vw;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.privacy-policy-link:hover {
  opacity: 1;
}

.privacy-policy-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5vw;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 1vw 1.2vw;
  border-radius: 0.8vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  width: 20vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  text-align: left;
  font-size: 0.6vw;
  line-height: 1.4;
}

.privacy-policy-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.5vw solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
}

.privacy-policy-popup p {
  margin: 0 0 0.5vw 0;
}

.privacy-policy-popup p:last-child {
  margin-bottom: 0;
}

.privacy-policy-popup strong {
  font-weight: 700;
  font-size: 0.7vw;
}

.privacy-policy-link:hover + .privacy-policy-popup,
.privacy-policy-popup:hover {
  opacity: 1;
  visibility: visible;
}

.error-message {
  color: #ff4444;
  font-size: 0.7vw;
  margin-bottom: 0.7vw;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-submit {
  box-sizing: border-box;
  width: auto;
  padding: 0.7vw 1vw;
  margin-top: 0.5vw;
  font-size: 0.8vw;
  font-weight: 700;
  border: 0px solid #000;
  border-radius: 1.5vw;
  background: #000;
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-family: "Gotham", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05vw;
}

.form-submit:hover {
  background: #000;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.form-submit:active {
  transform: scale(0.98);
}

/* Footer Style */
footer {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Parallax Sparkle Layers */
.sparkles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
}

.sparkle-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fff, transparent);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle-twinkle 3s ease-in-out infinite;
}

.sparkle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.sparkle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 12px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Different sparkle sizes */
.sparkle.small {
  width: 2px;
  height: 2px;
}

.sparkle.small::before,
.sparkle.small::after {
  width: 8px;
  height: 8px;
}

.sparkle.large {
  width: 6px;
  height: 6px;
}

.sparkle.large::before,
.sparkle.large::after {
  width: 16px;
  height: 16px;
}

@keyframes sparkle-twinkle {
  0%,
100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Fullscreen Zoom Video */
#zoom-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#zoom-video-container.active {
  opacity: 1;
  pointer-events: auto;
}

#zoom-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#zoom-video-alt {
  width: 100%;
  position: absolute;
  height: 100%;
  object-fit: cover;
}

/* Modal for Lees Wens Button */
#wish-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  text-align: center;
  max-width: 600px;
}

#wish-modal.active {
  opacity: 1;
  pointer-events: auto;
}

#wish-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Gotham", sans-serif;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#wish-text {
  color: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 400;
  font-family: "Gotham", sans-serif;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#wish-button {
  box-sizing: border-box;
  width: auto;
  padding: 0.7vw 1vw;
  font-size: 0.8vw;
  font-weight: 700;
  font-family: "Gotham", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05vw;
  border: 0px solid #000;
  border-radius: 1.5vw;
  background: #000;
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#wish-button:hover {
  background: #000;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#wish-button:active {
  transform: scale(0.98);
}

/* Start Button */
#start-button-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1003;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
  text-align: center;
  max-width: 600px;
}

#start-button-container.hidden {
  opacity: 0;
  pointer-events: none;
}

#welcome-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Gotham", sans-serif;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#welcome-text {
  color: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 400;
  font-family: "Gotham", sans-serif;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#start-button {
  box-sizing: border-box;
  width: auto;
  padding: 0.7vw 1vw;
  font-size: 0.8vw;
  font-weight: 700;
  font-family: "Gotham", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05vw;
  border: 0px solid #000;
  border-radius: 1.5vw;
  background: #000;
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#start-button:hover {
  background: #000;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#start-button:active {
  transform: scale(0.98);
}

/* Message Slider Styles */
#message-container {
  position: absolute;
  top: 46%;
  left: 48%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2vw;
  font-family: "Gotham", sans-serif;
  font-weight: 700;
  text-align: center;
  z-index: 1001;
  max-width: 27%;
  pointer-events: none;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  white-space: normal;
}

#message-container span {
  display: inline-block;
  white-space: pre;
}

.arrow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5vw;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  font-family: "Gotham", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  outline: none;
}

.arrow-button:hover {
  opacity: 0.7;
  transform: translateY(-50%) scale(1.1);
}

.arrow-button:active {
  transform: translateY(-50%) scale(1.05);
}

#left-arrow {
  left: 3vw;
}

#right-arrow {
  right: 3vw;
}
