* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: #050505;
  overflow: hidden;
}

.photo {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  background-image: url("assets/menixai_web.png");
  background-size: cover;
  background-position: center;
  animation: photoIn 1s ease forwards;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.18), rgba(0,0,0,.42)),
    radial-gradient(circle at 70% 45%, rgba(0, 180, 170, .10), transparent 34%);
  pointer-events: none;
}

.panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  min-height: 100vh;
  padding: clamp(34px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;

  background:
    linear-gradient(135deg, rgba(7, 18, 22, .38), rgba(4, 7, 10, .24)),
    radial-gradient(circle at 0% 25%, rgba(56, 210, 185, .16), transparent 38%),
    radial-gradient(circle at 100% 80%, rgba(56, 135, 255, .10), transparent 42%);

  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);

  border-left: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,.08),
    -28px 0 80px rgba(0,0,0,.26);

  overflow: hidden;
  transform: translateX(100%);
  animation: panelIn 1.25s cubic-bezier(.16, 1, .3, 1) 1s forwards;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.16), transparent 24%, transparent 74%, rgba(255,255,255,.05)),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%);
  opacity: .72;
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 65%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(12deg);
  opacity: .28;
  animation: glassLight 5.6s ease 2s forwards;
  pointer-events: none;
}

.mini,
.title,
.stream,
.button,
.by {
  position: relative;
  z-index: 2;
}

.mini {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .64);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(34px);
  text-shadow: 0 1px 18px rgba(0,0,0,.45);
  animation: fadeUp .9s ease 2.25s forwards;
}

.title {
  font-size: clamp(54px, 7vw, 112px);
  line-height: .9;
  letter-spacing: -0.075em;
  font-weight: 850;
  margin-bottom: 42px;
  white-space: nowrap;

  color: transparent;
  -webkit-text-stroke: 1.25px rgba(255, 255, 255, .9);

  background-image: url("assets/menixai_web.png");
  background-size: 180% auto;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;

  filter: drop-shadow(0 8px 22px rgba(0,0,0,.36));
  opacity: 0;
  transform: translateY(38px);
  animation: fadeUp .9s ease 2.5s forwards;
}

.stream {
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.line {
  opacity: 0;
  transform: translateY(28px);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.35;
  letter-spacing: .02em;
  white-space: normal;
  text-shadow: 0 1px 18px rgba(0,0,0,.42);
}

.line-1 { animation: fadeUp .85s ease 3s forwards; }
.line-2 { animation: fadeUp .85s ease 3.45s forwards; }
.line-3 { animation: fadeUp .85s ease 3.9s forwards; }
.line-4 { animation: fadeUp .85s ease 4.35s forwards; }

.button {
  width: fit-content;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(137, 245, 224, .38);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;

  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 14px 34px rgba(0,0,0,.22);

  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .85s ease 4.95s forwards;
}

.by {
  margin-top: 46px;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(28px);
  text-shadow: 0 1px 18px rgba(0,0,0,.42);
  animation: fadeUp .85s ease 5.3s forwards;
}

@keyframes photoIn {
  from {
    opacity: 0;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes panelIn {
  from {
    transform: translateX(100%);
    opacity: .45;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes glassLight {
  from {
    transform: translateX(0) rotate(12deg);
  }
  to {
    transform: translateX(260%) rotate(12deg);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .photo {
    position: relative;
    width: 100%;
    min-height: 46vh;
    background-position: center;
  }

  .panel {
    position: relative;
    width: 100%;
    min-height: 54vh;
    padding: 34px 22px 42px;
    justify-content: flex-start;
    transform: translateX(100%);
    animation: panelIn .95s cubic-bezier(.16, 1, .3, 1) .8s forwards;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.18);
  }

  .mini {
    margin-bottom: 18px;
  }

  .title {
    font-size: clamp(44px, 14vw, 76px);
    margin-bottom: 30px;
  }

  .stream {
    gap: 15px;
    margin-bottom: 26px;
  }

  .line {
    font-size: 16px;
  }

  .by {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .panel {
    transform: none;
    opacity: 1;
  }

  .mini,
  .title,
  .line,
  .button,
  .by {
    opacity: 1;
    transform: none;
  }
}