* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #0a0a0c;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

h1 {
  font-size: 4rem;
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: -2px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 191, 0, 0.3);
  z-index: 10;
}

.btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  width: 15rem;
  padding: 1rem;
  /* Glassmorphism Button */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 191, 0, 0.4);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10;
}

.btn:hover {
  background: rgba(255, 191, 0, 0.2);
  border-color: #ffbf00;
  box-shadow: 0 10px 20px rgba(255, 191, 0, 0.2);
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a0a0c;
}

.split {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Overlays to darken the images */
.split::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 1s ease;
  z-index: 1;
}

.left {
  left: 0;
  background: url('https://www.hollywoodreporter.com/wp-content/uploads/2024/01/GF-11507_MSG-Melinda-Sue-Gordon-Universal-Pictures-Splash-2024.jpg?w=2000&h=1126&crop=1') center center / cover;
}

/* Left Overlay - Dark Amber gradient */
.left::before {
  background-color: rgba(10, 10, 12, 0.7);
}

.right {
  right: 0;
  background: url('https://s.abcnews.com/images/Entertainment/ht_Dark_knight_christopher_nolan_edit2_thg_120709_wblog.jpg') center center / cover;
}

/* Right Overlay - Dark Charcoal gradient */
.right::before {
  background-color: rgba(10, 10, 12, 0.8);
}

/* Hover Effects triggered by JavaScript */
.hover-left .left {
  width: 75%;
}

.hover-left .right {
  width: 25%;
}

/* Brighten the hovered side */
.hover-left .left::before {
  background-color: rgba(255, 191, 0, 0.2);
}

.hover-right .right {
  width: 75%;
}

.hover-right .left {
  width: 25%;
}

/* Brighten the hovered side */
.hover-right .right::before {
  background-color: rgba(255, 191, 0, 0.2);
}

@media (max-width: 800px) {
  h1 {
    font-size: 2rem;
    top: 30%;
  }
  .btn {
    padding: 0.8rem;
    width: 12rem;
    font-size: 1rem;
  }
}