:root {
  color-scheme: light;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ink: #1a2b35;
  --ink-soft: #61727c;
  --muted: #87959d;
  --white: #ffffff;
  --page: #f5fafc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --line: #e4edf1;
  --line-strong: #d4e2e8;
  --primary: #4aace8;
  --primary-deep: #187fb8;
  --primary-soft: #e8f5ff;
  --primary-pale: #f2faff;
  --secondary: #76d6c7;
  --secondary-soft: #e6faf5;
  --orange: #ff9f56;
  --hero-start: #13455c;
  --hero-end: #082c42;
  --hero-glow: rgba(86, 197, 255, 0.46);
  --shadow-sm: 0 10px 30px rgba(29, 69, 86, 0.07);
  --shadow-md: 0 20px 55px rgba(29, 69, 86, 0.13);
  --shadow-lg: 0 28px 80px rgba(13, 50, 67, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --focus-ring: 0 0 0 4px rgba(74, 172, 232, 0.2);
  --section-width: 1180px;
}

html[data-theme="green"] {
  --page: #f5fbf9;
  --primary: #43bfa8;
  --primary-deep: #168c76;
  --primary-soft: #e7faf5;
  --primary-pale: #f3fcf9;
  --secondary: #8ccf88;
  --secondary-soft: #eef9ed;
  --orange: #f6ad55;
  --hero-start: #1a544c;
  --hero-end: #0d3736;
  --hero-glow: rgba(104, 222, 201, 0.4);
  --focus-ring: 0 0 0 4px rgba(67, 191, 168, 0.2);
}

html[data-theme="orange"] {
  --page: #fff9f3;
  --primary: #f59a4b;
  --primary-deep: #ca671c;
  --primary-soft: #fff0df;
  --primary-pale: #fff8ef;
  --secondary: #f6c873;
  --secondary-soft: #fff5df;
  --orange: #eb7754;
  --hero-start: #70402c;
  --hero-end: #40251e;
  --hero-glow: rgba(255, 176, 101, 0.42);
  --focus-ring: 0 0 0 4px rgba(245, 154, 75, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 250ms ease, color 250ms ease;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.section-shell,
.nav-shell {
  width: min(calc(100% - 40px), var(--section-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(222, 235, 240, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 13px 13px 13px 5px;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-copy strong span {
  color: var(--primary);
  margin: 0 1px;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.19em;
  color: var(--muted);
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.desktop-nav a {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: var(--primary-pale);
}

.desktop-nav a.active {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.theme-dot {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease;
}

.theme-dot:hover {
  transform: scale(1.12);
}

.theme-dot span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.theme-dot--blue span {
  background: #65bdf1;
}

.theme-dot--green span {
  background: #55c8a7;
}

.theme-dot--orange span {
  background: #f6a355;
}

.theme-dot[aria-pressed="true"] {
  transform: scale(0.8);
  box-shadow: 0 0 0 2px var(--surface-solid), 0 0 0 4px currentColor;
}

.theme-dot--blue {
  color: #65bdf1;
}

.theme-dot--green {
  color: #55c8a7;
}

.theme-dot--orange {
  color: #f6a355;
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(27, 45, 54, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(27, 45, 54, 0.2);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 8%, var(--hero-glow), transparent 30%),
    linear-gradient(128deg, var(--hero-start), var(--hero-end));
  isolation: isolate;
  transition: background 350ms ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(4, 26, 36, 0.06) 0 39%, transparent 39% 100%),
    radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--primary) 35%, transparent), transparent 28%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: -1;
  background: linear-gradient(to top, rgba(3, 22, 31, 0.2), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb--one {
  width: 310px;
  height: 310px;
  right: 3%;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.03);
}

.hero-orb--two {
  width: 150px;
  height: 150px;
  left: -70px;
  bottom: 50px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--section-width));
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.eyebrow-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--secondary) 18%, transparent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: color-mix(in srgb, var(--primary) 70%, white);
}

.hero-copy>p {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button--primary {
  color: #15313e;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.button--primary:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.19);
}

.button--secondary {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 42px 0 0;
}

.hero-stats div {
  min-width: 120px;
  padding-right: 25px;
}

.hero-stats div+div {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-stage {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.stage-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow), transparent 65%);
  filter: blur(15px);
}

.preview-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}

.preview-card--main {
  z-index: 3;
  width: 286px;
  padding: 11px;
  border-radius: 24px;
  transform: rotate(8deg) translateX(10px);
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  padding: 3px 3px 10px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.preview-topline span:first-child {
  color: var(--primary-deep);
}

.preview-art {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 66% 25%, var(--secondary), transparent 25%),
    linear-gradient(140deg, color-mix(in srgb, var(--primary) 85%, #071b27), #0a2939);
}

.preview-art::before,
.preview-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.preview-art::before {
  width: 180px;
  height: 180px;
  right: -55px;
  bottom: -60px;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.045), 0 0 0 52px rgba(255, 255, 255, 0.025);
}

.preview-art::after {
  width: 75px;
  height: 75px;
  left: 20px;
  top: 20px;
  opacity: 0.45;
}

.preview-art--main {
  height: 252px;
  display: grid;
  place-items: center;
}

.preview-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 12px 45px rgba(0, 0, 0, 0.28);
}

.preview-tag {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 15px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.preview-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5px 4px;
}

.preview-info h2 {
  margin: 0;
  font-size: 17px;
}

.preview-info p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.preview-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
}

.preview-arrow svg {
  width: 15px;
  height: 15px;
}

.preview-card--back {
  z-index: 1;
  width: 220px;
  padding: 10px;
  border-radius: 22px;
  transform: translate(-105px, -90px) rotate(-12deg);
  opacity: 0.82;
}

.preview-label {
  display: inline-block;
  margin: 4px 0 9px 3px;
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 700;
}

.preview-art--one {
  height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(155deg, transparent 32%, rgba(255, 255, 255, 0.12) 32% 34%, transparent 34%),
    radial-gradient(circle at 34% 28%, #99e0ba, transparent 24%),
    linear-gradient(145deg, #2a6d86, #112e46);
}

.preview-art--one span {
  font-family: var(--font-display);
  font-size: 42px;
  color: rgba(255, 255, 255, 0.9);
}

.preview-card--front {
  z-index: 4;
  right: 2px;
  bottom: 8px;
  width: 205px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
  transform: rotate(-2deg);
}

.preview-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.preview-icon svg {
  width: 19px;
  height: 19px;
}

.preview-card--front div {
  display: grid;
}

.preview-card--front strong {
  font-size: 16px;
}

.preview-card--front div span {
  color: var(--muted);
  font-size: 10px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.today-section {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.today-section .section-shell {
  padding: 26px 30px;
  border: 1px solid rgba(223, 235, 240, 0.9);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.today-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.today-heading h2 {
  margin: 2px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.today-heading p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.today-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-solid);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.today-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: var(--shadow-sm);
}

.today-thumb,
.modal-cover {
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, color-mix(in srgb, var(--cover-accent, var(--secondary)) 70%, transparent), transparent 23%),
    linear-gradient(145deg, var(--cover-start, var(--primary-deep)), var(--cover-end, #102e3b));
}

.today-thumb {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}

.today-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.today-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.today-copy span {
  color: var(--muted);
  font-size: 10px;
}

.today-status {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.filters-section {
  padding: 54px 0 18px;
}

.filter-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.filter-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-heading h2 {
  margin: 3px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.reset-link {
  padding: 4px 0;
  border: 0;
  color: var(--primary-deep);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.platform-tabs {
  display: flex;
  gap: 7px;
  padding: 4px;
  border-radius: 13px;
  background: var(--page);
}

.platform-tab {
  min-width: 72px;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.platform-tab:hover {
  color: var(--ink);
}

.platform-tab.is-active {
  color: var(--primary-deep);
  background: var(--surface-solid);
  box-shadow: 0 4px 12px rgba(25, 62, 77, 0.09);
}

.search-form {
  height: 46px;
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-solid);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.search-form>svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 14px;
  color: var(--muted);
}

.search-form input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.search-form input::placeholder {
  color: #a2adb3;
}

.search-form input::-webkit-search-cancel-button {
  opacity: 0.55;
}

.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: stretch;
  padding: 0 18px;
  border: 0;
  border-radius: 0 11px 11px 0;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.search-form button svg {
  width: 16px;
  height: 16px;
  margin: 0;
  color: currentColor;
  stroke-width: 2;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.select-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.select-field>span:first-child {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: var(--surface-solid);
  font-size: 12px;
  cursor: pointer;
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.select-wrap select:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-result {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px dashed var(--line-strong);
}

.filter-result>p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.filter-result strong {
  color: var(--ink);
  font-size: 15px;
}

.active-filters {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 700;
}

.filter-chip button {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.reset-link--bottom {
  flex: 0 0 auto;
  margin-left: auto;
}

.games-section {
  padding: 54px 0 86px;
}

@media (min-width: 1200px) {
  .games-section .section-shell {
    width: min(calc(100% - 40px), 1140px);
  }
}

@media (min-width: 1400px) {
  .games-section .section-shell {
    width: min(calc(100% - 40px), 1320px);
  }
}

@media (min-width: 992px) and (max-width: 1050px) {
  .games-section .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.section-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border: none;
  border-radius: 15px;
  background: var(--surface-solid);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s ease;
  will-change: transform;
}

.game-card.reveal-card {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(3px);
}

.game-card.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: card-reveal-in 0.68s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) backwards;
}

.game-card.reveal-card.is-visible .game-card-img {
  animation: card-image-settle 0.78s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms) both;
}

.game-card.reveal-card .game-card-img-container::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -45%;
  bottom: -45%;
  left: -20%;
  width: 14%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  opacity: 0;
  transform: skewX(-16deg);
}

.game-card.reveal-card.is-visible .game-card-img-container::after {
  animation: card-light-sweep 0.85s ease-out calc(var(--reveal-delay, 0ms) + 120ms) both;
}

@keyframes card-image-settle {
  from {
    transform: scale(1.055);
  }

  to {
    transform: scale(1);
  }
}

@keyframes card-reveal-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    filter: blur(3px);
  }

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

@keyframes card-light-sweep {
  0% {
    left: -20%;
    opacity: 0;
  }

  18% {
    opacity: 0.48;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

.game-card:hover,
.game-card.reveal-card.is-visible:hover {
  z-index: 2;
  transform: translateY(-12px) scale(1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-card-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.game-card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1);
}

.test-status {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-open {
  background-color: #00b894;
}

.status-upcoming {
  background-color: #0984e3;
}

.game-card-body {
  padding: 1.5rem;
}

.game-title {
  margin: 0 0 0.8rem;
  overflow-wrap: anywhere;
  color: #2d3436;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: normal;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.game-tags>*+* {
  margin-left: 4px;
}

.server-tag,
.platform-tag {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.server-tag {
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
}

.server-cn {
  background-color: #e74c3c;
}

.server-tw {
  background-color: #3498db;
}

.server-jp {
  background-color: #e84393;
}

.server-kr {
  background-color: #0984e3;
}

.server-guoji {
  background-color: #00b894;
}

.server-other,
.server-mf {
  color: var(--ink);
  background-color: #fdcb6e;
}

.platform-tag {
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  color: #2d3436;
  background-color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
}

.brick-tag {
  color: var(--primary-deep);
  background-color: var(--primary-soft);
}

.game-type {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f8c8d;
  font-weight: 500;
  line-height: 1.6;
}

.game-type svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  color: var(--primary);
}

.game-developer-info {
  margin: 0 0 1.8rem;
  color: #5a5c69;
  font-size: 0.95rem;
  line-height: 1.7;
}

.developer-tag,
.publisher-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--primary);
  border-radius: 15px;
  color: #5a5c69;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.game-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #636e72;
  font-size: 0.9rem;
  font-weight: 500;
}

.game-date svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.5rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background-color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-game svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  stroke-width: 2;
}

.btn-game:hover {
  color: var(--white);
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-game--detail {
  color: var(--primary-deep);
  border-color: var(--primary);
  background-color: var(--surface-solid);
}

.btn-game--detail:hover {
  color: var(--white);
  background-color: var(--primary-deep);
}

.empty-state {
  padding: 82px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  text-align: center;
}

.empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 18px;
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.empty-icon svg {
  width: 24px;
  height: 24px;
}

.empty-state h3 {
  margin: 0;
  font-size: 20px;
}

.empty-state p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state .button--primary {
  color: var(--white);
  background: var(--ink);
}

.about-section {
  padding: 0 0 88px;
}

.about-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 54px;
  padding: 52px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 14%, var(--hero-glow), transparent 25%),
    linear-gradient(130deg, var(--hero-start), var(--hero-end));
  box-shadow: var(--shadow-md);
}

.about-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025);
}

.about-copy {
  align-self: center;
}

.about-copy .section-kicker {
  color: color-mix(in srgb, var(--primary) 72%, white);
}

.about-copy h2 {
  margin: 9px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.about-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.about-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.about-points article {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  padding: 18px 20px;
  background: rgba(8, 30, 40, 0.48);
  backdrop-filter: blur(10px);
}

.about-points span {
  grid-row: span 2;
  color: color-mix(in srgb, var(--primary) 72%, white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.about-points h3 {
  margin: 0;
  font-size: 14px;
}

.about-points p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 11px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #142831;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-top: 54px;
  padding-bottom: 44px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand-copy small {
  color: rgba(255, 255, 255, 0.37);
}

.footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 10rem;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-links h5 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  margin-top: 0;
}

.footer-links a,
.footer-links button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.46);
  background: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-contact {
  min-width: 165px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.contact-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--white);
  stroke-width: 1.8;
}

.contact-placeholder {
  color: #fff;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
}

.back-to-filter {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(12, 31, 40, 0.25);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.back-to-filter.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-filter svg {
  width: 15px;
  height: 15px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 34, 0.66);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 620px);
  border-radius: 24px;
  background: var(--surface-solid);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.modal.is-open .modal-backdrop,
.modal.is-open .modal-card {
  opacity: 1;
}

.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal-close svg {
  width: 17px;
  height: 17px;
}

.modal-cover {
  --cover-start: #247d99;
  --cover-end: #102d3d;
  --cover-accent: var(--secondary);
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.modal-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-cover::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -70px;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04), 0 0 0 65px rgba(255, 255, 255, 0.02);
}

.modal-cover-monogram {
  position: absolute;
  left: 50%;
  top: 50%;
  color: white;
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -52%);
}

.modal-cover .tag {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.28);
}

.modal-content {
  padding: 26px 30px 30px;
}

.modal-eyebrow {
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.modal-content h2 {
  margin: 5px 0 12px;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.modal-content>p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
}

.modal-meta div {
  padding: 12px;
  background: var(--page);
}

.modal-meta dt {
  color: var(--muted);
  font-size: 9px;
}

.modal-meta dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.modal-actions .button--primary {
  color: white;
  background: var(--ink);
}

.modal-actions .button--outline {
  color: var(--primary-deep);
  border-color: var(--line-strong);
  background: var(--surface-solid);
}

.today-thumb {
  position: relative;
  overflow: hidden;
}

.today-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  max-width: min(90vw, 400px);
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  color: white;
  background: rgba(19, 41, 51, 0.92);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
    padding: 8px 20px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }

  .mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .mobile-nav a {
    padding: 10px;
    border-radius: 10px;
    color: var(--ink-soft);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-nav a.active {
    color: var(--primary-deep);
    background: var(--primary-soft);
  }

  .hero-inner {
    gap: 35px;
  }

  .preview-card--main {
    width: 255px;
  }

  .preview-art--main {
    height: 225px;
  }

  .preview-card--back {
    transform: translate(-85px, -78px) rotate(-10deg);
  }

  .preview-card--front {
    right: -5px;
    width: 190px;
  }

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

@media (max-width: 820px) {

  .section-shell,
  .nav-shell,
  .hero-inner {
    width: min(calc(100% - 28px), var(--section-width));
  }

  .nav-shell {
    min-height: 70px;
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 88px;
    gap: 50px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-stage {
    width: min(100%, 500px);
    min-height: 340px;
    margin-inline: auto;
  }

  .today-grid {
    grid-template-columns: 1fr;
  }

  .filter-top {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .platform-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .platform-tab {
    min-width: 0;
    padding-inline: 8px;
  }

  .search-form {
    width: 100%;
    max-width: none;
  }

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

  .about-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 78px;
  }

  .section-shell,
  .nav-shell,
  .hero-inner {
    width: min(calc(100% - 22px), var(--section-width));
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px 11px 11px 4px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .nav-actions {
    gap: 8px;
  }

  .theme-switcher {
    gap: 1px;
    padding: 4px;
  }

  .theme-dot {
    width: 21px;
    height: 21px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    padding-inline: 13px;
  }

  .hero-inner {
    padding: 40px 5px 76px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.16;
  }

  .hero-copy>p {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
  }

  .button {
    min-height: 46px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero-stats {
    margin-top: 32px;
  }

  .hero-stats div {
    min-width: 0;
    flex: 1;
    padding-right: 12px;
  }

  .hero-stats div+div {
    padding-left: 16px;
  }

  .hero-stats dt {
    font-size: 19px;
  }

  .hero-stats dd {
    font-size: 9px;
  }

  .hero-stage {
    min-height: 300px;
    transform: scale(0.92);
  }

  .preview-card--main {
    width: 240px;
  }

  .preview-art--main {
    height: 205px;
  }

  .preview-card--back {
    width: 185px;
    transform: translate(-80px, -90px) rotate(-10deg);
  }

  .preview-art--one {
    height: 175px;
  }

  .preview-card--front {
    right: 0;
    bottom: 0;
    width: 175px;
  }

  .today-section {
    margin-top: -34px;
  }

  .today-section .section-shell {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .today-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
  }

  .today-heading h2 {
    font-size: 20px;
  }

  .today-heading p {
    font-size: 10px;
  }

  .filters-section {
    padding-top: 40px;
  }

  .filter-panel {
    padding: 19px 14px;
    border-radius: 20px;
  }

  .filter-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-bottom: 16px;
  }

  .filter-heading h2 {
    font-size: 21px;
  }

  .filter-top {
    padding: 16px 0;
  }

  .platform-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 3px;
  }

  .platform-tab {
    min-height: 36px;
    font-size: 11px;
  }

  .search-form {
    height: 43px;
  }

  .search-form button {
    padding-inline: 14px;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .filter-grid .select-field:last-child {
    grid-column: span 2;
  }

  .select-wrap select {
    height: 41px;
    font-size: 11px;
  }

  .filter-result {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .active-filters {
    flex-basis: 100%;
    order: 3;
  }

  .reset-link--bottom {
    margin-left: auto;
  }

  .games-section {
    padding: 40px 0 66px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .game-card-img-container {
    height: 220px;
  }

  .game-card {
    margin-bottom: 16px;
  }

  .game-card-body {
    padding: 16px;
  }

  .about-section {
    padding-bottom: 64px;
  }

  .about-card {
    gap: 26px;
    padding: 28px 21px;
    border-radius: 22px;
  }

  .about-copy h2 {
    font-size: 30px;
  }

  .about-points article {
    grid-template-columns: 28px 1fr;
    padding: 15px 14px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 34px;
    padding-top: 42px;
  }

  .footer-links {
    justify-content: space-around;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .back-to-filter {
    right: 13px;
    bottom: 14px;
  }

  .modal-card {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .modal-cover {
    height: 180px;
  }

  .modal-content {
    padding: 22px 20px 24px;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  .modal-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (hover: none),
(pointer: coarse) {

  .game-card:hover,
  .game-card.reveal-card.is-visible:hover,
  .game-card:focus-within {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .game-card:hover .game-card-img {
    transform: none;
  }

  .btn-game:hover,
  .back-to-filter:hover {
    transform: none;
  }

  .game-card,
  .btn-game {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 767.98px) {
  body {
    overflow-x: clip;
  }

  .game-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .filter-panel {
    padding: 14px;
  }

  .filter-top {
    gap: 10px;
    padding: 14px 0;
  }

  .platform-tabs {
    gap: 6px;
  }

  .platform-tab {
    min-height: 40px;
    padding: 9px 2px;
    font-size: 0.84rem;
    letter-spacing: 0.5px;
  }

  .search-form {
    height: 44px;
  }

  .search-form input {
    font-size: 16px;
  }

  .search-form button {
    height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
  }

  .filter-grid {
    gap: 10px;
    padding-top: 14px;
  }

  .select-field>span:first-child {
    font-size: 0.78rem;
    letter-spacing: 0.3px;
  }

  .select-wrap select {
    height: 44px;
    padding: 0 30px 0 10px;
    font-size: 0.88rem;
  }

  .filter-result {
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    font-size: 0.85rem;
  }

  .filter-result strong {
    font-size: 1rem;
  }

  .filter-chip {
    padding: 3px 9px;
    font-size: 0.76rem;
  }

  .game-card {
    margin-bottom: 16px;
  }

  .game-card-body {
    padding: 16px;
  }

  .game-title {
    margin-bottom: 8px;
  }

  .game-meta {
    margin-bottom: 10px;
  }

  .game-developer-info {
    margin-bottom: 12px;
  }

  .game-footer {
    gap: 10px;
  }

  .back-to-filter {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {

  .section-shell,
  .nav-shell,
  .hero-inner {
    width: calc(100% - 20px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .today-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .today-status {
    grid-column: 2;
    width: fit-content;
  }

  .game-actions {
    width: 100%;
  }

  .game-actions .btn-game {
    flex: 1 1 auto;
  }

  .modal-actions {
    flex-wrap: wrap;
  }

  .modal-actions .button {
    flex: 1 1 auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
