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

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 30% 30%, #3a3a41, #080808 75%);
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}

.bg::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(120, 180, 255, 0.06), transparent 70%);
  pointer-events: none;
  animation: glowDrift 18s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-30px, 20px) scale(1.2); opacity: 1; }
  100% { transform: translate(20px, -10px) scale(0.9); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .bg, .bg::after, .header h1, .header .tag, .header .sub, .divider, .menu-item, .footer, .footer .sep {
    animation: none !important;
  }
  .menu-item {
    transition: none !important;
  }
}

.container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  animation: containerIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes containerIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.header {
  margin-bottom: 6vh;
  animation: headerIn 1s ease 0.2s both;
}

@keyframes headerIn {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.header .tag {
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(0.65rem, 0.8vw, 0.8rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.2vh;
  font-weight: 400;
  animation: tagPulse 3s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 0.2; letter-spacing: 0.25em; }
  50% { opacity: 0.5; letter-spacing: 0.35em; }
}

.header h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: titleGlow 4s ease-in-out infinite alternate;
}

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

.header .sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  margin-top: 1.2vh;
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: subIn 1.2s ease 0.5s both;
}

@keyframes subIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2.5vh 0;
  animation: dividerGrow 1.2s ease 0.4s both;
}

@keyframes dividerGrow {
  0% { width: 0; opacity: 0; }
  100% { width: 40px; opacity: 1; }
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 500px;
  width: 100%;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1em 1.6em;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 450;
  letter-spacing: 0.02em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
  animation: itemFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

@supports not (backdrop-filter: blur(6px)) {
  .menu-item {
    background: rgba(255, 255, 255, 0.05);
  }
}

.menu-item:nth-child(1) { animation-delay: 0.10s; }
.menu-item:nth-child(2) { animation-delay: 0.18s; }
.menu-item:nth-child(3) { animation-delay: 0.26s; }
.menu-item:nth-child(4) { animation-delay: 0.34s; }

@keyframes itemFadeUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.menu-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu-item:hover::before {
  opacity: 1;
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item:hover::after {
  width: 100%;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.menu-item:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 0.08s;
}

.menu-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.4s ease;
}

.menu-item .icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s ease;
}

.menu-item:hover .icon svg {
  opacity: 1;
  transform: scale(1.1) rotate(-3deg);
  stroke: #ffffff;
}

.menu-item .icon svg .fill {
  fill: currentColor;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.menu-item:hover .icon svg .fill {
  opacity: 0.4;
}

.menu-item .label {
  display: block;
  transition: all 0.3s ease;
}

.menu-item:hover .label {
  letter-spacing: 0.06em;
}

.footer {
  margin-top: 5vh;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(0.6rem, 0.7vw, 0.75rem);
  letter-spacing: 0.08em;
  animation: footerIn 1.2s ease 0.8s both;
}

@keyframes footerIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.footer a {
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: color 0.4s ease;
  position: relative;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
}

.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer .sep {
  margin: 0 0.6rem;
  opacity: 0.3;
  display: inline-block;
  animation: sepPulse 4s ease-in-out infinite;
}

@keyframes sepPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

@media (max-width: 600px) {
  .container {
    padding: 0 6vw;
  }
  .menu-item {
    padding: 0.8rem 1.2rem;
    gap: 0.8rem;
  }
  .menu-item .icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 320px) {
  .menu-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    gap: 0.6rem;
  }
  .menu-item .icon svg {
    width: 16px;
    height: 16px;
  }
}