/* ═══════════════════════════════════════════════════════════════════
 * Design 09 — Neo-Tokyo Chrome Lower
 * Image: yuri-09.png   ·   Palette: jet-black + electric magenta + chrome + ice cyan   ·   Type: Orbitron display + IBM Plex Mono
 * Layout: full-viewport fixed hero photo as background; floating chrome-bordered glass cards stacked in the lower portion; holographic gradient on title; whole page scrolls naturally
 * Mood: Y2K cyber · neo-Tokyo · holographic · futuristic glamour
 *
 * The HTML structure is rendered by ../../shared/render.js — DO NOT
 * change it from here. Only style the classes it produces.
 * ═════════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap");

:root {
  --ink:          #050309;
  --void:         #07050f;
  --carbon:       #110b1c;
  --carbon-2:     #1a1228;

  --magenta:      #ff2a9d;
  --magenta-hot:  #ff5fb2;
  --magenta-deep: #b30e6a;
  --magenta-glow: rgba(255, 42, 157, .42);
  --magenta-mist: rgba(255, 42, 157, .12);

  --cyan:         #6df2ff;
  --cyan-deep:    #28b8d2;
  --cyan-glow:    rgba(109, 242, 255, .32);

  --chrome-1:     #ffffff;
  --chrome-2:     #e5e8f2;
  --chrome-3:     #aab0c2;
  --chrome-4:     #6c7186;
  --chrome-5:     #353948;

  --paper:        #f4f1fb;
  --pearl:        #e9e6f3;
  --mist:         #969ab0;
  --whisper:      #5c5f72;

  --hairline:        rgba(255, 255, 255, .08);
  --hairline-strong: rgba(255, 255, 255, .18);
  --magenta-hair:    rgba(255, 42, 157, .28);
  --cyan-hair:       rgba(109, 242, 255, .26);

  --display: "Orbitron", "Eurostile", ui-sans-serif, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --ease:      cubic-bezier(.2, .7, .2, 1);
  --ease-snap: cubic-bezier(.16, 1, .3, 1);

  --grid-stop: rgba(255, 255, 255, .035);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); }

body {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--pearl);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;

  background:
    linear-gradient(var(--grid-stop) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, var(--grid-stop) 1px, transparent 1px) 0 0 / 28px 100%,
    radial-gradient(ellipse 70% 50% at 80% 0%,   rgba(255, 42, 157, .14), transparent 60%),
    radial-gradient(ellipse 80% 60% at 10% 110%, rgba(109, 242, 255, .10), transparent 65%),
    var(--void);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--magenta); color: var(--ink); }
:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── back-to-gallery chrome chip ─────────────────────── */
.back { display: none; }

/* ── full-viewport fixed photo + holo veil ───────────── */
/* the figure itself dissolves so img / veil / title can be
   placed independently — img + veil pin to the viewport,
   the title flows in the stage in the lower portion */
.hero { display: contents; }
.hero picture { display: contents; }

.hero__img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: -2;
  opacity: .90;
  filter: none;
  transform: scale(1.04);
  pointer-events: none;
}

.hero__veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 48%,
    rgba(7, 5, 15, .40) 56%,
    rgba(7, 5, 15, .82) 100%);
}


/* ── stage layout — content starts in the lower half ─── */
/* large top padding pushes title + socials + cards into the
   lower portion; the whole stage scrolls naturally while the
   background photo stays fixed */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  padding: 54vh 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── hero title — holographic chrome ─────────────────── */
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 13vw, 4.6rem);
  line-height: .92;
  letter-spacing: -.015em;
  text-transform: lowercase;

  background:
    linear-gradient(96deg,
      #ffffff 0%,
      #e5e8f2 22%,
      #aab0c2 38%,
      #ff2a9d 58%,
      #ff5fb2 72%,
      #6df2ff 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(0 0 22px rgba(255, 42, 157, .35))
    drop-shadow(0 1px 0 rgba(255, 255, 255, .15));

  animation: shimmer 9s linear infinite;
}

.hero__title::after {
  /* a small mono tag, like an edition stamp */
  content: "Model / Content Creator / Streamer";
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--chrome-3);
  -webkit-text-fill-color: var(--chrome-3);
  background: none;
  filter: none;
}

@keyframes shimmer {
  0%   { background-position:   0% 50%; }
  100% { background-position: 220% 50%; }
}

/* ── content panel — vertical stack of socials + cards ─ */
.panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── social row — chrome chips ───────────────────────── */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--chrome-2);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 55%),
    rgba(7, 5, 15, .55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--hairline-strong);
  transition:
    color        .3s var(--ease),
    border-color .3s var(--ease),
    background   .3s var(--ease),
    box-shadow   .3s var(--ease),
    transform    .3s var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover {
  color: var(--chrome-1);
  border-color: var(--magenta-hair);
  background:
    linear-gradient(160deg, rgba(255, 42, 157, .14), rgba(109, 242, 255, .06) 60%),
    rgba(7, 5, 15, .7);
  box-shadow:
    0 0 22px -4px var(--magenta-glow),
    inset 0 0 14px -8px var(--cyan-glow);
  transform: translateY(-2px);
}

/* ── action cards — glass with chrome hairline ───────── */
.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)),
    rgba(7, 5, 15, .55);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  color: var(--pearl);
  overflow: hidden;
  transition:
    border-color .35s var(--ease),
    background   .35s var(--ease),
    transform    .35s var(--ease),
    box-shadow   .35s var(--ease);
}

.card::before {
  /* sweep highlight that drifts on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, .08) 48%,
    rgba(255, 42, 157, .15) 52%,
    transparent 70%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease-snap);
  pointer-events: none;
}
.card:hover {
  border-color: var(--magenta-hair);
  background:
    linear-gradient(180deg, rgba(255, 42, 157, .06), rgba(255, 255, 255, 0)),
    rgba(7, 5, 15, .72);
  box-shadow: 0 14px 36px -22px var(--magenta-glow);
  transform: translateY(-2px);
}
.card:hover::before { transform: translateX(110%); }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.card__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__sub {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  color: var(--chrome-2);
  background: rgba(255, 255, 255, .025);
  transition:
    color        .3s var(--ease),
    border-color .3s var(--ease),
    background   .3s var(--ease),
    transform    .3s var(--ease);
}
.card__arrow svg { width: 16px; height: 16px; }
.card:hover .card__arrow {
  color: var(--ink);
  border-color: var(--magenta);
  background: var(--magenta);
  transform: translateX(3px);
}

/* ── primary card — holographic frame, larger ───────── */
.card--primary {
  padding: 18px 22px 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(7, 5, 15, .82), rgba(7, 5, 15, .82)) padding-box,
    linear-gradient(118deg, #ff2a9d 0%, #ff5fb2 22%, #ffffff 40%, #6df2ff 62%, #ff2a9d 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 16px 44px -22px var(--magenta-glow),
    0 4px 22px -18px var(--cyan-glow);
}
.card--primary::after {
  /* chrome stripe on the right edge */
  content: "";
  position: absolute;
  top: 10px; bottom: 10px; right: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--magenta) 0%, var(--cyan) 100%);
  border-radius: 2px;
  opacity: .9;
}
.card--primary .card__label {
  font-size: 18px;
  letter-spacing: .12em;
  background: linear-gradient(96deg, #ffffff 0%, #ff5fb2 55%, #6df2ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: normal;
  overflow: visible;
}
.card--primary .card__sub {
  font-size: 12px;
  color: var(--chrome-3);
  white-space: normal;
}
.card--primary .card__arrow {
  width: 38px;
  height: 38px;
  border-color: var(--magenta-hair);
  background: rgba(255, 42, 157, .12);
  color: var(--chrome-1);
}
.card--primary:hover .card__arrow {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--ink);
}

/* ── desktop / tablet ────────────────────────────────── */
@media (min-width: 760px) {
  .stage {
    max-width: 720px;
    padding: 46vh 32px 80px;
    gap: 24px;
  }
  .hero__img { opacity: .75; object-position: 50% 0%; }
  .hero__title { font-size: clamp(3.6rem, 7vw, 5.6rem); }
  .hero__title::after { margin-top: 18px; }

  .socials { gap: 12px; }
  .social { width: 48px; height: 48px; }
  .social svg { width: 20px; height: 20px; }

  .links { gap: 12px; }
  .card { padding: 16px 22px; }
  .card__label { font-size: 16px; }
  .card__sub { font-size: 12px; }
  .card--primary { padding: 20px 26px 22px; }
  .card--primary .card__label { font-size: 22px; }
  .card--primary .card__sub { font-size: 13px; }
}

@media (min-width: 1100px) {
  .stage {
    max-width: 640px;
    padding: 40vh 40px 96px;
  }
  .hero__title { font-size: clamp(3.6rem, 5vw, 5rem); }
}

/* ── reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; background-position: 50% 50%; }
  .card::before { display: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ── fallback when backdrop-filter unsupported ───────── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .back   { display: none; }
  .social { background: rgba(7, 5, 15, .85); }
  .card   { background: rgba(7, 5, 15, .85); }
  .card--primary {
    background:
      linear-gradient(rgba(7, 5, 15, .92), rgba(7, 5, 15, .92)) padding-box,
      linear-gradient(118deg, #ff2a9d 0%, #ff5fb2 22%, #ffffff 40%, #6df2ff 62%, #ff2a9d 100%) border-box;
  }
}
