
:root {
  --gold: #d8bf74;
  --gold-strong: #ead790;
  --gold-dim: rgba(216, 191, 116, .58);
  --gold-line: rgba(234, 215, 144, .38);
  --white: rgba(248, 243, 230, .94);
  --muted: rgba(248, 243, 230, .68);
  --dark: #030407;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--dark);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--dark);
  color: var(--white);
  font-family: Georgia, "Times New Roman", Times, serif;
  overflow-x: hidden;
}

img, svg {
  display: block;
}

a {
  -webkit-tap-highlight-color: rgba(234, 215, 144, .18);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--dark);
  background-image: url("background-yurza.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: translateZ(0);
}

/* Use WebP only where supported. PNG remains the universal high-quality fallback. */
@supports (background-image: url("background-yurza.webp")) {
  .page-bg {
    background-image: url("background-yurza.webp");
  }
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 31%, rgba(234, 215, 144, .08), transparent 34%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.04) 50%, rgba(0,0,0,.18));
  pointer-events: none;
}

.site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding:
    calc(34px + var(--safe-top))
    16px
    calc(40px + var(--safe-bottom));
}

.link-card {
  width: min(100%, 560px);
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artist-logo {
  width: min(70vw, 372px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 10px 28px rgba(0, 0, 0, .78))
    drop-shadow(0 0 18px rgba(234, 215, 144, .14));
}

.portrait-stage {
  position: relative;
  width: clamp(190px, 46vw, 270px);
  aspect-ratio: 1 / 1;
  margin-top: clamp(24px, 4.1vh, 42px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  isolation: isolate;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: -29%;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(234, 215, 144, .24) 0%,
      rgba(234, 215, 144, .14) 28%,
      rgba(234, 215, 144, .07) 45%,
      transparent 70%);
  filter: blur(3px);
  z-index: -4;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  box-shadow:
    0 0 var(--blur) rgba(234, 215, 144, var(--glow)),
    inset 0 0 calc(var(--blur) * .45) rgba(234, 215, 144, calc(var(--glow) * .56));
  pointer-events: none;
  z-index: -3;
}

.orbit-1 { --size: 112%; --stroke: rgba(234, 215, 144, .78); --blur: 22px; --glow: .20; }
.orbit-2 { --size: 142%; --stroke: rgba(234, 215, 144, .45); --blur: 34px; --glow: .13; }
.orbit-3 { --size: 184%; --stroke: rgba(234, 215, 144, .24); --blur: 48px; --glow: .09; }
.orbit-4 { --size: 232%; --stroke: rgba(234, 215, 144, .13); --blur: 62px; --glow: .06; }

.portrait-frame {
  position: absolute;
  inset: -4.6%;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 215, 144, .86);
  box-shadow:
    0 0 22px rgba(234, 215, 144, .32),
    0 0 50px rgba(234, 215, 144, .16),
    inset 0 0 24px rgba(234, 215, 144, .13);
  z-index: 2;
  pointer-events: none;
}

.portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid rgba(248, 243, 230, .23);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, .72),
    0 0 0 8px rgba(0, 0, 0, .16);
}

.tagline {
  margin: clamp(48px, 6vh, 66px) 0 0;
  color: rgba(234, 215, 144, .96);
  font-size: clamp(17px, 4.4vw, 25px);
  line-height: 1.14;
  letter-spacing: .070em;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, .85),
    0 0 18px rgba(234, 215, 144, .16);
}

.kicker {
  margin: 16px 0 0;
  color: rgba(248, 243, 230, .78);
  font-size: clamp(14px, 3.7vw, 18px);
  line-height: 1.15;
  letter-spacing: .055em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .82);
}

.platforms {
  width: min(100%, 480px);
  display: grid;
  gap: 10px;
  margin: clamp(18px, 3vh, 28px) auto 0;
}

.platform-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .015)),
    rgba(5, 6, 8, .54);
  color: rgba(248, 243, 230, .92);
  text-decoration: none;
  text-align: left;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .23),
    inset 0 0 18px rgba(255, 255, 255, .026);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform .17s ease,
    border-color .17s ease,
    background .17s ease,
    box-shadow .17s ease;
}

.platform-link:hover {
  transform: translateY(-1px);
  border-color: rgba(234, 215, 144, .66);
  background:
    linear-gradient(90deg, rgba(234, 215, 144, .12), rgba(255, 255, 255, .026)),
    rgba(5, 6, 8, .64);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .31),
    0 0 24px rgba(234, 215, 144, .08),
    inset 0 0 18px rgba(255, 255, 255, .034);
}

.platform-link:focus-visible {
  outline: 2px solid rgba(234, 215, 144, .82);
  outline-offset: 3px;
}

.platform-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: rgba(234, 215, 144, .92);
  background: rgba(248, 243, 230, .07);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, .035);
}

.platform-icon svg {
  width: 21px;
  height: 21px;
}

.platform-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-name {
  color: rgba(248, 243, 230, .95);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(17px, 4.2vw, 21px);
  line-height: 1.08;
  letter-spacing: .01em;
}

.platform-sub {
  color: rgba(248, 243, 230, .56);
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .02em;
}

.arrow {
  flex: 0 0 auto;
  color: rgba(234, 215, 144, .88);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.legal {
  width: min(100%, 480px);
  margin: 22px auto 0;
  color: rgba(248, 243, 230, .48);
  font-size: 11px;
  line-height: 1.45;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .72);
}

@media (min-width: 760px) {
  .site {
    align-items: center;
    padding-top: calc(40px + var(--safe-top));
    padding-bottom: calc(40px + var(--safe-bottom));
  }

  .link-card {
    width: min(92vw, 560px);
    min-height: auto;
  }

  .artist-logo {
    width: min(38vw, 420px);
  }

  .portrait-stage {
    width: clamp(205px, 14.5vw, 275px);
    margin-top: clamp(24px, 3.2vh, 38px);
  }

  .tagline {
    margin-top: clamp(52px, 6vh, 76px);
    font-size: clamp(19px, 1.55vw, 27px);
  }

  .kicker {
    font-size: clamp(15px, 1.15vw, 18px);
  }

  .platforms {
    width: min(37vw, 500px);
    min-width: 430px;
    gap: 11px;
  }

  .platform-link {
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .site {
    padding-left: 12px;
    padding-right: 12px;
  }

  .artist-logo {
    width: min(78vw, 330px);
  }

  .portrait-stage {
    width: clamp(166px, 48vw, 206px);
    margin-top: 24px;
  }

  .tagline {
    margin-top: 44px;
    font-size: 16px;
    letter-spacing: .045em;
  }

  .platforms {
    gap: 9px;
  }

  .platform-link {
    min-height: 54px;
    padding: 9px 12px;
    border-radius: 11px;
  }

  .platform-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .platform-name {
    font-size: 17px;
  }
}

@media (max-height: 760px) and (orientation: portrait) {
  .site {
    padding-top: calc(22px + var(--safe-top));
    padding-bottom: calc(24px + var(--safe-bottom));
  }

  .artist-logo {
    width: min(62vw, 305px);
  }

  .portrait-stage {
    width: clamp(142px, 38vw, 178px);
    margin-top: 18px;
  }

  .tagline {
    margin-top: 36px;
    font-size: 15px;
  }

  .kicker {
    margin-top: 10px;
    font-size: 13px;
  }

  .platforms {
    margin-top: 14px;
    gap: 8px;
  }

  .platform-link {
    min-height: 48px;
  }

  .platform-sub {
    display: none;
  }

  .legal {
    margin-top: 14px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
