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

html, body {
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #000;
  color: #000;
}

/* ── Home layout ── */
.home {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.spline-wrap {
  flex: 1;
  min-height: 0;
}

.spline-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Footer nav ── */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.75rem 1rem;
  background: transparent;
}

.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.18);
  transition: all 0.4s ease;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(249, 226, 13, 0.4) 38%,
    rgba(81, 132, 243, 0.5) 44%,
    #e8e8e8 50%,
    rgba(6, 172, 67, 0.5) 56%,
    rgba(255, 61, 211, 0.4) 62%,
    transparent 70%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  animation: glint 20s 2s infinite;
}

.glint-now {
  animation: glint-once 1.2s ease-in-out !important;
}

@keyframes glint {
  0%, 6% { background-position: 100% 0; }
  3% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

@keyframes glint-once {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.footer-nav a:hover {
  -webkit-text-stroke: 0px;
  color: transparent;
  background: linear-gradient(
    135deg,
    #c0c0c0 0%,
    #e8e8e8 25%,
    #a0a0a0 50%,
    #d4d4d4 75%,
    #b0b0b0 100%
  );
  background-size: 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: brightness(1.1);
  animation: none;
}

/* ── Inner pages ── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.page h1 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.page p {
  max-width: 420px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
}

/* ── Social icons ── */
.socials {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: all 0.4s ease;
}

.socials a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  transition: all 0.4s ease;
}

.socials a:last-child svg {
  fill: rgba(255, 255, 255, 0.55);
  stroke: none;
}

.socials a:hover svg {
  stroke: url(#metallic);
  filter: brightness(1.1) drop-shadow(0 0 2px rgba(180, 180, 180, 0.4));
}

.socials a:last-child:hover svg {
  fill: url(#metallic);
  stroke: none;
}

/* ── Back link ── */
.back {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.18);
  transition: all 0.4s ease;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(249, 226, 13, 0.4) 38%,
    rgba(81, 132, 243, 0.5) 44%,
    #e8e8e8 50%,
    rgba(6, 172, 67, 0.5) 56%,
    rgba(255, 61, 211, 0.4) 62%,
    transparent 70%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-background-clip: text;
  animation: glint 20s 2s infinite;
}

.back:hover {
  -webkit-text-stroke: 0px;
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8, #a0a0a0, #d4d4d4, #b0b0b0);
  background-size: 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: none;
}
