:root {
  --bg: #080b12;
  --bg-soft: #0e1422;
  --panel: rgba(17, 24, 42, 0.78);
  --panel-strong: rgba(28, 36, 56, 0.92);
  --line: rgba(82, 102, 176, 0.28);
  --accent: #5266b0;
  --accent-soft: #9bae96;
  --text: #e8ebe2;
  --muted: #8c94a8;
  --shadow: 0 0 40px rgba(82, 102, 176, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 20%, rgba(82, 102, 176, 0.12), transparent 28rem),
    radial-gradient(circle at 18% 80%, rgba(155, 174, 150, 0.08), transparent 30rem),
    var(--bg);
  font-family: "Courier New", Consolas, monospace;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 80%, transparent);
}

::selection {
  color: #080b12;
  background: var(--accent-soft);
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(82, 102, 176, 0.09), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(8px);
  transition: opacity 180ms ease;
}

.page-shell {
  width: min(1500px, calc(100% - 72px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 12vh 0 9vh;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.profile-card {
  position: sticky;
  top: 12vh;
  align-self: start;
  min-height: 300px;
  padding: 8px 28px 20px 0;
  border-right: 1px solid rgba(82, 102, 176, 0.20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.avatar-wrap {
  position: relative;
  width: 94px;
  height: 94px;
  margin-bottom: 22px;
}

.avatar-wrap::before,
.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(82, 102, 176, 0.48);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.avatar-wrap::after {
  inset: -12px;
  border-style: dashed;
  border-color: rgba(82, 102, 176, 0.22);
  animation-duration: 13s;
  animation-direction: reverse;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #11182a;
  box-shadow: 0 0 25px rgba(82, 102, 176, 0.50);
}

.status-dot {
  position: absolute;
  right: 2px;
  bottom: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #78ffb0;
  box-shadow: 0 0 12px rgba(120, 255, 176, 0.7);
}

.eyebrow,
.section-kicker,
.mini-label {
  margin: 0 0 7px;
  color: #69738a;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.profile-card h1 {
  margin: 0;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(82, 102, 176, 0.36);
}

.profile-tags {
  margin: 10px 0 0;
  color: #7f899e;
  font-size: 0.7rem;
  line-height: 1.8;
}

.social-links {
  width: 100%;
  margin-top: 25px;
  display: grid;
  gap: 8px;
}

.social-link {
  width: 100%;
  padding: 9px 12px;
  color: #b7c0d0;
  text-decoration: none;
  font-size: 0.68rem;
  border: 1px solid rgba(82, 102, 176, 0.22);
  border-radius: 7px;
  background: rgba(17, 24, 42, 0.62);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: white;
  border-color: rgba(82, 102, 176, 0.68);
  background: rgba(48, 57, 103, 0.58);
  transform: translateX(5px);
  outline: none;
}

.tiny-note {
  margin: 24px 0 0;
  color: #596278;
  font-size: 0.58rem;
  line-height: 1.6;
}

.content {
  min-width: 0;
}

.section + .section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.06em;
  text-shadow: 0 0 16px rgba(82, 102, 176, 0.30);
}

.section-heading h2 span {
  color: #bcc7ab;
}

.about-box,
.mini-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(82, 102, 176, 0.045), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(13px);
}

.about-box {
  position: relative;
  padding: 22px 24px;
  border-radius: 8px;
  overflow: hidden;
}

.about-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 7s ease-in-out infinite;
}

.about-box p {
  margin: 0;
  color: #c4cad3;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  line-height: 1.85;
}

.about-box p + p {
  margin-top: 10px;
}

.about-box .lead {
  color: #eef1eb;
}

.about-box .soft-text {
  color: #758097;
  font-style: italic;
  font-size: 0.66rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 18px;
}

.game-card {
  position: relative;
  min-height: 46px;
  padding: 11px 9px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(82, 102, 176, 0.22);
  border-radius: 7px;
  color: #c4cad3;
  background: rgba(17, 24, 42, 0.72);
  font-size: 0.68rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06), transparent 70%);
  transform: translateX(-120%);
  transition: transform 450ms ease;
}

.game-card:hover {
  color: white;
  border-color: rgba(82, 102, 176, 0.62);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(48, 57, 103, 0.24);
}

.game-card:hover::before {
  transform: translateX(120%);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 11px;
  border: 1px solid rgba(82, 102, 176, 0.30);
  border-radius: 999px;
  color: #b8c0cc;
  background: rgba(48, 57, 103, 0.44);
  font-size: 0.62rem;
  transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.tag:hover {
  color: #fff;
  background: rgba(82, 102, 176, 0.48);
  transform: translateY(-2px);
}

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  min-height: 122px;
  padding: 18px 20px;
  border-radius: 8px;
}

.mini-card h3 {
  margin: 2px 0 8px;
  color: #c8d1bf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.mini-card p:last-child {
  margin: 0;
  color: #929caf;
  font-size: 0.7rem;
  line-height: 1.7;
}

footer {
  margin-top: 35px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #566074;
  font-size: 0.58rem;
  text-transform: lowercase;
}

.sound-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(82, 102, 176, 0.32);
  border-radius: 50%;
  color: #b8c2d4;
  background: rgba(8, 11, 18, 0.78);
  box-shadow: 0 0 24px rgba(82, 102, 176, 0.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sound-toggle:hover,
.sound-toggle.active {
  color: white;
  border-color: var(--accent);
  transform: rotate(8deg) scale(1.06);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 600ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 110ms; }
.reveal:nth-child(3) { animation-delay: 210ms; }

.spark {
  position: fixed;
  z-index: 50;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-soft);
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent);
  animation: sparkle 720ms ease-out forwards;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0%, 10% { left: -24%; opacity: 0; }
  25% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@keyframes sparkle {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

@media (max-width: 940px) {
  .page-shell {
    width: min(760px, calc(100% - 34px));
    padding: 58px 0 70px;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .profile-card {
    position: static;
    min-height: 0;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(82, 102, 176, 0.20);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "avatar eyebrow"
      "avatar name"
      "avatar tags"
      "links links"
      "note note";
    column-gap: 22px;
    justify-content: initial;
  }

  .avatar-wrap { grid-area: avatar; margin: 0; }
  .eyebrow { grid-area: eyebrow; align-self: end; }
  .profile-card h1 { grid-area: name; }
  .profile-tags { grid-area: tags; }
  .social-links {
    grid-area: links;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
  }
  .tiny-note { grid-area: note; margin-top: 14px; }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 760px);
    padding-top: 34px;
  }

  .profile-card {
    grid-template-columns: 76px 1fr;
    column-gap: 16px;
  }

  .avatar-wrap {
    width: 70px;
    height: 70px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .about-box {
    padding: 18px;
  }

  .game-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .game-card:last-child {
    grid-column: auto;
  }

  .cursor-glow,
  .sound-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* ================================================================
   CLICK-TO-ENTER INTRO + SMOOTH ANIMATIONS
   Added without changing the existing page layout or content.
   ================================================================ */

body {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

body.intro-active {
  overflow: hidden;
}

/* The existing website stays visible behind the intro, but blurred,
   darkened, slightly enlarged, and completely unclickable. */
.page-shell,
.sound-toggle,
.cursor-glow {
  transition:
    filter 950ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-active .page-shell {
  filter: blur(15px) brightness(0.32) saturate(0.7);
  opacity: 0.62;
  transform: scale(1.035);
  pointer-events: none;
  user-select: none;
}

body.intro-active .sound-toggle,
body.intro-active .cursor-glow {
  opacity: 0;
  pointer-events: none;
}

/* Full-screen clickable intro */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 46%, rgba(82, 102, 176, 0.12), transparent 30rem),
    rgba(3, 5, 10, 0.72);
  -webkit-backdrop-filter: blur(12px) brightness(0.64);
  backdrop-filter: blur(12px) brightness(0.64);
  appearance: none;
  font: inherit;
  text-align: center;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 720ms step-end,
    background 900ms cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-screen::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle, black, transparent 67%);
  animation: introGridDrift 18s linear infinite;
}

.intro-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 20%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.54) 100%);
}

.intro-content {
  position: relative;
  z-index: 3;
  min-width: min(420px, calc(100vw - 48px));
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(82, 102, 176, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 24, 42, 0.34), rgba(8, 11, 18, 0.14));
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.025);
  transform: translateY(8px) scale(0.985);
  animation: introContentIn 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition:
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 350ms ease,
    box-shadow 350ms ease;
}

.intro-screen:hover .intro-content,
.intro-screen:focus-visible .intro-content {
  transform: translateY(0) scale(1.012);
  border-color: rgba(82, 102, 176, 0.42);
  box-shadow:
    0 28px 100px rgba(0, 0, 0, 0.4),
    0 0 45px rgba(82, 102, 176, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.intro-screen:focus-visible {
  outline: none;
}

.intro-kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.intro-title {
  display: block;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-shadow:
    0 0 18px rgba(82, 102, 176, 0.32),
    0 0 54px rgba(82, 102, 176, 0.15);
  animation: introTitleGlow 4.5s ease-in-out infinite;
}

.intro-message {
  margin-top: 20px;
  color: rgba(232, 235, 226, 0.68);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: lowercase;
}

.intro-enter-icon {
  width: 30px;
  height: 30px;
  margin-top: 17px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.76rem;
  border: 1px solid rgba(82, 102, 176, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(82, 102, 176, 0.14);
  animation: introPromptPulse 1.8s ease-in-out infinite;
}

.intro-orb {
  position: absolute;
  z-index: 1;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.12;
}

.intro-orb-one {
  top: -18%;
  right: -8%;
  background: var(--accent);
  animation: introOrbOne 12s ease-in-out infinite alternate;
}

.intro-orb-two {
  left: -10%;
  bottom: -25%;
  background: var(--accent-soft);
  animation: introOrbTwo 15s ease-in-out infinite alternate;
}

/* Click begins the exit. The real page sharpens while this fades away. */
body.intro-leaving .intro-screen {
  opacity: 0;
  visibility: hidden;
  background: rgba(3, 5, 10, 0);
  -webkit-backdrop-filter: blur(0) brightness(1);
  backdrop-filter: blur(0) brightness(1);
}

body.intro-leaving .intro-content {
  transform: scale(1.06);
}

/* Existing reveal animations now wait until the intro is clicked. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

body.site-entered .reveal {
  animation: reveal 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.site-entered .reveal:nth-child(2) {
  animation-delay: 120ms;
}

body.site-entered .reveal:nth-child(3) {
  animation-delay: 230ms;
}

body.site-entered .profile-card {
  animation: profileEnter 780ms 60ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.site-entered footer {
  animation: footerEnter 700ms 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.site-entered .sound-toggle {
  animation: soundButtonEnter 650ms 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Generated items receive an index from script.js and enter in sequence. */
body.intro-active .social-link,
body.intro-active .game-card,
body.intro-active .tag {
  opacity: 0;
}

body.site-entered .social-link {
  animation: itemEnter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(180ms + (var(--item-index, 0) * 55ms));
}

body.site-entered .game-card {
  animation: itemEnter 540ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(270ms + (var(--item-index, 0) * 55ms));
}

body.site-entered .tag {
  animation: tagEnter 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(420ms + (var(--item-index, 0) * 42ms));
}

/* Smoother interaction curves without changing the design. */
.social-link,
.game-card,
.tag,
.about-box,
.mini-card,
.sound-toggle {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.about-box,
.mini-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

body.site-entered .about-box:hover,
body.site-entered .mini-card:hover {
  border-color: rgba(82, 102, 176, 0.42);
  box-shadow:
    var(--shadow),
    0 14px 42px rgba(0, 0, 0, 0.18);
}

body.site-entered .avatar {
  animation: avatarBreathe 4.8s ease-in-out infinite;
}

body.site-entered .status-dot {
  animation: statusPulse 2.4s ease-in-out infinite;
}

/* Cursor glow is smoothed in JS rather than snapping to the pointer. */
.cursor-glow {
  opacity: 0;
  will-change: left, top, opacity;
}

body.site-entered .cursor-glow.pointer-visible {
  opacity: 1;
}

@keyframes introContentIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(9px);
  }
  to {
    opacity: 1;
    transform: translateY(8px) scale(0.985);
    filter: blur(0);
  }
}

@keyframes introTitleGlow {
  0%, 100% {
    opacity: 0.86;
    text-shadow:
      0 0 16px rgba(82, 102, 176, 0.24),
      0 0 44px rgba(82, 102, 176, 0.1);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 23px rgba(82, 102, 176, 0.42),
      0 0 68px rgba(82, 102, 176, 0.2);
  }
}

@keyframes introPromptPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translateY(0) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translateY(3px) scale(1.04);
  }
}

@keyframes introOrbOne {
  from { transform: translate3d(-4%, 0, 0) scale(0.92); }
  to { transform: translate3d(8%, 12%, 0) scale(1.08); }
}

@keyframes introOrbTwo {
  from { transform: translate3d(0, 7%, 0) scale(1.08); }
  to { transform: translate3d(12%, -8%, 0) scale(0.92); }
}

@keyframes introGridDrift {
  to { transform: translate3d(46px, 46px, 0); }
}

@keyframes profileEnter {
  from {
    opacity: 0;
    transform: translateX(-22px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes footerEnter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soundButtonEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes itemEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.965);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tagEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes avatarBreathe {
  0%, 100% {
    box-shadow: 0 0 22px rgba(82, 102, 176, 0.38);
  }
  50% {
    box-shadow:
      0 0 30px rgba(82, 102, 176, 0.56),
      0 0 60px rgba(82, 102, 176, 0.1);
  }
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(120, 255, 176, 0.5);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 17px rgba(120, 255, 176, 0.82);
  }
}

@media (max-width: 560px) {
  .intro-content {
    min-width: calc(100vw - 34px);
    padding: 32px 24px;
  }

  .intro-title {
    font-size: clamp(2rem, 16vw, 3.7rem);
  }
}

@media (hover: none), (pointer: coarse) {
  .about-box,
  .mini-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-screen,
  .intro-content,
  .intro-orb,
  .intro-title,
  .intro-enter-icon,
  .profile-card,
  footer,
  .sound-toggle,
  .social-link,
  .game-card,
  .tag,
  .avatar,
  .status-dot {
    animation: none !important;
  }

  .page-shell,
  .intro-screen,
  .intro-content {
    transition-duration: 1ms !important;
  }

  body.site-entered .reveal,
  body.site-entered .social-link,
  body.site-entered .game-card,
  body.site-entered .tag {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
