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

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #000;
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #000;
  background-image: url("/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.title-box {
  position: absolute;
  top: 30%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 6vw;
  animation: fadeIn 1.8s ease forwards;
  z-index: 1;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-50%) translateX(-20px); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.title {
  text-align: left;
  color: #ffffff;
  mix-blend-mode: difference;
  font-family: inherit;
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.title .glow {
  display: inline-block;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 20px rgba(255,255,255,0); }
  100% { text-shadow: 0 0 40px rgba(255,255,255,0.15), 0 0 80px rgba(255,255,255,0.05); }
}

.below {
  margin-top: 5vh;
  width: 55vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.subtitle {
  text-align: left;
  color: #ffffff;
  mix-blend-mode: difference;
  font-family: inherit;
  font-size: clamp(1rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0.85;
}

.actions {
  margin-top: 4vh;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 2vw;
  flex-wrap: wrap;
  position: relative;
}

.action-btn {
  flex: 0 1 auto;
  padding: 0.6em 1.8em;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  font-family: inherit;
  font-size: clamp(0.8rem, 1.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.4s ease;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 0 24px 4px rgba(255,255,255,0.08); }
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.04);
  animation: none;
  box-shadow: 0 0 40px 8px rgba(255, 255, 255, 0.12);
}

.action-btn:active {
  transform: scale(0.94);
}

.cursor {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.05em;
  background: #ffffff;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@media (max-width: 640px) {
  .title-box { padding-left: 5vw; }
  .below { padding-left: 0; width: 70vw; }
  .actions { gap: 3vw; }
  .action-btn { padding: 0.4em 1.2em; font-size: clamp(0.7rem, 2.5vw, 1rem); }
}