:root {
  --bg: #0a0a0c;
  --fg: #f5f5f2;
  --muted: #8b8b93;
  --accent: #ff3d5a;
  --accent-2: #7c5cff;
  --border: rgba(245, 245, 242, 0.14);
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bg-photo {
  position: fixed;
  inset: 0;
  background: url("assets/aurora.jpg") center 65% / cover no-repeat;
  animation: drift 22s ease-in-out infinite alternate;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.64) 0%, rgba(10, 10, 12, 0.45) 30%, rgba(10, 10, 12, 0.64) 65%, rgba(10, 10, 12, 0.92) 100%);
  z-index: 0;
}

@keyframes drift {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1.5%); }
}

.stage {
  position: fixed;
  z-index: 1;
  top: 28px;
  left: 28px;
}

.name {
  display: block;
  line-height: 0;
  opacity: 0;
  animation: name-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.logo-mark {
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.logo-save-target {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.arrow-shot {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(64px, 9vw, 96px);
  height: auto;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  will-change: transform, opacity;
}

@keyframes name-in {
  to { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .name {
    animation: none !important;
    opacity: 0.82 !important;
  }
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  color: var(--muted);
  display: inline-flex;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--fg);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
}
