html, body {
  height: 100%;
  position: relative;
}

/* CTA Buttons */
.center-button {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: min(92vw, 420px);
}

.center-button button,
.center-button .cta-button {
  width: 100%;
  box-sizing: border-box;
  font-size: clamp(0.84rem, 3.35vw, 1.34rem);
  padding: clamp(9px, 2.68vw, 13px) clamp(13px, 4.02vw, 27px);
  background-color: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  display: block;
}

.center-button > * + * {
  margin-top: 12px;
}

.center-button button:hover,
.center-button .cta-button:hover {
  background-color: #45a049;
}

.center-button button:focus-visible,
.center-button .cta-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Video Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 15px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.close-button {
  position: absolute;
  top: -45px;
  right: -5px;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .center-button { top: 68%; }
}

@media (max-height: 680px) {
  .center-button { top: 64%; }
}

@media (max-width: 600px) and (max-height: 680px) {
  .center-button { top: 70%; }
  .center-button > * + * { margin-top: 8px; }
}
