@font-face {
  font-family: "Cabinet Grotesk";
  src: url(/Fonts/CabinetGrotesk-Variable.ttf), sans-serif; /* Added fallback font */
}

* {
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh; /* Ensures the body takes full height */
  width: 100%;
}

.container {
  overflow: visible;
  min-height: 100vh;
  background-color: black;
  padding: 0px 86px;
  position: relative;
}

.container-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.left-content {
  grid-column: 1/2;
  grid-row: 1/1;
  justify-self: center;
  opacity: 0;
  animation: fadeInText 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
  animation-delay: 0.3s;
}

h1 {
  color: #fff;
  font-family: "Cabinet Grotesk";
  font-size: 72px;
  font-weight: 800;
  line-height: 1em;
  padding-bottom: 16px;
}

.subtext {
  color: #fff;
  font-family: "Cabinet Grotesk";
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
  padding-bottom: 36px;
}

.input-group {
  display: flex;
  align-items: center;
}

#email {
  width: 460px;
  height: 58px;
  padding: 10px 30px;
  border-radius: 100px;
  background: #fff;
  margin-right: -162px;
  transition: ease-in-out 0.2s;
  outline: none;
  border: 2px solid transparent; /* Initial border to prevent layout shift on focus */
  font-size: 18px;
}

#email:focus {
  outline: none;
  border: 2px solid #ffd700; /* Yellow border on focus */
  font-size: 18px;
}

#email:hover {
  outline: none;
  border: 2px solid #ffd700; /* Yellow border on focus */
}

#notify-btn {
  width: 160px;
  height: 50px;
  padding: 10px;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 100px;
  background: #ffd700;
  color: #000;
  font-family: "Cabinet Grotesk";
  font-size: 18px;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  border: none;
  transition: ease-in-out 0.2s;
}

.container-image {
  position: absolute;
  display: flex;
  justify-self: center;
  align-self: center;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  max-height: 90vh;
  width: auto;
  opacity: 0;
  animation: fadeInText 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0); /* optional: slide up while fading */
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0); /* final position */
  }
}

#notify-btn:hover {
  background: #c69f02; /* Darker yellow on hover */
  cursor: pointer; /* Indicates clickable button */
}

.flare {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none; /* <--- This fixes the click-blocking issue */
  filter: blur(50px);
}

@media (max-width: 768px) {
  .container {
    padding: 60px 0px;
    height: 100vh;
  }

  .container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  h1 {
    text-align: center;
    font-size: 56px;
    padding-bottom: 12px;
  }

  .subtext {
    text-align: center;
    font-size: 18px;
    padding-bottom: 28px;
  }

  .container-image {
    display: none;
  }

  #email:hover {
    border: none;
  }

  #email:focus {
    outline: none;
    border: 2px solid #ffd700; /* Yellow border on focus */
  }
}

@media (max-width: 425px) {
  .container {
    padding: 60px 0px;
    height: 100vh;
  }

  .container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  h1 {
    text-align: center;
    font-size: 36px;
    padding-bottom: 12px;
  }

  .subtext {
    text-align: center;
    font-size: 14px;
    padding-bottom: 28px;
  }

  .container-image {
    display: none;
  }

  #email {
    width: 360px;
    font-size: 16px;
  }

  #email:focus {
    outline: none;
    border: 2px solid #ffd700; /* Yellow border on focus */
    font-size: 16px;
  }
}
