/* ╔══════════════════════════════════════════════════╗
   ║  SYMBOLI RUDOLF SHRINE — 皇帝 — THE EMPEROR     ║
   ║  A 90s fever dream in CSS                        ║
   ╚══════════════════════════════════════════════════╝ */

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

/* ── PALETTE ── */
:root {
  --imperial-purple: #2a0a3d;
  --deep-violet: #4b1a6e;
  --royal-gold: #ffd700;
  --hot-magenta: #ff00ff;
  --cyber-teal: #00ffcc;
  --blood-crimson: #cc0033;
  --moon-silver: #c0c0d8;
  --parchment: #f5e6c8;
  --link-blue: #3366ff;
  --star-white: #ffffffdd;
  --bevel-light: #e8d8a0;
  --bevel-dark: #6b5a20;
  --card-bg: #1a0a2ecc;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--imperial-purple);
  color: var(--parchment);
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 18px;
  line-height: 1.6;
  cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><text y='18' font-size='18'>☽</text></svg>") 12 12, auto;
  overflow-x: hidden;
  position: relative;
  /* tiled background pattern */
  background-image:
    radial-gradient(ellipse at 20% 50%, #3d1a5e33 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, #1a3d5e33 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 30px,
      #ffffff04 30px,
      #ffffff04 31px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      #ffffff04 30px,
      #ffffff04 31px
    );
  background-color: var(--imperial-purple);
}

/* ══════════════════════════════
   STARFIELD (pure CSS parallax)
   ══════════════════════════════ */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  will-change: transform;
}

.stars--1 {
  background-image:
    radial-gradient(1px 1px at 50px 80px, var(--star-white), transparent),
    radial-gradient(1.5px 1.5px at 150px 200px, var(--royal-gold), transparent),
    radial-gradient(1px 1px at 250px 50px, var(--cyber-teal), transparent),
    radial-gradient(1px 1px at 400px 150px, var(--star-white), transparent),
    radial-gradient(1.5px 1.5px at 500px 300px, var(--hot-magenta), transparent),
    radial-gradient(1px 1px at 100px 350px, var(--star-white), transparent),
    radial-gradient(1px 1px at 350px 400px, var(--royal-gold), transparent),
    radial-gradient(1.5px 1.5px at 550px 100px, var(--star-white), transparent),
    radial-gradient(1px 1px at 650px 250px, var(--cyber-teal), transparent),
    radial-gradient(1px 1px at 200px 450px, var(--star-white), transparent);
  background-size: 700px 500px;
  animation: drift 90s linear infinite;
}

.stars--2 {
  background-image:
    radial-gradient(2px 2px at 80px 120px, var(--royal-gold), transparent),
    radial-gradient(1px 1px at 300px 50px, var(--moon-silver), transparent),
    radial-gradient(2px 2px at 180px 300px, var(--star-white), transparent),
    radial-gradient(1.5px 1.5px at 450px 200px, var(--hot-magenta), transparent),
    radial-gradient(1px 1px at 600px 350px, var(--star-white), transparent),
    radial-gradient(2px 2px at 50px 250px, var(--cyber-teal), transparent);
  background-size: 650px 400px;
  animation: drift 60s linear infinite reverse;
}

.stars--3 {
  background-image:
    radial-gradient(2.5px 2.5px at 120px 180px, var(--royal-gold), transparent),
    radial-gradient(2px 2px at 380px 90px, var(--star-white), transparent),
    radial-gradient(3px 3px at 520px 280px, var(--hot-magenta), transparent);
  background-size: 600px 350px;
  animation: drift 120s linear infinite, twinkle 4s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-500px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ══════════════
   CURSOR TRAIL
   ══════════════ */
#trail {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ═══════════════
   HEADER
   ═══════════════ */
.shrine-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  background: linear-gradient(
    180deg,
    #0d0520 0%,
    var(--imperial-purple) 40%,
    transparent 100%
  );
  border-bottom: 3px ridge var(--royal-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.crown {
  font-size: 3.5rem;
  color: var(--royal-gold);
  animation: crown-bob 2s ease-in-out infinite alternate;
  text-shadow:
    0 0 10px var(--royal-gold),
    0 0 30px #ffd70088,
    0 0 60px #ffd70044;
  filter: drop-shadow(0 0 8px var(--royal-gold));
}

@keyframes crown-bob {
  from { transform: translateY(-4px) rotate(-5deg); }
  to { transform: translateY(4px) rotate(5deg); }
}

.title-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.title-jp {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: var(--moon-silver);
  letter-spacing: 0.5em;
  text-shadow: 0 0 15px var(--moon-silver);
}

.title-en {
  font-family: 'Bungee Shade', cursive;
  font-size: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    90deg,
    var(--royal-gold) 0%,
    #fff 30%,
    var(--royal-gold) 50%,
    #fff 70%,
    var(--royal-gold) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  filter: drop-shadow(0 2px 4px #00000088);
}

.title-epithet {
  font-family: 'VT323', monospace;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--hot-magenta);
  letter-spacing: 0.3em;
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from { background-position: 200% center; }
  to { background-position: -200% center; }
}

@keyframes pulse-glow {
  from {
    text-shadow: 0 0 5px var(--hot-magenta), 0 0 15px var(--hot-magenta);
  }
  to {
    text-shadow: 0 0 10px var(--hot-magenta), 0 0 30px var(--hot-magenta), 0 0 60px var(--hot-magenta);
  }
}

/* ═══════════════
   MARQUEE STRIPS
   ═══════════════ */
.marquee-strip {
  position: relative;
  z-index: 10;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.4rem 0;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  border-top: 2px ridge var(--royal-gold);
  border-bottom: 2px ridge var(--royal-gold);
}

.marquee-strip--gold {
  background: linear-gradient(90deg, #3d2200, #7a4400, #3d2200);
  color: var(--royal-gold);
}

.marquee-strip--purple {
  background: linear-gradient(90deg, #1a0033, #330066, #1a0033);
  color: var(--moon-silver);
}

.marquee-content {
  display: inline-flex;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-content--reverse {
  animation: marquee-scroll-reverse 30s linear infinite;
}

.marquee-content span {
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ═══════════════
   WELCOME PANEL
   ═══════════════ */
.welcome-panel {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.bevel-box {
  background: linear-gradient(145deg, #1e0a30, #120520);
  border: 4px ridge var(--royal-gold);
  box-shadow:
    inset 0 0 30px #ffd70011,
    0 0 20px #ffd70022,
    8px 8px 0 #0a0515;
  padding: 2rem;
  text-align: center;
}

.bevel-box--small {
  max-width: 700px;
  margin: 0 auto;
}

.rainbow-text {
  font-family: 'Bungee Shade', cursive;
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  background: linear-gradient(
    90deg,
    #ff0000, #ff8800, #ffff00, #00ff00,
    #00ffff, #0088ff, #ff00ff, #ff0000
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-shift 4s linear infinite;
  margin-bottom: 1rem;
}

@keyframes rainbow-shift {
  from { background-position: 0% center; }
  to { background-position: 300% center; }
}

.welcome-msg {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--parchment);
  margin-bottom: 1rem;
}

.welcome-msg strong {
  color: var(--royal-gold);
  font-size: 1.3em;
}

.welcome-msg em {
  color: var(--cyber-teal);
  font-style: normal;
  text-shadow: 0 0 8px var(--cyber-teal);
}

.blink-text {
  font-size: 1.2rem;
  color: var(--hot-magenta);
  animation: blink-90s 1s step-end infinite;
  margin: 1rem 0;
}

@keyframes blink-90s {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.under-construction {
  display: inline-block;
  background: repeating-linear-gradient(
    -45deg,
    #ffcc00,
    #ffcc00 10px,
    #222 10px,
    #222 20px
  );
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.4rem 1.5rem;
  margin-top: 0.5rem;
  border: 2px solid #000;
  animation: construction-flash 0.8s ease-in-out infinite alternate;
}

@keyframes construction-flash {
  from { filter: brightness(1); }
  to { filter: brightness(1.3); }
}

/* ═══════════════
   MOON DIVIDER
   ═══════════════ */
.divider-moons {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 2rem;
  color: var(--moon-silver);
  letter-spacing: 0.8em;
  user-select: none;
}

.divider-moons span {
  display: inline-block;
  animation: moon-spin 6s linear infinite;
  text-shadow: 0 0 10px var(--moon-silver);
}

.divider-moons span:nth-child(even) {
  color: var(--royal-gold);
  animation-direction: reverse;
  animation-duration: 4s;
  text-shadow: 0 0 10px var(--royal-gold);
}

@keyframes moon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════
   SECTION HEADINGS
   ═══════════════════════════ */
.section-heading {
  position: relative;
  z-index: 10;
  text-align: center;
  font-family: 'Bungee Shade', cursive;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: var(--royal-gold);
  padding: 2rem 1rem 1.5rem;
  text-shadow:
    0 0 10px var(--royal-gold),
    3px 3px 0 var(--deep-violet);
  letter-spacing: 0.1em;
}

.heading-deco {
  color: var(--moon-silver);
  font-size: 0.6em;
  vertical-align: middle;
  opacity: 0.5;
}

/* ═══════════════════════════════════
   ORBITAL GALLERY — THE DIZZYING PART
   ═══════════════════════════════════ */
.gallery-section {
  position: relative;
  z-index: 10;
  padding-bottom: 3rem;
}

.gallery-orbit {
  position: relative;
  width: 90vw;
  max-width: 900px;
  height: 90vw;
  max-height: 900px;
  margin: 0 auto;
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  inset: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.orbit-ring--1 {
  animation: orbit-spin 30s linear infinite;
}

.orbit-ring--2 {
  inset: 18%;
  animation: orbit-spin 22s linear infinite reverse;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Card positions on outer ring */
.orbit-ring--1 .gallery-card:nth-child(1) {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -10%);
}
.orbit-ring--1 .gallery-card:nth-child(2) {
  position: absolute; top: 50%; right: 0;
  transform: translate(10%, -50%);
}
.orbit-ring--1 .gallery-card:nth-child(3) {
  position: absolute; bottom: 0; left: 50%;
  transform: translate(-50%, 10%);
}
.orbit-ring--1 .gallery-card:nth-child(4) {
  position: absolute; top: 50%; left: 0;
  transform: translate(-10%, -50%);
}

/* Card positions on inner ring */
.orbit-ring--2 .gallery-card:nth-child(1) {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -15%);
}
.orbit-ring--2 .gallery-card:nth-child(2) {
  position: absolute; bottom: 15%; right: 0;
  transform: translate(15%, 0);
}
.orbit-ring--2 .gallery-card:nth-child(3) {
  position: absolute; bottom: 15%; left: 0;
  transform: translate(-15%, 0);
}

/* Gallery cards */
.gallery-card {
  width: clamp(110px, 18vw, 180px);
  transition: transform 0.3s ease;
}

/* Counter-rotate so cards stay upright */
.orbit-ring--1 .gallery-card .card-inner {
  animation: counter-spin 30s linear infinite;
}

.orbit-ring--2 .gallery-card .card-inner {
  animation: counter-spin 22s linear infinite reverse;
}

@keyframes counter-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.gallery-card:hover {
  z-index: 100;
  filter: drop-shadow(0 0 20px var(--royal-gold));
}

.gallery-card:hover .card-inner {
  transform: rotate(0deg) scale(1.3) !important;
  animation-play-state: paused;
}

.card-inner {
  background: var(--card-bg);
  border: 3px ridge var(--royal-gold);
  padding: 6px;
  box-shadow:
    0 0 10px #ffd70033,
    inset 0 0 15px #00000088;
  transition: transform 0.3s ease, filter 0.3s ease;
  overflow: hidden;
}

.card-caption {
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  color: var(--royal-gold);
  text-align: center;
  padding: 0.3rem 0 0.1rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 5px var(--royal-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Orbit center emblem */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}

.center-emblem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: radial-gradient(circle, #2a0a3dee, #0d0520);
  border: 3px double var(--royal-gold);
  border-radius: 50%;
  width: clamp(80px, 14vw, 140px);
  height: clamp(80px, 14vw, 140px);
  justify-content: center;
  animation: emblem-pulse 3s ease-in-out infinite alternate;
  box-shadow:
    0 0 30px var(--royal-gold),
    0 0 60px #ffd70044,
    inset 0 0 20px #ffd70022;
}

@keyframes emblem-pulse {
  from {
    box-shadow: 0 0 30px var(--royal-gold), 0 0 60px #ffd70044, inset 0 0 20px #ffd70022;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    box-shadow: 0 0 50px var(--royal-gold), 0 0 100px #ffd70066, inset 0 0 30px #ffd70033;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.emblem-moon {
  font-size: clamp(1rem, 3vw, 1.8rem);
  color: var(--moon-silver);
  text-shadow: 0 0 10px var(--moon-silver);
  animation: moon-spin 8s linear infinite;
}

.emblem-text {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  color: var(--royal-gold);
  text-shadow:
    0 0 10px var(--royal-gold),
    0 0 30px var(--royal-gold);
}

/* ═══════════════════════
   IMAGE PLACEHOLDERS
   ═══════════════════════ */
.img-placeholder {
  aspect-ratio: 3 / 4;
  background:
    repeating-conic-gradient(
      var(--deep-violet) 0% 25%,
      #1a0a2e 25% 50%
    ) 0 0 / 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 2px dashed var(--moon-silver);
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.img-placeholder::before {
  content: '🖼️';
  font-size: 2rem;
  animation: placeholder-bounce 2s ease-in-out infinite;
}

@keyframes placeholder-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.placeholder-label {
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  color: var(--royal-gold);
  letter-spacing: 0.2em;
}

.placeholder-hint {
  font-family: 'VT323', monospace;
  font-size: 0.7rem;
  color: var(--moon-silver);
  opacity: 0.6;
}

/* When user adds real images */
.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.img-placeholder:has(img) .placeholder-label,
.img-placeholder:has(img) .placeholder-hint,
.img-placeholder:has(img)::before {
  display: none;
}

.img-placeholder:has(img) {
  background: #0d0520;
  border: none;
  overflow: hidden;
}

/* ═══════════════════════════
   SCATTERED GALLERY
   ═══════════════════════════ */
.scatter-section {
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.scatter-field {
  position: relative;
  width: 95vw;
  max-width: 1100px;
  height: clamp(600px, 90vw, 1000px);
  margin: 0 auto;
  perspective: 1200px;
}

.scatter-card {
  position: absolute;
  width: clamp(100px, 16vw, 180px);
  background: var(--card-bg);
  border: 3px ridge var(--royal-gold);
  padding: 6px;
  box-shadow:
    0 0 10px #ffd70033,
    inset 0 0 15px #00000088,
    5px 5px 0 #0a0515;
  transition: transform 0.4s ease, z-index 0s, filter 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}

.scatter-card:hover {
  z-index: 200 !important;
  transform: scale(1.8) rotate(0deg) !important;
  filter: drop-shadow(0 0 25px var(--royal-gold));
}

.scatter--pos-1 {
  top: 2%; left: 5%;
  transform: rotate(-12deg);
  animation: float-1 7s ease-in-out infinite alternate;
}
.scatter--pos-2 {
  top: 8%; left: 38%;
  transform: rotate(8deg);
  animation: float-2 9s ease-in-out infinite alternate;
}
.scatter--pos-3 {
  top: 3%; right: 8%;
  transform: rotate(-5deg);
  animation: float-3 6s ease-in-out infinite alternate;
}
.scatter--pos-4 {
  top: 35%; left: 12%;
  transform: rotate(15deg);
  animation: float-4 8s ease-in-out infinite alternate;
}
.scatter--pos-5 {
  top: 40%; right: 5%;
  transform: rotate(-10deg);
  animation: float-1 10s ease-in-out infinite alternate-reverse;
}
.scatter--pos-6 {
  bottom: 15%; left: 3%;
  transform: rotate(6deg);
  animation: float-2 7s ease-in-out infinite alternate-reverse;
}
.scatter--pos-7 {
  bottom: 10%; left: 42%;
  transform: rotate(-8deg);
  animation: float-3 11s ease-in-out infinite alternate;
}
.scatter--pos-8 {
  bottom: 20%; right: 12%;
  transform: rotate(12deg);
  animation: float-4 8s ease-in-out infinite alternate-reverse;
}

@keyframes float-1 {
  from { transform: translateY(0) rotate(-12deg); }
  to { transform: translateY(-20px) rotate(-6deg); }
}
@keyframes float-2 {
  from { transform: translateY(0) rotate(8deg); }
  to { transform: translateY(-25px) rotate(14deg); }
}
@keyframes float-3 {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-15px) rotate(2deg); }
}
@keyframes float-4 {
  from { transform: translateY(0) rotate(15deg); }
  to { transform: translateY(-22px) rotate(8deg); }
}

/* ═══════════════════════
   STATS TABLE (90s web)
   ═══════════════════════ */
.stats-section {
  position: relative;
  z-index: 10;
  padding: 0 1rem 3rem;
}

.stats-table-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.stats-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 3px ridge var(--royal-gold);
  background: linear-gradient(145deg, #1e0a30, #0d0520);
  box-shadow: 6px 6px 0 #0a0515;
  flex: 1 1 350px;
  max-width: 420px;
}

.stats-header th {
  background: linear-gradient(90deg, #3d2200, #7a4400, #3d2200);
  color: var(--royal-gold);
  font-family: 'Bungee Shade', cursive;
  font-size: 1rem;
  padding: 0.6rem;
  text-shadow: 0 0 5px var(--royal-gold);
  letter-spacing: 0.15em;
  border-bottom: 2px ridge var(--royal-gold);
}

.stats-table td {
  padding: 0.4rem 0.8rem;
  border-bottom: 1px solid #ffffff0d;
  font-family: 'VT323', monospace;
  font-size: 1rem;
}

.stats-table tr:hover td {
  background: #ffd70011;
  color: var(--royal-gold);
}

.stats-table td:first-child {
  color: var(--moon-silver);
  font-weight: bold;
  white-space: nowrap;
  border-right: 1px solid #ffffff0d;
  width: 40%;
}

.stats-table td:last-child {
  color: var(--cyber-teal);
  text-shadow: 0 0 4px #00ffcc44;
}

/* ═══════════════════════
   LINKS / GUESTBOOK
   ═══════════════════════ */
.links-section {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 0 1rem 2rem;
}

.webring {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.webring-link {
  font-family: 'VT323', monospace;
  color: var(--link-blue);
  text-decoration: underline;
  cursor: pointer;
  font-size: 1.1rem;
}

.webring-link:hover {
  color: var(--hot-magenta);
}

.webring-name {
  font-family: 'VT323', monospace;
  color: var(--royal-gold);
  font-size: 1.1rem;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.link-btn {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  background: linear-gradient(180deg, #e8d8a0, #a08840, #6b5a20);
  color: #1a0a2e;
  padding: 0.3rem 0.8rem;
  border: 2px outset #e8d8a0;
  cursor: pointer;
  transition: filter 0.15s;
  white-space: nowrap;
}

.link-btn:hover {
  filter: brightness(1.2);
  border-style: inset;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--moon-silver);
  opacity: 0.6;
  margin-top: 1rem;
  line-height: 1.8;
}

/* ═══════════════════════
   SCROLL PARALLAX TILT
   ═══════════════════════ */
.scatter-card,
.gallery-card {
  will-change: transform;
}

/* ═══════════════════════
   RESPONSIVE
   ═══════════════════════ */
@media (max-width: 700px) {
  .gallery-orbit {
    height: 95vw;
  }

  .gallery-card {
    width: clamp(80px, 22vw, 130px);
  }

  .scatter-field {
    height: 1200px;
  }

  .scatter-card {
    width: clamp(90px, 28vw, 150px);
  }

  .scatter--pos-1 { top: 0; left: 5%; }
  .scatter--pos-2 { top: 12%; left: 55%; }
  .scatter--pos-3 { top: 24%; left: 10%; }
  .scatter--pos-4 { top: 36%; left: 58%; }
  .scatter--pos-5 { top: 48%; left: 8%; }
  .scatter--pos-6 { top: 60%; left: 55%; }
  .scatter--pos-7 { top: 72%; left: 12%; }
  .scatter--pos-8 { top: 84%; left: 52%; }

  .stats-table-wrap {
    flex-direction: column;
    align-items: center;
  }

  .crown { font-size: 2rem; }
}

@media (max-width: 400px) {
  body { font-size: 16px; }
  .bevel-box { padding: 1rem; }
  .gallery-card { width: 70px; }
}
