@import url("./custom.css");

:root {
  color-scheme: dark;
  --background: #100a09;
  --surface: #18100e;
  --surface-raised: #211512;
  --text: #fff4ec;
  --muted: #a89084;
  --muted-soft: #72594d;
  --orange: #ff642c;
  --orange-hot: #ff8b35;
  --gold: #ffc15a;
  --red: #c92f1f;
  --line: rgba(255, 139, 75, 0.2);
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(255, 100, 44, 0.6), transparent 48%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 140, 53, 0.25), transparent 50%),
    radial-gradient(ellipse at 20% 20%, rgba(255, 193, 90, 0.15), transparent 45%),
    var(--background);
  color: var(--text);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 139, 75, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 139, 75, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  z-index: -1;
  right: -18rem;
  bottom: -21rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 100, 44, 0.18), transparent 68%);
  content: "";
  pointer-events: none;
  animation: ember-drift 20s ease-in-out infinite alternate;
}

.fire-particles {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fire-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff642c;
  box-shadow: 0 0 15px #ff642c, 0 0 30px #ff8b35;
  opacity: 0;
  animation: particle-rise 6s ease-in infinite;
}

.fire-particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.fire-particle:nth-child(2) { left: 12%; animation-delay: 0.8s; }
.fire-particle:nth-child(3) { left: 20%; animation-delay: 1.5s; }
.fire-particle:nth-child(4) { left: 28%; animation-delay: 2.2s; }
.fire-particle:nth-child(5) { left: 35%; animation-delay: 3s; }
.fire-particle:nth-child(6) { left: 42%; animation-delay: 3.7s; }
.fire-particle:nth-child(7) { left: 50%; animation-delay: 4.5s; }
.fire-particle:nth-child(8) { left: 58%; animation-delay: 5.2s; }
.fire-particle:nth-child(9) { left: 65%; animation-delay: 6s; }
.fire-particle:nth-child(10) { left: 72%; animation-delay: 6.7s; }
.fire-particle:nth-child(11) { left: 80%; animation-delay: 7.5s; }
.fire-particle:nth-child(12) { left: 88%; animation-delay: 8.2s; }
.fire-particle:nth-child(13) { left: 95%; animation-delay: 9s; }
.fire-particle:nth-child(14) { left: 15%; animation-delay: 1s; }
.fire-particle:nth-child(15) { left: 75%; animation-delay: 5.5s; }

::selection {
  background: rgba(255, 100, 44, 0.38);
  color: #fff9f5;
}

a {
  color: inherit;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.ambient-top {
  top: 5rem;
  left: -15rem;
  background: #ff642c;
  animation: ember-drift 10s ease-in-out infinite alternate, ember-pulse 2s ease-in-out infinite;
}

.ambient-bottom {
  top: 30rem;
  right: -18rem;
  background: #ff8b35;
  animation: ember-drift 13s ease-in-out infinite alternate-reverse, ember-pulse 2.5s ease-in-out infinite 1s;
}

.topbar,
.page-shell,
.site-footer {
  width: min(100% - 64px, 1380px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 244, 236, 0.1);
  animation: rise-in 650ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  transition: transform 200ms ease;
}

.brand:hover {
  transform: scale(1.05);
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 0 15px rgba(255, 100, 44, 0.8));
  animation: brand-flame 0.5s ease-in-out;
}

.brand-mark {
  width: 24px;
  height: 30px;
  fill: var(--orange);
  filter: drop-shadow(0 0 10px rgba(255, 100, 44, 0.44));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.brand-name strong {
  color: var(--orange-hot);
}

.topbar-meta,
.online-status,
.eyebrow,
.hero-footnote,
.section-kicker,
.results-label,
.game-play,
.site-footer,
.player-status,
.back-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.topbar-meta {
  color: var(--muted-soft);
}

.topbar-meta span {
  padding-inline: 9px;
  color: var(--orange);
}

.online-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d2b6a7;
}

.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7135;
  box-shadow: 0 0 12px rgba(255, 113, 53, 0.9), 0 0 25px rgba(255, 140, 53, 0.5);
  animation: status-glow 2s ease-in-out infinite, status-pulse 1s ease-in-out infinite;
}

.page-shell {
  padding-top: 62px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  overflow: hidden;
  padding: 26px 5.8%;
  border: 2px solid rgba(255, 130, 69, 0.4);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 78% 55%, rgba(255, 100, 44, 0.5), transparent 40%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 140, 53, 0.35), transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 193, 90, 0.15), transparent 60%),
    linear-gradient(118deg, rgba(36, 19, 15, 0.95), rgba(18, 12, 11, 0.94) 64%);
  box-shadow: inset 0 1px rgba(255, 226, 201, 0.035), 0 22px 80px rgba(0, 0, 0, 0.24), 0 0 80px rgba(255, 100, 44, 0.3), 0 0 120px rgba(255, 140, 53, 0.2);
  animation: rise-in 750ms 90ms both, hero-glow 6s ease-in-out infinite;
  transition: box-shadow 400ms ease, border-color 400ms ease;
}

.hero:hover {
  border-color: rgba(255, 130, 69, 0.7);
  box-shadow: inset 0 1px rgba(255, 226, 201, 0.035), 0 22px 80px rgba(0, 0, 0, 0.24), 0 0 100px rgba(255, 100, 44, 0.5), 0 0 150px rgba(255, 140, 53, 0.35);
}

.hero::after {
  position: absolute;
  top: 0;
  right: 9%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(255, 124, 57, 0.2), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #e39770;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 9px rgba(255, 100, 44, 0.7);
}

.hero h1 {
  margin: 0;
  color: #fff1e7;
  font-family: var(--font-display);
  font-size: clamp(82px, 11vw, 144px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-shadow: 0 0 46px rgba(255, 79, 28, 0.3), 0 0 80px rgba(255, 140, 53, 0.2);
  animation: title-flare 5s ease-in-out 1.2s infinite, title-pulse 3s ease-in-out infinite;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--orange-hot);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-footnote strong {
  color: var(--gold);
  font-size: 12px;
}

.footnote-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 244, 236, 0.2);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 11.5%;
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  transform: translateY(-50%);
  animation: emblem-float 6s ease-in-out infinite;
}

.hero-mark-ring {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 135, 64, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 42px rgba(255, 75, 29, 0.12),
    inset 0 0 36px rgba(255, 75, 29, 0.09);
}

.hero-mark-ring::before,
.hero-mark-ring::after {
  position: absolute;
  border: 1px solid rgba(255, 135, 64, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-mark-ring::before {
  inset: 16px;
}

.hero-mark-ring::after {
  inset: -13px;
  border-color: rgba(255, 193, 90, 0.12);
}

.hero-flame {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 150px;
  overflow: visible;
  filter: drop-shadow(0 0 40px rgba(255, 88, 31, 1)) drop-shadow(0 0 80px rgba(255, 140, 53, 0.8)) drop-shadow(0 0 120px rgba(255, 193, 90, 0.5));
  animation: flame-flicker 2s ease-in-out infinite, flame-glow 1s ease-in-out infinite alternate;
}

.flame-outer {
  fill: url("#flameGradient");
}

.hero-flame .flame-outer {
  fill: #ff642c;
  animation: flame-color-shift 4s ease-in-out infinite;
}

.flame-inner {
  fill: #ffc15a;
  animation: flame-inner-glow 2s ease-in-out infinite alternate;
}

.hero-mark-caption {
  position: absolute;
  bottom: 2px;
  color: #bd8160;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.library {
  padding-top: 60px;
  animation: rise-in 750ms 180ms both;
}

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 9px;
}

.library-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1;
}

.library-heading h2 span {
  color: var(--orange);
}

.library-tools {
  display: flex;
  align-items: center;
  gap: 17px;
}

.results-label {
  color: var(--muted-soft);
  font-size: 9px;
  white-space: nowrap;
}

.search-box {
  display: flex;
  width: min(320px, 34vw);
  height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 139, 75, 0.22);
  border-radius: 8px;
  background: rgba(25, 15, 13, 0.92);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-box:focus-within {
  border-color: rgba(255, 125, 58, 0.9);
  background: #1c100d;
  box-shadow: 0 0 0 3px rgba(255, 100, 44, 0.2), 0 0 35px rgba(255, 80, 31, 0.25), 0 0 60px rgba(255, 140, 53, 0.15);
  animation: search-focus-glow 2s ease-in-out infinite;
}

.search-box svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: #c07857;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 500 13px var(--font-body);
}

.search-box input::placeholder {
  color: #82675a;
}

.search-box input::-webkit-search-cancel-button {
  cursor: pointer;
  filter: grayscale(1) brightness(1.8);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
  gap: 15px;
  min-height: 240px;
  padding-bottom: 46px;
}

.game {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 151, 94, 0.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(34, 21, 17, 0.96), rgba(20, 14, 12, 0.98));
  color: var(--text);
  text-decoration: none;
  animation: card-enter 480ms both;
  animation-delay: var(--card-delay, 0ms);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.game:hover,
.game:focus-visible {
  z-index: 1;
  border-color: rgba(255, 124, 57, 0.9);
  outline: none;
  background: linear-gradient(145deg, rgba(60, 30, 20, 0.98), rgba(30, 18, 12, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 35px rgba(255, 83, 30, 0.25), 0 0 60px rgba(255, 140, 53, 0.15);
  transform: translateY(-5px) scale(1.02);
}

.game img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 55% 35%, rgba(229, 89, 39, 0.17), transparent 62%),
    #211613;
  object-fit: cover;
  transition: filter 300ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game:hover img,
.game:focus-visible img {
  filter: saturate(1.2) brightness(1.12);
  transform: scale(1.08);
}

.game-name {
  overflow: hidden;
  padding: 12px 6px 1px;
  color: #f3e2d7;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-play {
  padding: 6px 6px 5px;
  color: #d5784d;
  font-size: 8px;
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.game:hover .game-play,
.game:focus-visible .game-play {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  display: flex;
  min-height: 220px;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed rgba(255, 139, 75, 0.22);
  border-radius: 14px;
  background: rgba(24, 16, 14, 0.65);
  text-align: center;
}

.empty-state strong {
  color: var(--orange-hot);
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: 0.06em;
}

.empty-state span {
  padding-inline: 20px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 244, 236, 0.1);
  color: var(--muted-soft);
  font-size: 9px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

.footer-credit > span {
  color: #bd9b89;
}

.link {
  color: var(--orange-hot);
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.link:hover {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 193, 90, 0.6);
}

.player-body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% -50%, rgba(110, 35, 16, 0.23), transparent 66%),
    #0c0807;
}

.player-bar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 66px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 139, 75, 0.17);
  background: rgba(19, 12, 10, 0.96);
}

.player-bar .brand-mark {
  width: 19px;
  height: 24px;
}

.player-bar .brand-name {
  font-size: 21px;
}

.player-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bb8970;
  font-size: 9px;
}

.player-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 100, 44, 0.8);
  content: "";
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e3c4b1;
  font-size: 9px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  color: var(--gold);
  transform: translateX(-3px);
}

.back-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px;
}

.player-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 94px);
  border: 1px solid rgba(255, 139, 75, 0.19);
  border-radius: 10px;
  background: #090706;
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.36);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flame-flicker {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-3px) scale(1.035, 0.98);
  }

  70% {
    transform: translateY(1px) scale(0.98, 1.035);
  }
}

@keyframes emblem-float {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 7px));
  }
}

@keyframes title-flare {
  0%,
  75%,
  100% {
    text-shadow: 0 0 46px rgba(255, 79, 28, 0.3), 0 0 80px rgba(255, 140, 53, 0.2);
  }

  86% {
    text-shadow: 0 0 70px rgba(255, 91, 35, 0.5), 0 0 100px rgba(255, 140, 53, 0.35);
  }
}

@keyframes title-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes status-glow {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(255, 113, 53, 0.65), 0 0 15px rgba(255, 140, 53, 0.4);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 13px rgba(255, 113, 53, 1), 0 0 30px rgba(255, 140, 53, 0.6);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

@keyframes ember-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(30px, 20px, 0);
  }
}

@keyframes ember-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(1.1);
  }
}

@keyframes hero-glow {
  0%,
  100% {
    box-shadow: inset 0 1px rgba(255, 226, 201, 0.035), 0 22px 80px rgba(0, 0, 0, 0.24), 0 0 60px rgba(255, 100, 44, 0.1);
  }

  50% {
    box-shadow: inset 0 1px rgba(255, 226, 201, 0.035), 0 22px 80px rgba(0, 0, 0, 0.24), 0 0 80px rgba(255, 100, 44, 0.18);
  }
}

@keyframes flame-glow {
  0% {
    filter: drop-shadow(0 0 30px rgba(255, 88, 31, 0.9)) drop-shadow(0 0 60px rgba(255, 140, 53, 0.5));
  }

  100% {
    filter: drop-shadow(0 0 40px rgba(255, 88, 31, 1)) drop-shadow(0 0 80px rgba(255, 140, 53, 0.7));
  }
}

@keyframes flame-color-shift {
  0%,
  100% {
    fill: #ff642c;
  }

  50% {
    fill: #ff8b35;
  }
}

@keyframes flame-inner-glow {
  0% {
    fill: #ffc15a;
    filter: brightness(1);
  }

  100% {
    fill: #ffd680;
    filter: brightness(1.2);
  }
}

@keyframes particle-rise {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: scale(0.5) translateX(0);
  }

  10% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.6;
    transform: scale(1) translateX(20px);
  }

  90% {
    opacity: 0.3;
  }

  100% {
    bottom: 100vh;
    opacity: 0;
    transform: scale(0.3) translateX(-20px);
  }
}

@keyframes search-focus-glow {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 100, 44, 0.2), 0 0 35px rgba(255, 80, 31, 0.25), 0 0 60px rgba(255, 140, 53, 0.15);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(255, 100, 44, 0.3), 0 0 45px rgba(255, 80, 31, 0.35), 0 0 80px rgba(255, 140, 53, 0.25);
  }
}

@keyframes brand-flame {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.1) rotate(-5deg);
  }

  50% {
    transform: scale(1.15) rotate(5deg);
  }

  75% {
    transform: scale(1.1) rotate(-3deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@media (max-width: 800px) {
  .topbar,
  .page-shell,
  .site-footer {
    width: min(100% - 40px, 1380px);
  }

  .topbar {
    min-height: 74px;
  }

  .page-shell {
    padding-top: 38px;
  }

  .hero {
    min-height: 300px;
    padding-inline: 6%;
  }

  .hero-mark {
    right: 5%;
    width: 220px;
    height: 220px;
  }

  .hero-flame {
    width: 95px;
    height: 120px;
  }

  .library-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-tools {
    width: 100%;
    justify-content: space-between;
  }

  .search-box {
    width: min(360px, 54vw);
  }
}

@media (max-width: 540px) {
  .topbar,
  .page-shell,
  .site-footer {
    width: min(100% - 30px, 1380px);
  }

  .topbar-meta {
    display: none;
  }

  .online-status {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .page-shell {
    padding-top: 22px;
  }

  .hero {
    min-height: 286px;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .hero::after {
    display: none;
  }

  .hero-mark {
    right: -55px;
    width: 190px;
    height: 190px;
    opacity: 0.34;
  }

  .hero h1 {
    font-size: clamp(68px, 19vw, 94px);
  }

  .hero-subtitle {
    max-width: 260px;
    font-size: 10px;
    line-height: 1.6;
  }

  .hero-footnote {
    max-width: 230px;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 8px;
  }

  .library {
    padding-top: 42px;
  }

  .library-heading {
    gap: 19px;
  }

  .library-tools {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .search-box {
    width: 100%;
  }

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

  .game-name {
    padding-top: 10px;
    font-size: 11px;
  }

  .game-play {
    opacity: 1;
    transform: none;
  }

  .site-footer {
    min-height: 70px;
    font-size: 7px;
    letter-spacing: 0.11em;
  }

  .player-bar {
    min-height: 58px;
    padding: 0 14px;
  }

  .player-bar .brand {
    gap: 7px;
  }

  .player-bar .brand-name {
    font-size: 18px;
  }

  .player-status {
    display: none;
  }

  .back-link {
    gap: 5px;
    font-size: 8px;
  }

  .player-stage {
    padding: 8px;
  }

  .player-stage iframe {
    min-height: calc(100vh - 74px);
    border-radius: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
