.video-hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  z-index: 1; /* create stacking context above background layers */
}

/* make sure the <video> stays behind */
.video-hero video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

    /* 👇 Apply the fizzle-out mask at the bottom */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.5)); /* adjustable */
	z-index: 1;
}

/* Centered container for logo + button */
.hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;              
    flex-direction: column;     
    align-items: center;         
    text-align: center;
    z-index: 2;
}

.hero-center a {
    filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.9));
}

/* Logo styling */
.hero-logo {
  max-width: 700px;
  width: 80%;
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.9));
  margin-bottom: 1.5rem; /* spacing before button */
}

/* Button styling */
.hero-button {
  background: linear-gradient(to bottom, #37a524 0%, #43cd2c 100%);
  border: none;
}

.timebox-title {
  font-size: 5rem;
  width: 100%;
  text-align: center;
  align-self: stretch;
}

.timebox {
  display: flex;
  gap: 90px;
	text-shadow:
		0 0 8px rgba(0, 0, 0, 0.8),
		0 0 16px rgba(0, 0, 0, 0.6),
		0 0 24px rgba(0, 0, 0, 0.4);
    margin-top: 0.5rem;
}
.timebox h1 { 
  	font-size: 4rem;
    margin: 0;
    line-height: 1;
}

/* responsive tweaks */
@media (max-width: 768px) {
  .video-hero {
    height: 80vh;
  }
  .timebox {
    gap: 60px;
  }
  .timebox-title {
    font-size: 3.5rem;
  }
  .timebox h1 {
    font-size: 2.5rem;
  }
  .timebox h5 {
    font-size: 1.25rem;
  }
}
@media (max-width: 576px) {
  .video-hero { 
    height: 70vh;
  }
  .timebox {
    gap: 30px;
  }
  .timebox-title {
    font-size: 2.5rem;
  }
  .timebox h1 {
    font-size: 2rem;
  }
  .timebox h5 {
    font-size: 1rem;
  }
}

#beta-video {
  width: 1000px;
  aspect-ratio: 16 / 9;
}

#beta-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile: hide the video (saves bandwidth), show a poster image */
@media (max-width: 767.98px) {
  .video-embed { display: none; }
  .hero-video {
    background-image: url("/hon-content/uploads/2024/09/reborn_small-768x573.png");
    background-size: cover;
    background-position: center;
  }
}