:root {
  --purple-950: #39203f;
  --purple-900: #4b2754;
  --purple-800: #61336c;
  --purple-700: #774182;
  --purple-600: #915aa0;
  --purple-500: #ad79ba;
  --purple-300: #d6b8dd;
  --purple-200: #ead9ee;
  --purple-100: #f6eef8;
  --yellow-500: #ffdf63;
  --yellow-300: #ffeb96;
  --peach: #ffd2bd;
  --cream: #fffdf2;
  --ink: #2f2432;
  --muted: #726a75;
  --white: #ffffff;
  --border: #e9e3ea;
  --shadow-sm: 0 8px 24px rgba(74, 40, 82, 0.08);
  --shadow-md: 0 20px 50px rgba(74, 40, 82, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans TC", "Microsoft JhengHei UI", "PingFang TC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.cart-open,
body.points-open,
body.player-lightbox-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--purple-900);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  border-bottom: 1px solid rgba(84, 44, 94, 0.08);
  background: #ffffff;
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(57, 32, 63, 0.08);
  background: #ffffff;
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--yellow-300), var(--purple-200));
}

.brand-mark img {
  position: absolute;
  top: -26px;
  left: -45px;
  width: 180px;
  max-width: none;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--purple-900);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--purple-600);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-menu,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-menu {
  flex: 1;
  justify-content: space-between;
  margin-left: 70px;
}

.nav-links {
  gap: 8px;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  position: relative;
  padding: 12px 16px;
  color: #625867;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-arrow {
  transform: translateY(2px) rotate(225deg);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow-500);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple-800);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  width: 238px;
  padding: 8px;
  border: 1px solid rgba(107, 52, 119, 0.12);
  border-radius: 16px;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(57, 32, 63, 0.16);
  transform: translateY(-8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  pointer-events: none;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}

.nav-dropdown.open .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--ink-800);
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  color: var(--purple-800);
  background: var(--purple-100);
  outline: none;
}

.nav-dropdown-item strong {
  font-size: 14px;
}

.nav-dropdown-item span {
  color: var(--muted);
  font-size: 12px;
}

.nav-game-dropdown-menu {
  width: 270px;
}

.nav-game-dropdown-item {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.nav-game-badge {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-game-lol {
  background: #806020;
}

.nav-game-valorant {
  background: #cf5663;
}

.nav-game-apex {
  background: #4a4652;
}

.nav-game-delta {
  color: #d8fff8;
  background: linear-gradient(135deg, #56cbb9, #1c5861 58%, #192c39);
}

.nav-game-overwatch {
  color: #2a2026;
  background: linear-gradient(135deg, #ffc44b, #ee7b37);
}

.nav-game-tft {
  color: #fff4c9;
  background: linear-gradient(135deg, #8064c4, #c995d1 52%, #f2bd58);
}

.nav-game-steam {
  background: #456586;
}

.nav-game-singing {
  background: linear-gradient(145deg, #c45aa6, #743d8d);
}

.nav-game-voice {
  background: linear-gradient(145deg, #7458b2, #48346f);
}

.nav-game-other {
  background: linear-gradient(145deg, #e2a63e, #9d6632);
}

.nav-game-singing,
.nav-game-voice,
.nav-game-other {
  font-family: "Noto Sans TC", "Microsoft JhengHei UI", sans-serif;
}

.nav-game-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.nav-game-copy strong {
  overflow: hidden;
  color: var(--ink-800);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-game-copy small {
  color: var(--muted);
  font-size: 11px;
}

.nav-game-dropdown-menu {
  max-height: min(650px, calc(100vh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (hover: hover) and (min-width: 781px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-dropdown:hover .nav-dropdown-arrow {
    transform: translateY(2px) rotate(225deg);
  }
}

.nav-actions {
  gap: 8px;
}

.nav-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 7px;
}

.nav-social-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 9px;
  border: 1px solid #eadfee;
  border-radius: 999px;
  color: #5e346d;
  background: #fff;
  box-shadow: 0 5px 12px rgba(77, 46, 88, 0.06);
  font-weight: 850;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-social-link:hover {
  color: #fff;
  border-color: #7b3e8d;
  background: #7b3e8d;
  transform: translateY(-2px);
}

.nav-social-link span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #f8a33f, #d64f8d 48%, #733bb3);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.nav-social-threads span {
  border-radius: 50%;
  background: #231d2a;
  font-size: 15px;
  letter-spacing: 0;
}

.nav-social-link small {
  font-size: 12px;
}

.user-actions {
  max-width: 280px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid var(--yellow-400);
  border-radius: 50%;
  object-fit: cover;
  background: var(--purple-100);
}

.user-name {
  max-width: 130px;
  overflow: hidden;
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  box-shadow: 0 10px 20px rgba(97, 51, 108, 0.2);
}

.button-primary:hover {
  box-shadow: 0 13px 28px rgba(97, 51, 108, 0.28);
}

.button-secondary {
  border: 1px solid rgba(107, 52, 119, 0.18);
  color: var(--purple-800);
  background: var(--purple-100);
  box-shadow: none;
}

.button-secondary:hover {
  background: #eadbed;
  box-shadow: 0 10px 22px rgba(97, 51, 108, 0.12);
}

.button-ghost {
  min-height: 42px;
  color: var(--purple-800);
  background: transparent;
}

.button-ghost:hover {
  background: var(--purple-100);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--purple-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--purple-800);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 235, 150, 0.5), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fbf5fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(var(--purple-300) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, black 65%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
  padding-block: 76px 82px;
}

.eyebrow,
.section-kicker {
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--purple-200);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 0 0 4px rgba(255, 223, 99, 0.25);
}

.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.17;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--purple-700);
  background: linear-gradient(transparent 66%, rgba(255, 223, 99, 0.62) 0);
}

.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

/* 首頁移除搜尋欄後，讓主標與介紹和視覺重心對齊。 */
@media (min-width: 781px) {
  .hero-copy { transform: translateY(72px); }
}

.hero-search {
  display: flex;
  width: min(100%, 590px);
  min-height: 66px;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(97, 51, 108, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.search-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--purple-500);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-500);
  transform: rotate(45deg);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.hero-search input::placeholder {
  color: #aaa2ad;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  color: #756d78;
  font-size: 13px;
  font-weight: 700;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-800);
  background: var(--yellow-300);
  font-size: 11px;
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-glow-one {
  top: 90px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: rgba(214, 184, 221, 0.35);
}

.hero-glow-two {
  right: 28%;
  bottom: -160px;
  width: 320px;
  height: 320px;
  background: rgba(255, 223, 99, 0.28);
}

.logo-stage {
  position: absolute;
  top: 32px;
  right: 0;
  width: min(100%, 510px);
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 42% 58% 56% 44% / 38% 42% 58% 62%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 231, 248, 0.92));
  box-shadow: 0 35px 80px rgba(92, 48, 103, 0.16);
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(119, 65, 130, 0.18);
  border-radius: 50%;
}

.logo-stage img {
  position: absolute;
  top: -86px;
  left: 50%;
  width: 590px;
  max-width: none;
  transform: translateX(-50%);
}

.spark {
  position: absolute;
  z-index: 2;
  color: var(--yellow-500);
  font-size: 40px;
  text-shadow: 2px 2px 0 var(--purple-800);
}

.spark-one {
  top: 26px;
  left: 38px;
  transform: rotate(-12deg);
}

.spark-two {
  right: 15px;
  bottom: 75px;
  color: var(--purple-300);
  font-size: 28px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.floating-card div {
  display: grid;
}

.floating-card strong {
  color: var(--purple-900);
  font-size: 16px;
}

.floating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.floating-online {
  bottom: 32px;
  left: -15px;
}

.floating-rating {
  right: -8px;
  bottom: 64px;
}

.floating-rating > span {
  color: #f0b627;
  font-size: 26px;
}

.online-dot {
  width: 13px;
  height: 13px;
  border: 3px solid #c8f3d8;
  border-radius: 50%;
  background: #2ec56b;
  box-sizing: content-box;
}

.section {
  padding-block: 100px;
}

.section-players {
  background: var(--white);
}

.section-heading h2,
.cta-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-heading p,
.cta-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  color: var(--purple-700);
  font-weight: 800;
  white-space: nowrap;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.filter-row {
  display: flex;
  gap: 10px;
  margin: 34px 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  min-width: max-content;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: #746b77;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--purple-700);
  color: var(--white);
  background: var(--purple-700);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.player-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.player-card.filtered-out {
  display: none;
}

.player-cover {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
  overflow: hidden;
}

.player-cover::before,
.player-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.player-cover::before {
  top: -45px;
  right: -45px;
  width: 160px;
  height: 160px;
  border: 34px solid rgba(255, 255, 255, 0.25);
}

.player-cover::after {
  bottom: -80px;
  left: -50px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.22);
}

.cover-lilac {
  background: linear-gradient(145deg, #d9bfe2, #b881c6);
}

.cover-peach {
  background: linear-gradient(145deg, #ffd9c9, #f3a9a2);
}

.cover-yellow {
  background: linear-gradient(145deg, #fff0a9, #f3cc66);
}

.avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 43% 57% 48% 52% / 54% 44% 56% 46%;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 50px;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(75, 39, 84, 0.16);
}

.avatar-mila {
  background: linear-gradient(145deg, #5b2d66, #9560a4);
}

.avatar-luna {
  background: linear-gradient(145deg, #84494c, #d67978);
}

.avatar-momo {
  background: linear-gradient(145deg, #6b3477, #ac6c9b);
  font-family: inherit;
}

.status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 99px;
  color: #21633c;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 900;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ec56b;
}

.status-away {
  color: #735b16;
}

.status-away i {
  background: #eab62d;
}

.heart-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.9);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.heart-button.saved {
  color: #d85076;
  background: #fff0f4;
}

.player-info {
  padding: 22px;
}

.player-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.player-title > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.player-title h3 {
  margin: 0;
  font-size: 19px;
}

.verified {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--purple-600);
  font-size: 11px;
  font-weight: 900;
}

.player-title > strong {
  color: var(--purple-700);
  font-size: 14px;
  white-space: nowrap;
}

.player-title small {
  color: #928a94;
  font-size: 10px;
  font-weight: 600;
}

.player-info > p {
  min-height: 49px;
  margin: 14px 0 18px;
  color: #7b727d;
  font-size: 13px;
  line-height: 1.8;
}

.player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #756d78;
  font-size: 12px;
  font-weight: 700;
}

.player-meta b {
  color: #efb525;
}

.game-tag {
  padding: 6px 10px;
  border-radius: 99px;
  color: var(--purple-700);
  background: var(--purple-100);
  font-size: 10px;
  font-weight: 900;
}

.empty-state {
  padding: 50px 20px;
  border: 1px dashed var(--purple-300);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--purple-100);
  text-align: center;
}

.section-games {
  background: #faf7fb;
}

.centered {
  max-width: 660px;
  margin: 0 auto 42px;
  text-align: center;
}

.game-carousel {
  position: relative;
  margin-inline: 54px;
}

.game-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  margin: -8px -4px 0;
  padding: 8px 4px 26px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.game-grid::-webkit-scrollbar {
  display: none;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.game-card:hover {
  transform: translateY(-7px) rotate(-0.7deg);
  box-shadow: 0 22px 42px rgba(52, 32, 57, 0.2);
}

.game-card > span:not(.game-icon) {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 22px;
}

.game-card strong {
  font-size: 17px;
}

.game-card small {
  margin-top: 6px;
  opacity: 0.72;
  font-size: 12px;
}

.game-card i {
  position: relative;
  z-index: 1;
  margin-top: auto;
  opacity: 0.72;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.game-card > b {
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-size: 22px;
  transition: transform 0.2s ease;
}

.game-card:hover > b {
  transform: translateX(5px);
}

.game-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.14);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.game-lol {
  background: linear-gradient(145deg, #856422, #3c2f20);
}

.game-valorant {
  background: linear-gradient(145deg, #ea6f72, #872e49);
}

.game-apex {
  background: linear-gradient(145deg, #55505c, #24212b);
}

.game-delta {
  background:
    radial-gradient(circle at 84% 12%, rgba(163, 94, 224, .38), transparent 34%),
    radial-gradient(circle at 14% 92%, rgba(81, 210, 188, .28), transparent 34%),
    linear-gradient(145deg, #24464a, #172832 66%, #1d1831);
}

.game-overwatch {
  background:
    radial-gradient(circle at 100% 100%, rgba(178, 81, 219, 0.35), transparent 42%),
    linear-gradient(145deg, #f7a334, #b65d38 58%, #663b75);
}

.game-tft {
  background:
    radial-gradient(circle at 78% 86%, rgba(252, 195, 93, 0.26), transparent 32%),
    radial-gradient(circle at 5% 0%, rgba(192, 130, 232, 0.28), transparent 38%),
    linear-gradient(145deg, #38264d, #1c172f);
}

.game-steam {
  background: linear-gradient(145deg, #506d91, #263a58);
}

.game-singing {
  background: linear-gradient(145deg, #a0499e, #4a235f);
}

.game-voice {
  background: linear-gradient(145deg, #6651a8, #2d214b);
}

.game-other-services {
  background: linear-gradient(145deg, #b47742, #5b345d);
}

.game-carousel-control {
  position: absolute;
  z-index: 3;
  top: 111px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(107, 52, 119, 0.14);
  border-radius: 50%;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(60, 35, 65, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.game-carousel-control span {
  margin-top: -4px;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.game-carousel-control:hover:not(:disabled) {
  box-shadow: 0 16px 34px rgba(60, 35, 65, 0.24);
  transform: translateY(-50%) scale(1.06);
}

.game-carousel-control:focus-visible {
  outline: 3px solid rgba(234, 194, 72, 0.62);
  outline-offset: 3px;
}

.game-carousel-control:disabled {
  opacity: 0.32;
  cursor: default;
}

.game-carousel-previous {
  left: -58px;
}

.game-carousel-next {
  right: -58px;
}

.game-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.game-carousel-footer > i {
  display: block;
  width: 116px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(107, 52, 119, 0.13);
}

.game-carousel-footer > i > b {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-700), #d591be);
  transition: width 0.18s ease;
}

.cta-section {
  padding-block: 100px;
}

.cta-card {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 35%, rgba(255, 223, 99, 0.2), transparent 30%),
    linear-gradient(135deg, var(--purple-800), var(--purple-950));
  box-shadow: 0 30px 70px rgba(75, 39, 84, 0.25);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(var(--white) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-copy {
  position: relative;
  z-index: 1;
  padding: 60px 0 60px 70px;
}

.cta-copy .section-kicker {
  color: var(--yellow-300);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  margin-top: 26px;
  color: var(--purple-900);
  background: var(--yellow-300);
  box-shadow: 0 12px 24px rgba(25, 13, 27, 0.2);
}

.cta-mascot {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.cta-mascot img {
  position: absolute;
  top: -76px;
  left: 50%;
  width: 540px;
  max-width: none;
  transform: translateX(-50%);
}

.site-footer {
  padding-top: 72px;
  border-top: 1px solid var(--border);
  background: #fffdfb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 100px;
  padding-bottom: 56px;
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-brand > p {
  max-width: 310px;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-brand > a {
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: var(--purple-900);
  font-size: 14px;
}

.footer-links a,
.footer-links button {
  width: max-content;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--purple-700);
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #98919a;
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(40, 23, 44, 0.66);
  backdrop-filter: blur(8px);
}

.auth-modal {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  padding: 34px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(29, 14, 32, 0.3);
  animation: modal-in 0.22s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 25px;
  cursor: pointer;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--purple-800);
  font-family: Georgia, serif;
  font-weight: 800;
}

.mini-mascot {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--purple-100);
}

.mini-mascot img {
  position: absolute;
  top: -18px;
  left: -31px;
  width: 122px;
  max-width: none;
}

.auth-modal h2 {
  margin: 16px 0 7px;
  color: var(--purple-950);
  text-align: center;
  font-size: 28px;
}

.auth-subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 18px;
  padding: 5px;
  border-radius: 12px;
  background: #f5f1f6;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button[aria-selected="true"] {
  color: var(--purple-800);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(66, 34, 74, 0.08);
}

.social-auth-buttons {
  display: grid;
  gap: 10px;
}

.google-button,
.discord-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #ded8e0;
  border-radius: 12px;
  background: var(--white);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.google-button:hover {
  background: #fbf9fb;
}

.discord-button {
  border-color: #5865f2;
  color: var(--white);
  background: #5865f2;
}

.discord-button:hover {
  border-color: #4752c4;
  background: #4752c4;
}

.discord-button[data-status="unavailable"] {
  border-color: #aaa3ac;
  color: #655d67;
  background: #eeeaf0;
  cursor: help;
}

.google-button .google-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.discord-button .discord-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #5865f2;
  background: var(--white);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.google-button .google-button-label {
  display: inline;
  width: auto;
  min-width: 0;
  height: auto;
  flex: 0 1 auto;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.discord-button-label {
  line-height: 1.4;
  white-space: nowrap;
}

.google-button:disabled,
.discord-button[aria-busy="true"],
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #eccfd4;
  border-radius: 10px;
  color: #8b2635;
  background: #fff4f5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #aaa3ac;
  font-size: 11px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form > div:not(.form-options) {
  display: grid;
  gap: 7px;
}

.auth-form label {
  color: #584f5b;
  font-size: 12px;
  font-weight: 800;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #ded8e0;
  border-radius: 11px;
  outline: 0;
  background: #fdfcfd;
}

.auth-form input:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(173, 121, 186, 0.14);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.form-options button {
  padding: 0;
  border: 0;
  color: var(--purple-700);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  margin-top: 2px;
}

.prototype-note {
  margin: 18px 0 0;
  color: #958e97;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

/* 會員入口統一使用 Discord，保留既有驗證程式以維持登入狀態與訂單功能。 */
.auth-modal .auth-tabs,
.auth-modal .google-button,
.auth-modal .divider,
.auth-modal .auth-form,
.auth-modal .prototype-note {
  display: none;
}

.auth-modal .social-auth-buttons {
  margin-top: 28px;
}

.auth-modal .discord-button {
  min-height: 54px;
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  max-width: min(380px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 13px;
  color: var(--white);
  background: var(--purple-950);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* 導覽列會員消費金額與側邊欄 */
.nav-points {
  flex: 0 0 auto;
  margin-right: 8px;
  margin-left: auto;
}

.points-nav-button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(107, 52, 119, 0.16);
  border-radius: 13px;
  color: var(--purple-800);
  background: #fbf7fc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.points-nav-button:hover {
  border-color: rgba(107, 52, 119, 0.3);
  background: var(--purple-100);
  box-shadow: 0 9px 20px rgba(75, 39, 83, 0.12);
  transform: translateY(-1px);
}

.points-nav-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.points-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  background: rgba(34, 20, 38, 0.56);
  backdrop-filter: blur(5px);
}

.points-drawer {
  display: flex;
  width: min(640px, 100%);
  height: 100%;
  flex-direction: column;
  background: #fffdfd;
  box-shadow: -24px 0 60px rgba(27, 13, 31, 0.22);
  animation: points-drawer-in 0.24s ease-out;
}

@keyframes points-drawer-in {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

.points-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fff9dd, #f7ebf8);
}

.points-header .section-kicker {
  font-size: 10px;
}

.points-header h2 {
  margin: 5px 0 0;
  color: var(--purple-950);
  font-size: 27px;
}

.points-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.78);
  font-size: 27px;
  cursor: pointer;
}

.points-content {
  flex: 1;
  padding: 22px 24px;
  overflow-y: auto;
}

.points-card {
  position: relative;
  display: grid;
  min-height: 230px;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: 26px 30px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(140deg, #4a2054, #7b3e86 60%, #a164a6);
  box-shadow: 0 18px 44px rgba(75, 39, 83, 0.2);
}

.points-card::after {
  content: "✦";
  position: absolute;
  top: 18px;
  right: 24px;
  color: var(--yellow-300);
  font-size: 54px;
  opacity: 0.92;
}

.spend-progress-ring {
  --spend-progress: 0;
  position: relative;
  z-index: 1;
  width: 176px;
  aspect-ratio: 1;
}

.spend-progress-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px rgba(37, 12, 45, 0.22));
  transform: rotate(-90deg);
}

.spend-progress-track,
.spend-progress-value {
  fill: none;
  stroke-width: 8;
}

.spend-progress-track {
  stroke: rgba(255, 255, 255, 0.18);
}

.spend-progress-value {
  stroke: var(--yellow-300);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--spend-progress));
  transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.spend-progress-center {
  position: absolute;
  inset: 21px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  text-align: center;
  background: rgba(52, 19, 61, 0.28);
  backdrop-filter: blur(5px);
}

.points-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.spend-progress-center strong {
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1;
}

.spend-progress-percent {
  color: var(--yellow-300);
  font-size: 12px;
  font-weight: 900;
}

.spend-progress-details {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.spend-tier-badge {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--purple-950);
  background: var(--yellow-300);
  font-size: 12px;
  font-weight: 900;
}

.spend-progress-details h3 {
  margin: 2px 0 0;
  color: var(--white);
  font-size: clamp(21px, 4vw, 29px);
}

.points-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.spend-next-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.spend-next-tier strong {
  color: var(--yellow-300);
  text-align: right;
  font-size: 13px;
}

.points-signed-out,
.points-signed-in {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.member-finance-summary,
.member-history-card {
  margin-top: 16px;
  border: 1px solid rgba(92, 56, 104, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  padding: 16px 18px;
}
.footer-brand > a[href^="mailto:service@mihu88.com"] { display: none; }
.member-finance-summary > div,
.member-history-card header,
.member-history-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-finance-summary span,
.member-history-card header span { color: #765b7e; font-size: .82rem; }
.member-finance-summary strong { color: #4e2859; font-size: 1.35rem; }
.member-finance-summary p { margin: 6px 0 0; color: #8b7590; font-size: .78rem; }
.member-history-card h3 { margin: 0; color: #4e2859; font-size: 1rem; }
.member-history-item { padding: 12px 0; border-bottom: 1px solid rgba(92, 56, 104, .08); font-size: .82rem; }
.member-history-item:last-child { border-bottom: 0; }
.member-history-item span { display: grid; gap: 3px; min-width: 0; }
.member-history-item small { overflow: hidden; color: #806d85; text-overflow: ellipsis; white-space: nowrap; }
.member-history-item b { white-space: nowrap; }
.member-history-item b.positive { color: #25845b; }
.member-history-item b.negative { color: #b24d5e; }
.member-history-item em { color: #8b7590; font-size: .72rem; font-style: normal; white-space: nowrap; }

.points-signed-out h3,
.points-signed-in h3 {
  margin: 0;
  color: var(--purple-950);
  font-size: 19px;
}

.points-signed-out p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.member-finance-summary { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border:1px solid var(--border); border-radius:12px; background:#fffaf2; color:var(--muted); font-size:13px; }
.member-finance-summary strong { color:var(--purple-950); font-size:20px; }
.member-transactions { display:grid; gap:9px; }
.member-transactions-heading { display:flex; justify-content:space-between; color:var(--purple-950); font-size:13px; }
.member-transactions-heading span { color:var(--muted); font-size:11px; }
.member-transaction-row { display:grid; grid-template-columns:100px 42px 1fr; gap:10px; align-items:center; padding:10px 12px; border:1px solid var(--border); border-radius:10px; font-size:12px; }
.member-transaction-row strong.is-spend { color:#ad514c; }
.member-transaction-row strong.is-balance { color:#34785d; }
.member-transaction-row span, .member-transaction-row small { color:var(--muted); }
.member-transaction-row small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }


.points-rules {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points-rules li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.points-rules li:last-child {
  border-bottom: 0;
}

.points-rules li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 11px;
  font-weight: 900;
}

.points-rules p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.points-rules strong {
  display: block;
  margin-bottom: 2px;
  color: var(--purple-950);
  font-size: 13px;
}

.points-rewards-catalog {
  margin-top: 30px;
}

.points-rewards-heading {
  padding: 4px 2px 18px;
}

.points-rewards-heading .section-kicker {
  font-size: 10px;
}

.points-rewards-heading h3 {
  margin: 6px 0 5px;
  color: var(--purple-950);
  font-size: 24px;
}

.points-rewards-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.points-tier-group {
  --tier-accent: #753d80;
  --tier-accent-dark: #4b2753;
  --tier-soft: #f5ecf7;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(107, 52, 119, 0.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 251, 0.96));
  box-shadow: 0 14px 34px rgba(75, 39, 83, 0.08);
}

.points-tier-group-vvip {
  --tier-accent: #b27a2d;
  --tier-accent-dark: #744717;
  --tier-soft: #fff5d8;
  border-color: rgba(178, 122, 45, 0.22);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 221, 99, 0.22), transparent 120px),
    linear-gradient(145deg, #fffef9, #fff9e8);
}

.points-tier-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
  padding: 0 2px;
}

.points-tier-group-header span {
  color: var(--tier-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.points-tier-group-header h4 {
  margin: 4px 0 0;
  color: var(--tier-accent-dark);
  font-size: 19px;
}

.points-tier-group-header p {
  max-width: 210px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.points-tier-list {
  display: grid;
  gap: 9px;
}

.points-tier {
  overflow: hidden;
  border: 1px solid rgba(107, 52, 119, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.points-tier[open] {
  border-color: color-mix(in srgb, var(--tier-accent) 38%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--tier-accent) 12%, transparent);
}

.points-tier summary {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
}

.points-tier summary::-webkit-details-marker {
  display: none;
}

.points-tier summary:hover {
  background: color-mix(in srgb, var(--tier-soft) 72%, white);
}

.points-tier-name {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(135deg, var(--tier-accent-dark), var(--tier-accent));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 16px color-mix(in srgb, var(--tier-accent) 20%, transparent);
}

.points-tier-threshold {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.points-tier-threshold strong {
  color: var(--tier-accent-dark);
  font-size: 15px;
  white-space: nowrap;
}

.points-tier-threshold small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.points-tier-toggle {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--tier-soft);
}

.points-tier-toggle::before,
.points-tier-toggle::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--tier-accent);
  transition: transform 0.2s ease;
}

.points-tier-toggle::after {
  transform: rotate(90deg);
}

.points-tier[open] .points-tier-toggle::after {
  transform: rotate(0deg);
}

.points-tier-body {
  padding: 0 15px 15px;
}

.points-tier-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--tier-soft);
  list-style: none;
}

.points-tier-body li {
  position: relative;
  padding-left: 17px;
  color: var(--purple-950);
  font-size: 12px;
  line-height: 1.6;
}

.points-tier-body li::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--tier-accent);
  font-size: 10px;
}

.points-rewards-note {
  margin: 18px 4px 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.points-signed-out .button,
.purchase-button {
  width: 100%;
}

.profile-footer:has(.purchase-button),
.player-template-footer:has(.purchase-button) {
  display: block;
}

@media (max-width: 780px) {
  .nav-points {
    width: 100%;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .points-nav-button {
    width: 100%;
  }

  .points-header {
    min-height: 88px;
    padding: 18px 20px;
  }

  .points-content {
    padding: 18px 16px;
  }

  .points-card {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 20px;
  }

  .spend-progress-ring {
    width: 150px;
  }

  .points-tier-group {
    padding: 14px;
    border-radius: 18px;
  }

  .points-tier-group-header {
    display: grid;
    gap: 4px;
  }

  .points-tier-group-header p {
    max-width: none;
    text-align: left;
  }

  .points-tier summary {
    grid-template-columns: minmax(68px, auto) minmax(0, 1fr) 28px;
    gap: 9px;
    padding-inline: 10px;
  }

  .points-tier-threshold {
    display: grid;
    gap: 1px;
  }

  .points-tier-threshold strong {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .points-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }

  .spend-progress-details {
    width: 100%;
    justify-items: center;
  }

  .spend-tier-badge {
    justify-self: center;
  }

  .spend-next-tier {
    width: 100%;
  }
}

/* 會員消費中心 */
.membership-page { background: #fbf8fc; }
.membership-page .site-header { position: sticky; top: 0; z-index: 20; }
.membership-nav-links { display: flex; align-items: center; gap: 22px; }
.membership-nav-links > a:not(.button) { color: var(--ink); font-weight: 800; text-decoration: none; }
.membership-hero { padding: 86px 0 54px; background: radial-gradient(circle at 78% 18%, rgba(255, 222, 102, .38), transparent 24%), linear-gradient(135deg, #fff8dd, #f8effb 68%, #f0e2f7); }
.membership-hero-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(620px, 1.28fr); align-items: center; gap: 44px; }
.membership-hero h1 { margin: 10px 0 12px; color: var(--ink); font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: .98; white-space: nowrap; transform: translateX(-20px); }
.membership-hero p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.membership-overview { display: grid; gap: 12px; }
.membership-progress-card { position: relative; display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: center; gap: 28px; overflow: hidden; min-height: 230px; padding: 26px 30px; border-radius: 28px; color: #fff; background: linear-gradient(140deg, #4a2054, #7b3e86 60%, #a164a6); box-shadow: 0 24px 60px rgba(72, 37, 79, .18); }
.membership-progress-card::after { position: absolute; top: 16px; right: 24px; content: "✦"; color: var(--yellow-300); font-size: 52px; }
.membership-progress-card .spend-progress-details p { color: rgba(255, 255, 255, .78); font-size: .83rem; }
.membership-progress-card .spend-next-tier { border-color: rgba(255, 255, 255, .18); }
.membership-progress-card .spend-next-tier strong { color: var(--yellow-300); }
.membership-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.membership-summary article { display: grid; min-height: 92px; align-content: center; gap: 8px; padding: 18px 22px; border: 1px solid rgba(107, 52, 119, .12); border-radius: 20px; background: rgba(255, 255, 255, .84); box-shadow: 0 14px 34px rgba(72, 37, 79, .08); backdrop-filter: blur(14px); }
.membership-summary span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.membership-summary strong { color: var(--purple); font-size: 1.55rem; }
.membership-layout { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 88px; }
.membership-panel { padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(107, 52, 119, .12); border-radius: 28px; background: #fff; box-shadow: 0 18px 55px rgba(72, 37, 79, .07); scroll-margin-top: 92px; }
.membership-login-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #fff8dc, #fff); }
.membership-login-notice h2, .membership-section-heading h2 { margin: 6px 0 0; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.25rem); }
.membership-login-notice p { margin: 9px 0 0; color: var(--muted); }
.membership-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.membership-section-heading > p, .membership-section-heading > span { margin: 0; color: var(--muted); font-size: .86rem; font-weight: 800; }
.membership-tier-grid, .membership-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.membership-tier-card { padding: 22px; border: 1px solid rgba(107, 52, 119, .12); border-radius: 20px; background: linear-gradient(145deg, #fff, #fbf5fd); }
.membership-tier-card.is-current { border-color: #8b4498; box-shadow: 0 0 0 3px rgba(139, 68, 152, .12); }
.membership-tier-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.membership-tier-card header strong { color: var(--purple); font-size: 1.15rem; }
.membership-tier-card header span { color: var(--ink); font-size: .82rem; font-weight: 900; }
.membership-tier-card > p { margin: 8px 0 14px; color: #9b6d36; font-size: .8rem; font-weight: 800; }
.membership-tier-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.membership-tier-card li { position: relative; padding-left: 18px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.membership-tier-card li::before { position: absolute; left: 0; content: "✦"; color: #d59b29; }
.membership-order-list { display: grid; gap: 10px; }
.membership-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 16px; background: #fbf7fc; }
.membership-order-row div { display: grid; gap: 5px; min-width: 0; }
.membership-order-row strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.membership-order-row span, .membership-order-row em { color: var(--muted); font-size: .76rem; font-style: normal; }
.membership-order-row b { color: var(--purple); }
.membership-order-message { grid-column: 1 / -1; padding: 18px 20px; border-left: 3px solid #b787bf; border-radius: 0 12px 12px 0; background: #fff; }
.membership-order-message h3 { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin: 0 0 10px; color: var(--purple); font-size: .95rem; }
.membership-order-message small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.membership-order-message p { margin: 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.membership-wallet { background: linear-gradient(135deg, #fff, #fffbf2); }
.membership-wallet .membership-section-heading p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; font-weight: 500; }
.membership-coupon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.membership-coupon-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; overflow: hidden; min-height: 150px; padding: 20px; border: 1px solid rgba(184, 125, 47, .26); border-radius: 18px; background: linear-gradient(135deg, #fffaf0, #fff); }
.membership-coupon-card::before { position: absolute; top: -13px; bottom: -13px; left: 38%; border-left: 2px dashed rgba(184, 125, 47, .28); content: ""; }
.membership-coupon-value { position: relative; z-index: 1; display: grid; place-items: center; min-width: 112px; padding: 12px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #8b4498, #ca7a9f); font-size: 1.08rem; font-weight: 900; text-align: center; }
.membership-coupon-card h3 { margin: 0 0 7px; color: var(--ink); font-size: 1.05rem; }
.membership-coupon-card p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.membership-coupon-card span { display: block; margin-top: 11px; color: #8b4498; font-size: .76rem; font-weight: 800; }
.membership-coupon-card em { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; font-style: normal; text-align: right; }
.membership-coupon-card.is-redeemed, .membership-coupon-card.is-expired, .membership-coupon-card.is-revoked { filter: grayscale(.7); opacity: .66; }
.membership-empty { margin: 0; padding: 28px; border-radius: 16px; color: var(--muted); background: #fbf7fc; text-align: center; }
.membership-rule-note { margin: 24px 0 0; padding: 18px 20px; border-radius: 16px; color: #75587c; background: #fff9e9; font-size: .86rem; line-height: 1.7; }

@media (max-width: 860px) {
  .membership-nav-links > a:not(.button) { display: none; }
  .membership-hero-grid { grid-template-columns: 1fr; }
  .membership-tier-grid, .membership-rules { grid-template-columns: 1fr; }
  .membership-coupon-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .membership-hero { padding-top: 54px; }
  .membership-summary { grid-template-columns: 1fr; }
  .membership-summary article { min-height: 96px; padding: 14px; }
  .membership-summary strong { font-size: 1.2rem; }
  .membership-progress-card { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding: 24px 20px; text-align: center; }
  .membership-progress-card .spend-progress-details { width: 100%; justify-items: center; }
  .membership-progress-card .spend-tier-badge { justify-self: center; }
  .membership-progress-card .spend-next-tier { width: 100%; }
  .membership-login-notice, .membership-section-heading { align-items: flex-start; flex-direction: column; }
  .membership-order-row { grid-template-columns: 1fr auto; }
  .membership-order-row em { grid-column: 1 / -1; }
}

/* Delta Force：保留基地情報螢幕，以青綠戰術光與紫色霓虹延伸兔兔指揮室主視覺。 */
.delta-force-page {
  --tft-violet: #9d70db;
  --tft-gold: #58c7b5;
  --tft-ink: #193035;
  background: #f5f8f7;
}

.delta-force-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(80, 204, 183, .18), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(152, 83, 225, .22), transparent 32%),
    linear-gradient(135deg, #0c1518, #162c2d 52%, #171729);
}

.delta-force-hero::after { opacity: .19; }
.delta-force-page .tft-kicker { color: #83e0d0; }
.delta-force-page .tft-kicker i { border-radius: 10px; border-color: rgba(92, 219, 200, .64); color: #dcfff9; background: rgba(48, 175, 157, .16); }
.delta-force-page .tft-hero-copy h1 span { color: #86decc; }
.delta-force-page .tft-primary-action, .delta-force-page .tft-accent-action { color: #102424; border-color: #76dccc; background: linear-gradient(135deg, #8ce6d6, #49aaaf); box-shadow: 0 13px 34px rgba(45, 197, 177, .22); }
.delta-force-page .tft-primary-action:hover, .delta-force-page .tft-accent-action:hover { color: #0d2223; background: #b1f4e7; }
.delta-force-page .tft-secondary-action { border-color: rgba(162, 102, 225, .72); }
.delta-force-page .tft-secondary-action:hover { color: #d9b5ff; }
.delta-force-page .tft-hero-stats strong { color: #85dfcf; }

.delta-force-stage { border-color: rgba(83, 211, 190, .42); box-shadow: 0 42px 95px rgba(0,0,0,.54), 0 0 85px rgba(110, 84, 222, .24); }
.delta-force-stage img { object-position: 54% 50%; }
.delta-force-stage figcaption { border-color: rgba(83, 211, 190, .44); background: rgba(9, 26, 28, .86); color: #d8fffa; }

.delta-force-modes { background: radial-gradient(circle at 7% 18%, rgba(86, 202, 181, .13) 0 120px, transparent 121px), radial-gradient(circle at 94% 84%, rgba(156, 100, 220, .11) 0 160px, transparent 161px), #f5f8f7; }
.delta-force-page .tft-section-heading .section-kicker, .delta-force-page .tft-board .section-kicker { color: #397f76; }
.delta-force-page .tft-mode-ranked { border-color: rgba(87, 205, 187, .38); background: radial-gradient(circle at 100% 0, rgba(86, 204, 184, .24), transparent 39%), linear-gradient(145deg, #204547, #172333); }
.delta-force-page .tft-mode-card > span, .delta-force-page .tft-mode-card a { color: #398e82; }
.delta-force-page .tft-mode-ranked > span, .delta-force-page .tft-mode-ranked a { color: #8de7d5; }
.delta-force-page .tft-mode-card > i { color: #347f75; border-color: rgba(82, 193, 177, .25); background: #e2f6f1; }
.delta-force-page .tft-mode-ranked > i { color: #163033; border-color: rgba(122, 227, 209, .45); background: #75dccc; }

.delta-force-board { background: linear-gradient(100deg, rgba(9, 21, 24, .98), rgba(31, 53, 64, .94)), #14242a; }
.delta-force-page .tft-dark-action { border-color: rgba(120, 225, 208, .6); color: #92ead9; background: rgba(76, 200, 181, .08); }
.delta-force-page .tft-dark-action:hover { color: #112a2b; background: #9aebda; }
.delta-force-page .tft-board-cards article { border-color: rgba(116, 225, 207, .2); }
.delta-force-page .tft-board-cards article:hover { background: rgba(90, 210, 192, .1); }
.delta-force-page .tft-board-cards i { border-color: rgba(116, 225, 207, .42); color: #91ead9; }
.delta-force-page .tft-cta-card { border-color: rgba(83, 210, 190, .48); background: radial-gradient(circle at 92% 5%, rgba(113, 222, 204, .24), transparent 25%), linear-gradient(120deg, #102326, #35505a); }

@media (prefers-reduced-motion: reduce) {
  .spend-progress-value {
    transition: none;
  }
}

/* Overwatch：暖橘、紫色霓虹與深色遊戲室主題 */
.overwatch-page {
  --ow-orange: #ffae37;
  --ow-violet: #b55add;
  --ow-ink: #211d2a;
  background: #fbf8fb;
}

.overwatch-main { overflow: hidden; }

.overwatch-hero {
  position: relative;
  isolation: isolate;
  padding: 66px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 45%, rgba(181, 77, 222, 0.25), transparent 30%),
    radial-gradient(circle at 10% 4%, rgba(255, 174, 55, 0.18), transparent 25%),
    linear-gradient(115deg, #100d16, #211525 53%, #15101c);
}

.overwatch-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 193, 80, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(181, 90, 221, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.overwatch-hero-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(500px, 1.22fr); align-items: center; gap: 42px; }
.overwatch-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; color: rgba(255,255,255,.46); font-size: 11px; font-weight: 800; }
.overwatch-breadcrumb a:hover, .overwatch-breadcrumb a:first-child { color: var(--ow-orange); }
.overwatch-kicker { display: inline-flex; align-items: center; gap: 11px; color: #ffc457; font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.overwatch-kicker i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,174,55,.68); border-radius: 50%; color: #fff3d6; background: rgba(255,174,55,.12); font: 900 17px/1 Georgia, serif; letter-spacing: 0; }
.overwatch-hero-copy h1 { margin: 22px 0; color: #fff; font-size: clamp(46px, 5vw, 68px); line-height: 1.12; letter-spacing: -.055em; }
.overwatch-hero-copy h1 span { color: var(--ow-orange); }
.overwatch-hero-copy > p { max-width: 555px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.95; }
.overwatch-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.overwatch-primary-action, .overwatch-accent-action { display: inline-flex; align-items: center; gap: 20px; padding: 15px 21px; border: 1px solid var(--ow-orange); color: #2a1a22; background: linear-gradient(135deg, #ffc44f, #f07e35); box-shadow: 0 13px 34px rgba(255, 156, 50, .22); }
.overwatch-primary-action:hover, .overwatch-accent-action:hover { color: #2a1a22; background: #ffd161; transform: translateY(-2px); }
.overwatch-secondary-action { padding-bottom: 4px; border-bottom: 1px solid rgba(181,90,221,.56); color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.overwatch-secondary-action:hover { color: #df9dff; }
.overwatch-hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.overwatch-hero-stats span { display: grid; gap: 3px; }
.overwatch-hero-stats strong { color: #ffc457; font: 900 21px/1 Georgia, serif; }
.overwatch-hero-stats small { color: rgba(255,255,255,.47); font-size: 10px; }
.overwatch-stage { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,174,55,.35); border-radius: 28px; background: #09070c; box-shadow: 0 42px 95px rgba(0,0,0,.54), 0 0 85px rgba(181,77,222,.17); }
.overwatch-stage::before { content: ""; position: absolute; z-index: 2; inset: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; pointer-events: none; }
.overwatch-stage img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.overwatch-stage figcaption { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,174,55,.38); border-radius: 999px; color: #ffedc5; background: rgba(18,12,25,.86); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; }
.overwatch-stage figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #71e696; box-shadow: 0 0 0 4px rgba(113,230,150,.13), 0 0 12px rgba(113,230,150,.7); }

.overwatch-modes { position: relative; padding: 108px 0; background: radial-gradient(circle at 7% 18%, rgba(255,174,55,.14) 0 120px, transparent 121px), radial-gradient(circle at 94% 84%, rgba(181,90,221,.10) 0 160px, transparent 161px), #fbf8fb; }
.overwatch-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.overwatch-section-heading .section-kicker, .overwatch-roles .section-kicker { color: #c26428; }
.overwatch-section-heading h2, .overwatch-roles h2 { margin: 8px 0 0; color: var(--ow-ink); font-size: clamp(36px, 4vw, 50px); line-height: 1.2; letter-spacing: -.05em; }
.overwatch-section-heading p { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.overwatch-mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.overwatch-mode-card { position: relative; min-height: 315px; padding: 34px; overflow: hidden; border: 1px solid rgba(59,38,70,.13); border-radius: 24px; background: #fff; box-shadow: 0 24px 55px rgba(43,24,51,.08); transition: transform .25s ease, box-shadow .25s ease; }
.overwatch-mode-card:hover { transform: translateY(-7px); box-shadow: 0 30px 65px rgba(43,24,51,.14); }
.overwatch-mode-card::after { content: ""; position: absolute; right: -66px; bottom: -80px; width: 190px; height: 190px; border: 26px solid rgba(181,90,221,.07); border-radius: 50%; }
.overwatch-mode-ranked { color: #fff; border-color: rgba(255,174,55,.38); background: radial-gradient(circle at 100% 0, rgba(255,174,55,.22), transparent 39%), linear-gradient(145deg, #4d2b60, #1d172b); }
.overwatch-mode-card > span { color: #ba5dda; font: 900 11px/1 Georgia, serif; letter-spacing: .16em; }
.overwatch-mode-ranked > span { color: #ffc357; }
.overwatch-mode-card > i { display: grid; width: 54px; height: 54px; place-items: center; margin-top: 26px; border: 1px solid rgba(181,90,221,.2); border-radius: 18px; color: #9f4cc1; background: #f5eaf9; font-size: 23px; font-style: normal; }
.overwatch-mode-ranked > i { color: #362033; border-color: rgba(255,174,55,.4); background: var(--ow-orange); }
.overwatch-mode-card h3 { margin: 21px 0 10px; color: var(--ow-ink); font-size: 24px; }
.overwatch-mode-ranked h3 { color: #fff5da; }
.overwatch-mode-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.overwatch-mode-ranked p { color: rgba(255,255,255,.68); }
.overwatch-mode-card a { position: absolute; z-index: 2; bottom: 31px; left: 34px; display: flex; gap: 15px; color: #a548c0; font-size: 12px; font-weight: 900; }
.overwatch-mode-ranked a { color: #ffc55e; }

.overwatch-roles { padding: 112px 0; color: #fff; background: linear-gradient(100deg, rgba(13,10,19,.97), rgba(59,31,69,.91)), #1b1324; }
.overwatch-roles-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(520px,1.14fr); align-items: center; gap: 72px; }
.overwatch-roles h2 { color: #fff5df; }
.overwatch-roles p { max-width: 520px; margin: 22px 0 28px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.9; }
.overwatch-dark-action { display: inline-flex; align-items: center; gap: 20px; border: 1px solid rgba(255,174,55,.62); color: #ffd06a; background: rgba(255,174,55,.08); }
.overwatch-dark-action:hover { color: #2c1b21; background: #ffd06a; }
.overwatch-role-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.overwatch-role-cards article { display: grid; min-height: 192px; place-items: center; align-content: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,174,55,.2); border-radius: 20px; background: rgba(255,255,255,.045); text-align: center; transition: transform .2s ease, background .2s ease; }
.overwatch-role-cards article:hover { background: rgba(255,174,55,.1); transform: translateY(-5px); }
.overwatch-role-cards i { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,174,55,.42); border-radius: 50%; color: #ffc55e; font-size: 20px; font-style: normal; }
.overwatch-role-cards strong { color: #fff0d6; font-size: 17px; }
.overwatch-role-cards small { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.55; }
.overwatch-cta { padding: 86px 0 100px; background: #fbf8fb; }
.overwatch-cta-card { display: flex; min-height: 260px; align-items: center; justify-content: space-between; gap: 50px; padding: 50px 56px; border: 1px solid rgba(255,174,55,.42); border-radius: 28px; color: #fff; background: radial-gradient(circle at 92% 5%, rgba(255,174,55,.24), transparent 25%), linear-gradient(120deg, #211326, #65346f); box-shadow: 0 30px 65px rgba(44,22,54,.15); }
.overwatch-cta-card > div > span { color: #ffc65d; font: 900 10px/1 Georgia, serif; letter-spacing: .18em; }
.overwatch-cta-card h2 { margin: 12px 0 9px; color: #fff6e4; font-size: clamp(30px,4vw,44px); letter-spacing: -.04em; }
.overwatch-cta-card p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }

@media (max-width: 1020px) { .overwatch-hero-grid { grid-template-columns: minmax(0,.86fr) minmax(420px,1.14fr); } .overwatch-roles-grid { gap: 44px; } }
@media (max-width: 780px) { .overwatch-page .nav-menu { background: #fff; } .overwatch-hero { padding: 55px 0 66px; } .overwatch-hero-grid, .overwatch-roles-grid { grid-template-columns: 1fr; gap: 44px; } .overwatch-stage { width: min(100%,620px); } .overwatch-section-heading { align-items: start; flex-direction: column; gap: 15px; } .overwatch-mode-grid { grid-template-columns: 1fr; } .overwatch-mode-card { min-height: 0; } .overwatch-cta-card { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .overwatch-hero { padding-top: 42px; } .overwatch-hero-copy h1 { font-size: min(11.5vw,47px); } .overwatch-hero-copy > p { font-size: 14px; } .overwatch-hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; } .overwatch-hero-stats { gap: 22px; } .overwatch-stage { width: calc(100vw - 28px); max-width: 100%; } .overwatch-modes, .overwatch-roles { padding: 76px 0 80px; } .overwatch-section-heading h2, .overwatch-roles h2 { font-size: 34px; } .overwatch-mode-card { padding: 28px; } .overwatch-mode-card a { position: relative; bottom: auto; left: auto; margin-top: 22px; } .overwatch-role-cards { grid-template-columns: 1fr; } .overwatch-role-cards article { min-height: 135px; } .overwatch-cta { padding: 70px 0 80px; } .overwatch-cta-card { padding: 36px 26px; } }

/* 陪玩人員列表頁 */
.directory-main {
  background: #fcfafc;
}

.directory-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 68px;
  background:
    radial-gradient(circle at 82% 20%, rgba(214, 184, 221, 0.42) 0 115px, transparent 116px),
    radial-gradient(circle at 72% 105%, rgba(255, 223, 99, 0.35) 0 145px, transparent 146px),
    linear-gradient(135deg, #fffdf2 0%, #fbf5fc 55%, #f5eaf7 100%);
}

.directory-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(107, 52, 119, 0.23) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.directory-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: center;
  gap: 70px;
}

.directory-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 800;
}

.directory-breadcrumb span {
  color: #a89faa;
}

.directory-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.directory-hero h1 span {
  color: var(--purple-700);
}

.directory-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(107, 52, 119, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.directory-stat {
  padding: 20px 16px;
  border-radius: 16px;
  background: var(--white);
  text-align: center;
}

.directory-stat strong {
  display: block;
  color: var(--purple-800);
  font-size: 28px;
}

.directory-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.directory-section {
  padding: 70px 0 100px;
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.directory-search-wrap label {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 900;
}

.directory-search {
  margin: 0;
  border: 1px solid var(--border);
  box-shadow: none;
}

.directory-toolbar .filter-row {
  justify-content: flex-end;
  margin: 0;
}

.directory-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.directory-results-heading h2 {
  margin: 5px 0 0;
  font-size: 32px;
}

.directory-results-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.directory-grid {
  align-items: stretch;
}

.directory-grid .player-card,
.directory-grid .player-card:last-child {
  display: flex;
  width: auto;
  flex-direction: column;
  grid-column: auto;
}

.directory-grid .player-card.filtered-out {
  display: none;
}

.directory-grid .player-cover {
  min-height: 210px;
}

.directory-grid .avatar {
  width: 112px;
  height: 112px;
  font-size: 42px;
}

.directory-grid .player-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.directory-summary {
  min-height: 0 !important;
  margin-bottom: 14px !important;
}

.profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.profile-skills span {
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 10px;
  font-weight: 900;
}

.profile-intro {
  flex: 1;
  padding: 16px;
  border: 1px solid #eee8ef;
  border-radius: 13px;
  background: #fcfafc;
}

.profile-intro h4 {
  margin: 0 0 7px;
  color: var(--purple-900);
  font-size: 12px;
}

.profile-intro p {
  margin: 0;
  color: #716874;
  font-size: 12px;
  line-height: 1.75;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 17px;
}

.profile-facts span {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #faf7fa;
  color: var(--muted);
  font-size: 10px;
}

.profile-facts strong {
  color: var(--ink);
  font-size: 11px;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.profile-footer .button {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 12px;
}

.player-photo-cover {
  position: relative;
  min-height: 230px !important;
  padding: 0;
  background: #eee9eb;
}

.player-photo-cover::before,
.player-photo-cover::after {
  content: none;
}

.player-photo-cover img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.player-photo-cover img:focus-visible {
  outline: 4px solid var(--yellow-500);
  outline-offset: -4px;
}

.profile-player-card:hover .player-photo-cover img {
  transform: scale(1.025);
}

.player-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(24, 12, 28, 0.88);
  backdrop-filter: blur(10px);
}

.player-lightbox-dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
}

.player-lightbox figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
}

.player-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 18px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.player-lightbox figcaption {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.player-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--purple-950);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.player-lightbox-close:hover,
.player-lightbox-close:focus-visible {
  color: var(--white);
  background: var(--purple-700);
  outline: none;
}

@media (max-width: 640px) {
  .player-lightbox {
    padding: 16px;
  }

  .player-lightbox-dialog {
    max-height: calc(100vh - 32px);
  }

  .player-lightbox img {
    max-height: calc(100vh - 88px);
    border-radius: 12px;
  }

  .player-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

.status-pending {
  color: #655158;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.status-pending i {
  background: #bca4ac;
}

.price-pending {
  color: #8d7780 !important;
  font-size: 11px !important;
}

.profile-data-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8a7780;
  font-size: 10px;
  font-weight: 800;
}

.profile-data-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bba2aa;
  box-shadow: 0 0 0 4px rgba(187, 162, 170, 0.14);
}

.profile-player-card .profile-intro {
  min-height: 126px;
}

.cover-blue {
  background: linear-gradient(145deg, #c8d9f0, #7794bb);
}

.cover-mint {
  background: linear-gradient(145deg, #ccebdc, #83baa9);
}

.cover-rose {
  background: linear-gradient(145deg, #f5c7d7, #c783a4);
}

.avatar-haru {
  background: linear-gradient(145deg, #385477, #7896bd);
}

.avatar-aoi {
  background: linear-gradient(145deg, #376b61, #75aa96);
}

.avatar-rin {
  background: linear-gradient(145deg, #77405e, #bb6f92);
}

/* 關於我們頁 */
.about-main {
  overflow: hidden;
  background: #fffdfd;
}

.about-hero {
  position: relative;
  padding: 80px 0 88px;
  background:
    radial-gradient(circle at 88% 18%, rgba(214, 184, 221, 0.4) 0 160px, transparent 161px),
    radial-gradient(circle at 58% 110%, rgba(255, 223, 99, 0.34) 0 155px, transparent 156px),
    linear-gradient(135deg, #fffdf2 0%, #fbf5fc 56%, #f5eaf7 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(107, 52, 119, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.about-hero-copy h1 {
  margin: 13px 0 22px;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.about-hero-copy h1 span {
  color: var(--purple-700);
}

.about-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.about-established {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 15px;
  border: 1px solid rgba(107, 52, 119, 0.14);
  border-radius: 99px;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.about-established i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 0 0 5px rgba(255, 223, 99, 0.24);
}

.about-logo-card {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(107, 52, 119, 0.13);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 65px rgba(74, 40, 82, 0.14);
  backdrop-filter: blur(14px);
}

.about-logo-card::before,
.about-logo-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.about-logo-card::before {
  top: -95px;
  right: -70px;
  width: 240px;
  height: 240px;
  border: 45px solid rgba(214, 184, 221, 0.38);
}

.about-logo-card::after {
  bottom: -100px;
  left: -65px;
  width: 230px;
  height: 230px;
  background: rgba(255, 223, 99, 0.25);
}

.about-logo-card img {
  position: relative;
  z-index: 1;
  width: 410px;
  max-width: 90%;
}

.about-story {
  padding: 96px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 68px;
}

.about-story-heading {
  position: sticky;
  top: 115px;
  align-self: start;
}

.about-story-heading h2 {
  margin: 11px 0 18px;
  font-size: 42px;
  line-height: 1.24;
}

.about-story-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-story-card {
  position: relative;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.about-story-card::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 30px;
  color: var(--purple-100);
  font-family: Georgia, serif;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
}

.about-story-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #514755;
  font-size: 20px;
  font-weight: 600;
  line-height: 2.05;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-pillar {
  padding: 23px 20px;
  border-radius: 18px;
  background: #faf6fb;
}

.about-pillar-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 13px;
  color: var(--purple-900);
  background: var(--yellow-300);
  font-size: 18px;
  font-weight: 900;
}

.about-pillar h3 {
  margin: 0 0 8px;
  color: var(--purple-900);
  font-size: 16px;
}

.about-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.about-support {
  padding: 0 0 100px;
}

.about-support-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 54px 60px;
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 35%, rgba(255, 223, 99, 0.2) 0 115px, transparent 116px),
    linear-gradient(135deg, var(--purple-900), #773a82);
  box-shadow: 0 28px 65px rgba(74, 40, 82, 0.22);
}

.about-support-card h2 {
  margin: 8px 0 13px;
  font-size: 34px;
}

.about-support-card p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.about-support-card .button {
  min-width: 160px;
}

.nav-dropdown-item[aria-current="page"] {
  color: var(--purple-800);
  background: var(--purple-100);
}

@media (max-width: 980px) {
  .nav-menu {
    margin-left: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .logo-stage {
    top: 18px;
    height: 360px;
  }

  .logo-stage img {
    top: -61px;
    width: 490px;
  }

  .player-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-hero-grid {
    grid-template-columns: 1fr 310px;
    gap: 35px;
  }

  .directory-toolbar {
    grid-template-columns: 1fr;
  }

  .directory-toolbar .filter-row {
    justify-content: flex-start;
  }

  .about-hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 38px;
  }

  .about-logo-card {
    min-height: 360px;
  }

  .about-story-grid {
    gap: 38px;
  }

  .player-card:last-child {
    grid-column: span 2;
    width: calc(50% - 12px);
    justify-self: center;
  }

  .game-grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open,
  .nav-links,
  .nav-actions {
    display: grid;
  }

  .nav-links,
  .nav-actions {
    gap: 5px;
  }

  .nav-actions {
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .nav-link {
    padding: 11px 12px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 2px 0 7px;
    padding: 6px;
    border-radius: 12px;
    visibility: visible;
    opacity: 1;
    background: #fbf8fc;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
  }

  .nav-game-dropdown-menu {
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    padding-block: 64px 50px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-visual {
    width: min(100%, 560px);
    min-height: 460px;
  }

  .logo-stage {
    right: 50%;
    width: 460px;
    max-width: 90%;
    transform: translateX(50%);
  }

  .floating-online {
    left: 4%;
  }

  .floating-rating {
    right: 4%;
  }

  .section,
  .cta-section {
    padding-block: 76px;
  }

  .cta-card {
    min-height: 520px;
    grid-template-columns: 1fr;
  }

  .cta-copy {
    padding: 50px 42px 250px;
    text-align: center;
  }

  .cta-mascot {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 260px;
  }

  .cta-mascot img {
    top: -50px;
    width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .directory-hero {
    padding: 54px 0;
  }

  .directory-hero-grid {
    grid-template-columns: 1fr;
  }

  .directory-stats {
    max-width: 440px;
  }

  .directory-section {
    padding: 54px 0 76px;
  }

  .directory-toolbar {
    padding: 17px;
  }

  .about-hero {
    padding: 58px 0 70px;
  }

  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-logo-card {
    width: min(100%, 540px);
    min-height: 390px;
  }

  .about-story {
    padding: 74px 0;
  }

  .about-story-heading {
    position: static;
  }

  .about-support-card {
    grid-template-columns: 1fr;
    padding: 46px;
  }

  .about-support-card .button {
    width: max-content;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    top: -23px;
    left: -40px;
    width: 160px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .nav-menu {
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 38px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-search {
    min-height: 58px;
    flex-wrap: wrap;
    padding: 8px 8px 8px 17px;
  }

  .hero-search .button {
    min-height: 44px;
    padding-inline: 16px;
  }

  .hero-trust {
    gap: 12px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .logo-stage {
    height: 310px;
  }

  .logo-stage img {
    top: -46px;
    width: 410px;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-online {
    bottom: 6px;
  }

  .floating-rating {
    right: 1%;
    bottom: 24px;
  }

  .heading-row {
    display: block;
  }

  .heading-row .text-link {
    margin-top: 16px;
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 31px;
  }

  .player-grid {
    grid-template-columns: 1fr;
  }

  .game-carousel {
    margin-inline: 0;
  }

  .game-grid {
    grid-auto-columns: min(82vw, 310px);
    gap: 14px;
    margin-inline: 0;
    padding-inline: 2px 12vw;
    scroll-padding-inline: 2px;
  }

  .game-carousel-control {
    display: none;
  }

  .game-carousel-footer {
    justify-content: center;
  }

  .directory-hero h1 {
    font-size: 36px;
  }

  .directory-stats {
    padding: 10px;
  }

  .directory-stat {
    padding: 15px 10px;
  }

  .directory-results-heading {
    display: block;
  }

  .directory-results-heading p {
    margin-top: 9px;
  }

  .about-hero-copy h1 {
    font-size: 39px;
  }

  .about-hero-copy > p {
    font-size: 15px;
  }

  .about-logo-card {
    width: calc(100vw - 28px);
    max-width: 100%;
    min-height: 310px;
  }

  .about-logo-card img {
    width: 330px;
    max-width: 84%;
  }

  .about-story-heading h2 {
    font-size: 34px;
  }

  .about-story-card {
    padding: 30px 24px;
  }

  .about-story-card > p {
    font-size: 17px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-support {
    padding-bottom: 76px;
  }

  .about-support-card {
    padding: 36px 25px;
  }

  .about-support-card h2 {
    font-size: 29px;
  }

  .player-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .game-card {
    min-height: 220px;
  }

  .cta-copy {
    padding: 45px 24px 235px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-block: 18px;
    text-align: center;
  }

  .footer-bottom p {
    margin: 0;
  }

  .auth-modal {
    padding: 30px 20px;
  }
}

/* 米胡故事檔案館主題 */
.about-page {
  --archive-ink: #24160f;
  --archive-brown: #4a2c1b;
  --archive-copper: #95643d;
  --archive-gold: #c89a5d;
  --archive-paper: #f4e6cd;
  --archive-paper-light: #fff8e9;
  background: var(--archive-ink);
}

.about-page .site-header {
  border-color: rgba(94, 55, 29, 0.16);
  background: #ffffff;
}

.about-page .site-header.scrolled {
  background: #ffffff;
}

.about-page .nav-link:hover,
.about-page .nav-link.active {
  color: var(--archive-brown);
}

.about-page .nav-link::after {
  background: var(--archive-gold);
}

.about-page .nav-dropdown-menu {
  border-color: rgba(91, 53, 29, 0.2);
  background: rgba(255, 249, 237, 0.99);
  box-shadow: 0 18px 45px rgba(38, 20, 10, 0.18);
}

.about-main {
  color: var(--archive-ink);
  background: var(--archive-paper);
}

.about-hero {
  min-height: 680px;
  padding: 86px 0 92px;
  color: var(--archive-paper-light);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(18, 12, 8, 0.87) 43%, rgba(0, 0, 0, 0.98) 100%),
    #050403;
}

.about-hero::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(200, 154, 93, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 154, 93, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(200, 154, 93, 0.21);
  pointer-events: none;
}

.about-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  gap: 42px;
}

.about-hero-grid > * {
  min-width: 0;
}

.about-page .about-hero .directory-breadcrumb,
.about-page .about-hero .directory-breadcrumb a {
  color: #d9b77e;
}

.about-page .about-hero .directory-breadcrumb span {
  color: rgba(244, 230, 205, 0.54);
}

.about-page .section-kicker {
  color: var(--archive-copper);
}

.about-hero .section-kicker {
  color: #d8ae72;
}

.about-hero-copy h1 {
  margin: 16px 0 26px;
  color: var(--archive-paper-light);
  font-family: Georgia, "Noto Serif TC", "Microsoft JhengHei UI", serif;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.about-title-line {
  color: var(--archive-paper-light) !important;
  white-space: nowrap;
}

.about-hero-copy h1 span {
  color: #d8ae72;
}

.about-hero-copy > p {
  color: rgba(244, 230, 205, 0.76);
  font-size: 16px;
}

.about-established {
  border-color: rgba(216, 174, 114, 0.45);
  border-radius: 4px;
  color: #e2c18c;
  background: rgba(82, 48, 26, 0.38);
  letter-spacing: 0.05em;
}

.about-established i {
  border-radius: 1px;
  background: var(--archive-gold);
  box-shadow: 0 0 0 4px rgba(200, 154, 93, 0.15);
  transform: rotate(45deg);
}

.about-logo-card {
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(216, 174, 114, 0.48);
  border-radius: 4px;
  background: #000;
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.46),
    inset 0 0 0 7px #090604,
    inset 0 0 0 8px rgba(216, 174, 114, 0.34);
  backdrop-filter: none;
}

.about-logo-card::before {
  z-index: 2;
  top: 11px;
  right: 11px;
  width: 72px;
  height: 72px;
  border: 0;
  border-top: 2px solid var(--archive-gold);
  border-right: 2px solid var(--archive-gold);
  border-radius: 0;
}

.about-logo-card::after {
  z-index: 2;
  bottom: 11px;
  left: 11px;
  width: 72px;
  height: 72px;
  border-bottom: 2px solid var(--archive-gold);
  border-left: 2px solid var(--archive-gold);
  border-radius: 0;
  background: transparent;
}

.about-logo-card img {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(216, 174, 114, 0.18);
}

.about-archive-label {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 28px;
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 174, 114, 0.5);
  color: #d8ae72;
  background: rgba(10, 7, 5, 0.86);
  font-family: Georgia, serif;
  text-align: right;
  letter-spacing: 0.12em;
}

.about-archive-label span {
  font-size: 9px;
}

.about-archive-label strong {
  font-size: 14px;
}

.about-story {
  position: relative;
  padding: 108px 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(116, 73, 37, 0.09) 0 1px, transparent 1.5px) 0 0 / 15px 15px,
    linear-gradient(100deg, #efe0c4 0%, #fff8e9 48%, #ead6b6 100%);
}

.about-story::before,
.about-story::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 10px;
  opacity: 0.32;
  background: repeating-linear-gradient(90deg, var(--archive-brown) 0 24px, transparent 24px 35px);
}

.about-story::before {
  top: 0;
}

.about-story::after {
  bottom: 0;
}

.about-story-heading h2 {
  color: var(--archive-brown);
  font-family: Georgia, "Noto Serif TC", "Microsoft JhengHei UI", serif;
  font-size: 46px;
}

.about-story-heading p {
  color: #6f5542;
}

.about-story-card {
  padding: 54px 52px 48px;
  border: 1px solid rgba(102, 60, 29, 0.33);
  border-radius: 3px;
  background:
    linear-gradient(rgba(255, 250, 235, 0.85), rgba(245, 226, 193, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(87, 52, 27, 0.06) 31px 32px);
  box-shadow:
    12px 14px 0 rgba(78, 45, 23, 0.11),
    0 24px 55px rgba(65, 37, 19, 0.15),
    inset 0 0 45px rgba(131, 87, 49, 0.08);
}

.about-story-card::before {
  top: 3px;
  right: 23px;
  color: rgba(111, 73, 40, 0.11);
  font-size: 145px;
}

.about-story-date {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 19px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--archive-copper);
  color: var(--archive-copper);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.about-story-card > p {
  color: #493120;
  font-family: "Noto Serif TC", "Microsoft JhengHei UI", serif;
  font-size: 20px;
}

.about-pillar {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 61, 31, 0.22);
  border-radius: 3px;
  background: rgba(255, 248, 232, 0.64);
  box-shadow: 0 10px 25px rgba(65, 37, 19, 0.08);
}

.about-chapter-number {
  position: absolute;
  top: 13px;
  right: 16px;
  color: rgba(111, 73, 40, 0.2);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 900;
}

.about-pillar-icon {
  border: 1px solid rgba(91, 54, 28, 0.32);
  border-radius: 50%;
  color: #fff3d6;
  background: var(--archive-brown);
}

.about-pillar h3 {
  color: var(--archive-brown);
  font-family: Georgia, "Noto Serif TC", "Microsoft JhengHei UI", serif;
}

.about-pillar p {
  color: #705743;
}

.about-support {
  padding: 84px 0 100px;
  background: #18100b;
}

.about-support-card {
  border: 1px solid rgba(216, 174, 114, 0.44);
  border-radius: 3px;
  color: var(--archive-paper-light);
  background:
    linear-gradient(90deg, rgba(21, 13, 8, 0.94), rgba(74, 44, 27, 0.92)),
    #24160f;
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.3),
    inset 0 0 0 7px #18100b,
    inset 0 0 0 8px rgba(216, 174, 114, 0.25);
}

.about-support-card h2 {
  font-family: Georgia, "Noto Serif TC", "Microsoft JhengHei UI", serif;
}

.about-support-card p {
  color: rgba(244, 230, 205, 0.72);
}

.about-page .button-light {
  border-color: #d7ae72;
  color: #24160f;
  background: #d7ae72;
}

.about-page .site-footer {
  border-color: rgba(216, 174, 114, 0.18);
  background: #110c09;
}

.about-page .site-footer,
.about-page .site-footer .brand-copy strong,
.about-page .site-footer .footer-links strong {
  color: var(--archive-paper-light);
}

.about-page .site-footer .brand-copy small,
.about-page .site-footer .footer-brand p,
.about-page .site-footer .footer-links a,
.about-page .site-footer .footer-links button,
.about-page .site-footer .footer-bottom {
  color: rgba(244, 230, 205, 0.62);
}

@media (max-width: 980px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  }

  .about-logo-card {
    min-height: 440px;
  }
}

@media (max-width: 780px) {
  .about-page .nav-menu {
    background: #ffffff;
  }

  .about-hero {
    min-height: 0;
    padding: 62px 0 72px;
  }

  .about-hero::after {
    inset: 12px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-hero-copy,
  .about-logo-card {
    max-width: 100%;
  }

  .about-hero-copy > p {
    overflow-wrap: anywhere;
  }

  .about-logo-card {
    width: min(100%, 560px);
    min-height: 0;
  }

  .about-story {
    padding: 78px 0;
  }

  .about-support {
    padding: 68px 0 78px;
  }
}

@media (max-width: 620px) {
  .about-hero-copy h1 {
    font-size: min(10.5vw, 42px);
  }

  .about-logo-card {
    width: calc(100vw - 28px);
    max-width: 100%;
    padding: 10px;
  }

  .about-logo-card img {
    width: 100%;
    max-width: 100%;
  }

  .about-archive-label {
    right: 20px;
    bottom: 18px;
  }

  .about-story-heading h2 {
    font-size: 37px;
  }

  .about-story-card {
    padding: 38px 25px 33px;
  }

  .about-story-card > p {
    font-size: 17px;
    line-height: 2;
  }

  .about-support-card {
    padding: 40px 26px;
  }
}

/* 聯絡我們：紫色線上客服中心 */
.contact-page {
  --contact-purple: #754183;
  --contact-purple-dark: #3d2048;
  --contact-lilac: #b982c6;
  --contact-yellow: #ffdf64;
  --contact-ink: #2f2433;
  background: #fbf8fc;
}

.contact-main {
  overflow: hidden;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  min-height: 710px;
  padding: 68px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 48%, rgba(152, 85, 172, 0.24), transparent 29%),
    radial-gradient(circle at 18% 16%, rgba(255, 222, 101, 0.11), transparent 23%),
    linear-gradient(108deg, #0a070b 0%, #130b16 48%, #030203 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(255, 255, 255, 0.34) 0.8px, transparent 0.8px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.contact-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(185, 130, 198, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(185, 130, 198, 0.045),
    0 0 0 130px rgba(255, 223, 100, 0.025);
}

.contact-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
  align-items: center;
  gap: 32px;
}

.contact-breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.contact-breadcrumb a {
  color: var(--contact-yellow);
}

.contact-presence {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(185, 130, 198, 0.34);
  border-radius: 999px;
  color: #dcb8e5;
  background: rgba(117, 65, 131, 0.2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.contact-presence i,
.contact-form-status i,
.contact-mascot-stage figcaption i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63e39d;
  box-shadow: 0 0 0 4px rgba(99, 227, 157, 0.12), 0 0 12px rgba(99, 227, 157, 0.7);
}

.contact-hero-copy h1 {
  margin: 22px 0 22px;
  color: #fff9ef;
  font-size: clamp(48px, 5.3vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.contact-hero-copy h1 span {
  color: var(--contact-yellow);
}

.contact-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.95;
}

.contact-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.contact-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  border: 1px solid var(--contact-yellow);
  color: #392341;
  background: var(--contact-yellow);
  box-shadow: 0 12px 34px rgba(255, 223, 100, 0.14);
}

.contact-primary-action:hover {
  color: #392341;
  background: #ffe985;
  transform: translateY(-2px);
}

.contact-mail-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.contact-mail-link:hover {
  color: var(--contact-yellow);
  border-color: var(--contact-yellow);
}

.contact-service-notes {
  display: flex;
  max-width: 570px;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.contact-service-notes span {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.contact-service-notes strong {
  color: #d9a9e3;
  font-size: 16px;
}

.contact-mascot-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(185, 130, 198, 0.28);
  background: #000;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.48),
    0 0 80px rgba(117, 65, 131, 0.16),
    inset 0 0 0 9px rgba(255, 255, 255, 0.015);
}

.contact-mascot-stage::before,
.contact-mascot-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 82px;
  height: 82px;
  pointer-events: none;
}

.contact-mascot-stage::before {
  top: 13px;
  left: 13px;
  border-top: 2px solid var(--contact-yellow);
  border-left: 2px solid var(--contact-yellow);
}

.contact-mascot-stage::after {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid var(--contact-lilac);
  border-bottom: 2px solid var(--contact-lilac);
}

.contact-mascot-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.contact-stage-label {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 27px;
  color: var(--contact-yellow);
  font: 900 10px/1 Georgia, serif;
  letter-spacing: 0.2em;
}

.contact-mascot-stage figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(185, 130, 198, 0.38);
  border-radius: 999px;
  color: #f7eafb;
  background: rgba(26, 11, 29, 0.82);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
}

.contact-center {
  position: relative;
  padding: 104px 0 110px;
  background:
    radial-gradient(circle at 9% 24%, rgba(255, 223, 100, 0.18) 0 110px, transparent 111px),
    radial-gradient(circle at 92% 75%, rgba(185, 130, 198, 0.15) 0 150px, transparent 151px),
    #fbf8fc;
}

.contact-center::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(117, 65, 131, 0.2) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  pointer-events: none;
}

.contact-center .shell {
  position: relative;
}

.contact-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.contact-section-heading h2,
.contact-steps-heading h2 {
  margin: 8px 0 0;
  color: var(--contact-ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.contact-section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-center-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-card {
  border: 1px solid rgba(105, 54, 117, 0.12);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(68, 35, 75, 0.09);
}

.contact-info-panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 223, 100, 0.2), transparent 34%),
    linear-gradient(145deg, #7d4b8b, #4d2859 64%, #32183c);
}

.contact-info-panel::after {
  content: "?";
  position: absolute;
  right: -10px;
  bottom: -58px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 260px;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.contact-info-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  color: var(--contact-purple-dark);
  background: var(--contact-yellow);
  font-size: 26px;
}

.contact-info-heading span,
.contact-form-title > div > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.contact-info-heading h3,
.contact-form-title h3 {
  margin: 3px 0 0;
  font-size: 24px;
}

.contact-info-panel > p {
  position: relative;
  z-index: 1;
  margin: 26px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.9;
}

.contact-channel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.contact-channel:hover {
  border-color: rgba(255, 223, 100, 0.48);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.contact-channel-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: var(--contact-purple-dark);
  background: #fff7d2;
  font-size: 19px;
}

.contact-channel > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.contact-channel small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.contact-channel strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.contact-channel b {
  margin-left: auto;
  color: var(--contact-yellow);
}

.contact-topics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.contact-topics span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(27, 10, 32, 0.16);
  font-size: 10px;
  font-weight: 700;
}

.contact-info-panel .contact-privacy-note {
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.contact-form-card {
  padding: 38px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
}

.discord-contact-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.discord-contact-card .contact-form-title h3 {
  font-size: 22px;
}

.discord-contact-content {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 42px 24px 54px;
  text-align: center;
}

.discord-contact-mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, #7d4d8c, #54295f);
  box-shadow: 0 18px 35px rgba(84, 41, 95, 0.22);
  font-size: 36px;
  font-weight: 900;
}

.discord-contact-content p {
  max-width: 480px;
  margin: 0;
  color: #6f6273;
  line-height: 1.8;
}

.discord-contact-content .contact-submit {
  width: min(100%, 460px);
  text-decoration: none;
}

.discord-contact-content small {
  color: #9a8e9d;
  font-size: 11px;
}

.contact-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}

.contact-form-title > div > span {
  color: var(--contact-purple);
}

.contact-form-title h3 {
  color: var(--contact-ink);
}

.contact-form-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #35744e;
  background: #e8f8ee;
  font-size: 10px;
  font-weight: 900;
}

.contact-form-status i {
  width: 7px;
  height: 7px;
}

.contact-form,
.contact-field {
  display: grid;
}

.contact-form {
  gap: 20px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field {
  position: relative;
  gap: 8px;
}

.contact-field label {
  color: var(--contact-ink);
  font-size: 12px;
  font-weight: 850;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #e6dce9;
  border-radius: 13px;
  outline: none;
  color: var(--contact-ink);
  background: #fcfafc;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input,
.contact-field select {
  min-height: 49px;
  padding: 0 14px;
}

.contact-field textarea {
  min-height: 156px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--contact-lilac);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185, 130, 198, 0.13);
}

.contact-field > small {
  position: absolute;
  right: 11px;
  bottom: 10px;
  padding: 3px 5px;
  color: #a69aa8;
  background: rgba(252, 250, 252, 0.9);
  font-size: 9px;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #766c79;
  font-size: 11px;
  line-height: 1.7;
}

.contact-consent input {
  margin-top: 3px;
  accent-color: var(--contact-purple);
}

.contact-submit {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--contact-purple);
  color: #fff;
  background: linear-gradient(135deg, #865294, #653473);
  box-shadow: 0 14px 28px rgba(101, 52, 115, 0.18);
}

.contact-submit:hover {
  background: linear-gradient(135deg, #754183, #54295f);
  transform: translateY(-2px);
}

.contact-form-hint {
  margin: -8px 0 0;
  color: #a095a2;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

.contact-steps {
  padding: 90px 0 105px;
  background: #fff;
}

.contact-steps-heading {
  max-width: 730px;
  margin-bottom: 40px;
}

.contact-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-step-grid article {
  position: relative;
  min-height: 180px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #eee4f0;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #fcf7fd);
}

.contact-step-grid article::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(185, 130, 198, 0.08);
  border-radius: 50%;
}

.contact-step-grid article > span {
  color: var(--contact-purple);
  font: 900 11px/1 Georgia, serif;
  letter-spacing: 0.16em;
}

.contact-step-grid h3 {
  margin: 25px 0 8px;
  color: var(--contact-ink);
  font-size: 20px;
}

.contact-step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .contact-hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  }

  .contact-info-panel,
  .contact-form-card {
    padding: 30px;
  }
}

@media (max-width: 780px) {
  .contact-page .nav-menu {
    background: #fff;
  }

  .contact-hero {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-hero-copy {
    max-width: 620px;
  }

  .contact-mascot-stage {
    width: min(100%, 620px);
  }

  .contact-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .contact-center-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding-top: 42px;
  }

  .contact-hero-copy h1 {
    font-size: min(12vw, 48px);
  }

  .contact-hero-copy > p {
    font-size: 14px;
  }

  .contact-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .contact-service-notes {
    gap: 15px;
  }

  .contact-service-notes span {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .contact-mascot-stage {
    width: calc(100vw - 28px);
    max-width: 100%;
  }

  .contact-stage-label {
    top: 18px;
    right: 19px;
  }

  .contact-mascot-stage figcaption {
    right: 16px;
    bottom: 16px;
  }

  .contact-center {
    padding: 75px 0 80px;
  }

  .contact-section-heading h2,
  .contact-steps-heading h2 {
    font-size: 34px;
  }

  .contact-info-panel,
  .contact-form-card {
    padding: 25px 21px;
    border-radius: 22px;
  }

  .contact-form-title {
    align-items: flex-start;
  }

  .contact-field-row {
    grid-template-columns: 1fr;
  }

  .contact-steps {
    padding: 70px 0 80px;
  }

  .contact-step-grid {
    grid-template-columns: 1fr;
  }

  .contact-step-grid article {
    min-height: 150px;
  }
}

/* 英雄聯盟：深紫與金色峽谷主題 */
.lol-page {
  --lol-ink: #21162a;
  --lol-purple: #442657;
  --lol-purple-deep: #120a19;
  --lol-purple-light: #9362ae;
  --lol-gold: #d6ad55;
  --lol-gold-bright: #f4cf70;
  --lol-cream: #fbf1d8;
  background: #f9f5ec;
}

.lol-main {
  overflow: hidden;
}

.lol-hero {
  position: relative;
  isolation: isolate;
  min-height: 730px;
  padding: 66px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 45%, rgba(126, 67, 158, 0.28), transparent 31%),
    radial-gradient(circle at 17% 9%, rgba(214, 173, 85, 0.12), transparent 24%),
    linear-gradient(110deg, #0b0710 0%, #1b0f25 49%, #060409 100%);
}

.lol-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(214, 173, 85, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 173, 85, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 66%);
}

.lol-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -150px;
  bottom: -205px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(214, 173, 85, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(123, 68, 148, 0.045),
    0 0 0 150px rgba(214, 173, 85, 0.025);
}

.lol-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1.26fr);
  align-items: center;
  gap: 34px;
}

.lol-hero-grid > * {
  min-width: 0;
}

.lol-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 800;
}

.lol-breadcrumb a:first-child,
.lol-breadcrumb a:hover {
  color: var(--lol-gold-bright);
}

.lol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9b96e;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.lol-kicker i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(214, 173, 85, 0.58);
  border-radius: 50%;
  color: var(--lol-gold-bright);
  background: rgba(214, 173, 85, 0.1);
  font: 900 19px/1 Georgia, serif;
  letter-spacing: 0;
}

.lol-hero-copy h1 {
  margin: 22px 0 22px;
  color: #fff9e9;
  font-size: clamp(48px, 5.1vw, 70px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.lol-hero-copy h1 span {
  color: var(--lol-gold-bright);
}

.lol-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.95;
}

.lol-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.lol-primary-action,
.lol-gold-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  border: 1px solid var(--lol-gold-bright);
  color: #24172e;
  background: linear-gradient(135deg, #f8db87, #d7ad54);
  box-shadow: 0 13px 34px rgba(214, 173, 85, 0.16);
}

.lol-primary-action:hover,
.lol-gold-action:hover {
  color: #24172e;
  background: #f8dc8e;
  transform: translateY(-2px);
}

.lol-secondary-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(214, 173, 85, 0.38);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.lol-secondary-action:hover {
  color: var(--lol-gold-bright);
}

.lol-hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
}

.lol-hero-stats span {
  display: grid;
  gap: 3px;
}

.lol-hero-stats strong {
  color: #d8b267;
  font-family: Georgia, serif;
  font-size: 21px;
}

.lol-hero-stats small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.lol-mascot-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(214, 173, 85, 0.34);
  background: #000;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(109, 51, 140, 0.15),
    inset 0 0 0 9px rgba(255, 255, 255, 0.012);
}

.lol-mascot-stage::before,
.lol-mascot-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 86px;
  pointer-events: none;
}

.lol-mascot-stage::before {
  top: 13px;
  left: 13px;
  border-top: 2px solid var(--lol-gold-bright);
  border-left: 2px solid var(--lol-gold-bright);
}

.lol-mascot-stage::after {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid #9763b1;
  border-bottom: 2px solid #9763b1;
}

.lol-mascot-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lol-stage-badge {
  position: absolute;
  z-index: 3;
  top: 25px;
  right: 27px;
  color: var(--lol-gold-bright);
  font: 900 10px/1 Georgia, serif;
  letter-spacing: 0.18em;
}

.lol-mascot-stage figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 173, 85, 0.34);
  border-radius: 999px;
  color: #f8e9bd;
  background: rgba(22, 10, 30, 0.84);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
}

.lol-mascot-stage figcaption i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63e39d;
  box-shadow: 0 0 0 4px rgba(99, 227, 157, 0.12), 0 0 12px rgba(99, 227, 157, 0.7);
}

.lol-modes {
  position: relative;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 8% 22%, rgba(214, 173, 85, 0.16) 0 125px, transparent 126px),
    radial-gradient(circle at 94% 82%, rgba(95, 51, 117, 0.11) 0 155px, transparent 156px),
    #fbf7ee;
}

.lol-modes::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(69, 35, 84, 0.2) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  pointer-events: none;
}

.lol-modes .shell {
  position: relative;
}

.lol-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.lol-section-heading h2,
.lol-lanes-copy h2 {
  margin: 8px 0 0;
  color: var(--lol-ink);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.lol-section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.lol-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lol-mode-card {
  position: relative;
  min-height: 315px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(72, 38, 87, 0.13);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 55px rgba(53, 28, 65, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lol-mode-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(53, 28, 65, 0.14);
}

.lol-mode-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 27px solid rgba(111, 59, 132, 0.07);
  border-radius: 50%;
}

.lol-mode-card.lol-mode-ranked {
  color: #fff;
  border-color: rgba(214, 173, 85, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 173, 85, 0.2), transparent 38%),
    linear-gradient(145deg, #533065, #271631);
}

.lol-mode-number {
  color: var(--lol-gold);
  font: 900 11px/1 Georgia, serif;
  letter-spacing: 0.16em;
}

.lol-mode-card > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-top: 26px;
  border: 1px solid rgba(113, 62, 135, 0.16);
  border-radius: 18px;
  color: var(--lol-purple);
  background: #f4e9f7;
  font-size: 23px;
  font-style: normal;
}

.lol-mode-ranked > i {
  border-color: rgba(214, 173, 85, 0.4);
  color: #2c1836;
  background: var(--lol-gold-bright);
}

.lol-mode-card h3 {
  margin: 21px 0 10px;
  color: var(--lol-ink);
  font-size: 24px;
}

.lol-mode-ranked h3 {
  color: #fff7df;
}

.lol-mode-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.lol-mode-ranked p {
  color: rgba(255, 255, 255, 0.68);
}

.lol-mode-card a {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--lol-purple);
  font-size: 12px;
  font-weight: 900;
}

.lol-mode-ranked a {
  color: var(--lol-gold-bright);
}

.lol-lanes {
  padding: 110px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 7, 18, 0.96), rgba(49, 25, 61, 0.91)),
    var(--lol-purple-deep);
}

.lol-lanes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: 75px;
}

.lol-lanes .section-kicker {
  color: var(--lol-gold);
}

.lol-lanes-copy h2 {
  color: #fff8e8;
}

.lol-lanes-copy > p {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.9;
}

.lol-dark-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(214, 173, 85, 0.58);
  color: var(--lol-gold-bright);
  background: rgba(214, 173, 85, 0.08);
}

.lol-dark-action:hover {
  color: #24172e;
  background: var(--lol-gold-bright);
}

.lol-role-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.lol-role-grid span {
  display: grid;
  min-width: 0;
  min-height: 170px;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lol-role-grid span:hover {
  border-color: rgba(214, 173, 85, 0.54);
  background: rgba(214, 173, 85, 0.08);
  transform: translateY(-5px);
}

.lol-role-grid i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(214, 173, 85, 0.34);
  border-radius: 50%;
  color: var(--lol-gold-bright);
  font: 900 10px/1 Georgia, serif;
  letter-spacing: 0.08em;
}

.lol-role-grid strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.lol-cta {
  padding: 86px 0 100px;
  background: #f9f3e7;
}

.lol-cta-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 56px;
  border: 1px solid rgba(214, 173, 85, 0.38);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 5%, rgba(214, 173, 85, 0.19), transparent 25%),
    linear-gradient(120deg, #1c1024, #4a285b);
  box-shadow: 0 30px 65px rgba(44, 22, 54, 0.15);
}

.lol-cta-card > div > span {
  color: var(--lol-gold);
  font: 900 10px/1 Georgia, serif;
  letter-spacing: 0.18em;
}

.lol-cta-card h2 {
  margin: 12px 0 9px;
  color: #fff8e8;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.lol-cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.lol-page .site-footer {
  background: #fffdf9;
}

@media (max-width: 1020px) {
  .lol-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  }

  .lol-lanes-grid {
    gap: 44px;
  }

  .lol-role-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .lol-page .nav-menu {
    background: #fff;
  }

  .lol-hero {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .lol-hero-grid,
  .lol-lanes-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lol-hero-copy {
    max-width: 620px;
  }

  .lol-mascot-stage {
    width: min(100%, 620px);
  }

  .lol-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .lol-mode-grid {
    grid-template-columns: 1fr;
  }

  .lol-mode-card {
    min-height: 0;
  }

  .lol-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .lol-hero {
    padding-top: 42px;
  }

  .lol-hero-copy h1 {
    font-size: min(11.5vw, 47px);
  }

  .lol-hero-copy > p {
    font-size: 14px;
  }

  .lol-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .lol-hero-stats {
    gap: 22px;
  }

  .lol-mascot-stage {
    width: calc(100vw - 28px);
    max-width: 100%;
  }

  .lol-stage-badge {
    top: 18px;
    right: 19px;
  }

  .lol-mascot-stage figcaption {
    right: 16px;
    bottom: 16px;
  }

  .lol-modes,
  .lol-lanes {
    padding: 75px 0 80px;
  }

  .lol-section-heading h2,
  .lol-lanes-copy h2 {
    font-size: 34px;
  }

  .lol-mode-card {
    padding: 28px;
  }

  .lol-mode-card a {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 22px;
  }

  .lol-role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lol-role-grid span {
    min-height: 140px;
  }

  .lol-cta {
    padding: 70px 0 80px;
  }

  .lol-cta-card {
    padding: 36px 26px;
  }
}

/* 特戰英豪：黑紫戰術與霓虹紅主題 */
.valorant-page {
  --val-ink: #181724;
  --val-night: #0d0c16;
  --val-panel: #252036;
  --val-red: #ff5263;
  --val-red-deep: #d83e51;
  --val-violet: #9d57d7;
  --val-gold: #f0ca61;
  background: #f7f5f8;
}

.valorant-main {
  overflow: hidden;
}

.valorant-hero {
  position: relative;
  isolation: isolate;
  min-height: 740px;
  padding: 66px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 79% 45%, rgba(145, 67, 185, 0.24), transparent 31%),
    radial-gradient(circle at 13% 7%, rgba(255, 82, 99, 0.12), transparent 24%),
    linear-gradient(110deg, #090810 0%, #1a1424 50%, #090712 100%);
}

.valorant-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(30deg, transparent 49.5%, rgba(255, 82, 99, 0.08) 50%, transparent 50.5%),
    linear-gradient(-30deg, transparent 49.5%, rgba(157, 87, 215, 0.07) 50%, transparent 50.5%);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.valorant-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -175px;
  bottom: -225px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(157, 87, 215, 0.16);
  transform: rotate(45deg);
  box-shadow:
    0 0 0 76px rgba(255, 82, 99, 0.035),
    0 0 0 150px rgba(157, 87, 215, 0.02);
}

.valorant-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(530px, 1.25fr);
  align-items: center;
  gap: 34px;
}

.valorant-hero-grid > * {
  min-width: 0;
}

.valorant-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 800;
}

.valorant-breadcrumb a:first-child,
.valorant-breadcrumb a:hover {
  color: var(--val-red);
}

.valorant-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff7885;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.valorant-kicker i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 82, 99, 0.56);
  color: #fff;
  background: rgba(255, 82, 99, 0.13);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font: 900 17px/1 Georgia, serif;
  letter-spacing: 0;
}

.valorant-hero-copy h1 {
  margin: 22px 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.valorant-hero-copy h1 span {
  color: var(--val-red);
}

.valorant-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.95;
}

.valorant-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.valorant-primary-action,
.valorant-accent-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  border: 1px solid var(--val-red);
  color: #fff;
  background: linear-gradient(135deg, #ff6573, #d83e51);
  box-shadow: 0 13px 34px rgba(255, 82, 99, 0.2);
}

.valorant-primary-action:hover,
.valorant-accent-action:hover {
  color: #fff;
  background: #ff6876;
  transform: translateY(-2px);
}

.valorant-secondary-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(157, 87, 215, 0.5);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.valorant-secondary-action:hover {
  color: #c982ff;
}

.valorant-hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
}

.valorant-hero-stats span {
  display: grid;
  gap: 3px;
}

.valorant-hero-stats strong {
  color: #ff6977;
  font-size: 21px;
}

.valorant-hero-stats small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

.valorant-mascot-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255, 82, 99, 0.3);
  background: #0a0911;
  box-shadow:
    0 40px 95px rgba(0, 0, 0, 0.52),
    0 0 85px rgba(114, 55, 150, 0.16),
    inset 0 0 0 9px rgba(255, 255, 255, 0.012);
}

.valorant-mascot-stage::before,
.valorant-mascot-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 86px;
  pointer-events: none;
}

.valorant-mascot-stage::before {
  top: 13px;
  left: 13px;
  border-top: 2px solid var(--val-red);
  border-left: 2px solid var(--val-red);
}

.valorant-mascot-stage::after {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid var(--val-violet);
  border-bottom: 2px solid var(--val-violet);
}

.valorant-mascot-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.valorant-stage-badge {
  position: absolute;
  z-index: 3;
  top: 25px;
  right: 27px;
  color: #ff7c88;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.valorant-mascot-stage figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 82, 99, 0.32);
  border-radius: 999px;
  color: #ffe1e5;
  background: rgba(14, 9, 22, 0.86);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
}

.valorant-mascot-stage figcaption i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63e39d;
  box-shadow: 0 0 0 4px rgba(99, 227, 157, 0.12), 0 0 12px rgba(99, 227, 157, 0.7);
}

.valorant-modes {
  position: relative;
  padding: 104px 0 112px;
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(255, 82, 99, 0.045) 72% 73%, transparent 73%),
    radial-gradient(circle at 8% 20%, rgba(255, 82, 99, 0.1) 0 125px, transparent 126px),
    #f8f6f8;
}

.valorant-modes::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: radial-gradient(rgba(55, 38, 64, 0.2) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  pointer-events: none;
}

.valorant-modes .shell {
  position: relative;
}

.valorant-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.valorant-section-heading .section-kicker,
.valorant-roles .section-kicker {
  color: var(--val-red-deep);
}

.valorant-section-heading h2,
.valorant-roles-copy h2 {
  margin: 8px 0 0;
  color: var(--val-ink);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.valorant-section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.valorant-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.valorant-mode-card {
  position: relative;
  min-height: 315px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(52, 40, 60, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 55px rgba(35, 27, 43, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.valorant-mode-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(35, 27, 43, 0.14);
}

.valorant-mode-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -78px;
  width: 185px;
  height: 185px;
  border: 26px solid rgba(157, 87, 215, 0.055);
  transform: rotate(45deg);
}

.valorant-mode-card.valorant-mode-ranked {
  color: #fff;
  border-color: rgba(255, 82, 99, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(157, 87, 215, 0.22), transparent 38%),
    linear-gradient(145deg, #31243e, #14111d);
}

.valorant-mode-number {
  color: var(--val-red);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.valorant-mode-card > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-top: 26px;
  border: 1px solid rgba(157, 87, 215, 0.2);
  color: #6d338e;
  background: #f3eafb;
  font-size: 24px;
  font-style: normal;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.valorant-mode-ranked > i {
  border-color: rgba(255, 82, 99, 0.5);
  color: #fff;
  background: var(--val-red);
}

.valorant-mode-card h3 {
  margin: 21px 0 10px;
  color: var(--val-ink);
  font-size: 24px;
}

.valorant-mode-ranked h3 {
  color: #fff;
}

.valorant-mode-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.valorant-mode-ranked p {
  color: rgba(255, 255, 255, 0.65);
}

.valorant-mode-card a {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #643184;
  font-size: 12px;
  font-weight: 900;
}

.valorant-mode-ranked a {
  color: #ff7b87;
}

.valorant-roles {
  padding: 110px 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 82, 99, 0.12), transparent 26%),
    linear-gradient(100deg, #0c0b13, #251a31);
}

.valorant-roles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(480px, 1.16fr);
  align-items: center;
  gap: 70px;
}

.valorant-roles .section-kicker {
  color: #ff6977;
}

.valorant-roles-copy h2 {
  color: #fff;
}

.valorant-roles-copy > p {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.valorant-dark-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 82, 99, 0.55);
  color: #ff7380;
  background: rgba(255, 82, 99, 0.08);
}

.valorant-dark-action:hover {
  color: #fff;
  background: var(--val-red);
}

.valorant-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.valorant-role-grid span {
  position: relative;
  display: grid;
  min-height: 155px;
  align-content: center;
  gap: 6px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(157, 87, 215, 0.2);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.valorant-role-grid span::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -50px;
  width: 105px;
  height: 105px;
  border: 17px solid rgba(255, 82, 99, 0.06);
  transform: rotate(45deg);
}

.valorant-role-grid span:hover {
  border-color: rgba(255, 82, 99, 0.55);
  background: rgba(255, 82, 99, 0.07);
  transform: translateY(-5px);
}

.valorant-role-grid i {
  color: #b76aee;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.valorant-role-grid strong {
  color: #fff;
  font-size: 18px;
}

.valorant-role-grid small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.valorant-cta {
  padding: 86px 0 100px;
  background: #f6f3f6;
}

.valorant-cta-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 56px;
  border: 1px solid rgba(255, 82, 99, 0.32);
  color: #fff;
  background:
    linear-gradient(135deg, transparent 74%, rgba(255, 82, 99, 0.14) 74%),
    linear-gradient(120deg, #11101a, #32233e);
  box-shadow: 0 30px 65px rgba(32, 25, 39, 0.15);
}

.valorant-cta-card > div > span {
  color: #ff7783;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.valorant-cta-card h2 {
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.valorant-cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.valorant-page .site-footer {
  background: #fff;
}

@media (max-width: 1020px) {
  .valorant-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  }

  .valorant-roles-grid {
    gap: 42px;
  }
}

@media (max-width: 780px) {
  .valorant-page .nav-menu {
    background: #fff;
  }

  .valorant-hero {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .valorant-hero-grid,
  .valorant-roles-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .valorant-hero-copy {
    max-width: 620px;
  }

  .valorant-mascot-stage {
    width: min(100%, 620px);
  }

  .valorant-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .valorant-mode-grid {
    grid-template-columns: 1fr;
  }

  .valorant-mode-card {
    min-height: 0;
  }

  .valorant-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .valorant-hero {
    padding-top: 42px;
  }

  .valorant-hero-copy h1 {
    font-size: min(11.5vw, 47px);
  }

  .valorant-hero-copy > p {
    font-size: 14px;
  }

  .valorant-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .valorant-hero-stats {
    gap: 22px;
  }

  .valorant-mascot-stage {
    width: calc(100vw - 28px);
    max-width: 100%;
  }

  .valorant-stage-badge {
    top: 18px;
    right: 19px;
  }

  .valorant-mascot-stage figcaption {
    right: 16px;
    bottom: 16px;
  }

  .valorant-modes,
  .valorant-roles {
    padding: 75px 0 80px;
  }

  .valorant-section-heading h2,
  .valorant-roles-copy h2 {
    font-size: 34px;
  }

  .valorant-mode-card {
    padding: 28px;
  }

  .valorant-mode-card a {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 22px;
  }

  .valorant-role-grid {
    grid-template-columns: 1fr;
  }

  .valorant-role-grid span {
    min-height: 130px;
  }

  .valorant-cta {
    padding: 70px 0 80px;
  }

  .valorant-cta-card {
    padding: 36px 26px;
  }
}

/* Apex Legends 主題分頁 */
.apex-page {
  --apex-ink: #211d22;
  --apex-night: #141217;
  --apex-panel: #272129;
  --apex-rust: #b5543e;
  --apex-rust-deep: #7f352b;
  --apex-gold: #e9ad48;
  --apex-purple: #6d3d86;
  background: #f7f3ee;
}

.apex-main {
  overflow: hidden;
}

.apex-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 70px 0 76px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 44%, rgba(126, 74, 148, 0.25), transparent 30%),
    radial-gradient(circle at 20% 110%, rgba(181, 84, 62, 0.26), transparent 39%),
    linear-gradient(112deg, #111015 0%, #241b23 52%, #121014 100%);
}

.apex-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(120deg, transparent 48.8%, rgba(233, 173, 72, 0.08) 49%, transparent 49.2%),
    radial-gradient(rgba(255, 255, 255, 0.16) 0.8px, transparent 0.8px);
  background-size: 115px 115px, 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.apex-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(233, 173, 72, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 92px rgba(181, 84, 62, 0.035),
    0 0 0 180px rgba(109, 61, 134, 0.025);
}

.apex-hero-lines {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 4%;
  width: 190px;
  height: 100%;
  border-left: 1px solid rgba(233, 173, 72, 0.1);
  border-right: 1px solid rgba(233, 173, 72, 0.06);
  transform: skewX(-13deg);
  pointer-events: none;
}

.apex-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
  align-items: center;
  gap: 38px;
}

.apex-hero-grid > * {
  min-width: 0;
}

.apex-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 800;
}

.apex-breadcrumb a:first-child,
.apex-breadcrumb a:hover {
  color: var(--apex-gold);
}

.apex-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #efbb63;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.apex-kicker i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(233, 173, 72, 0.48);
  color: #f4c775;
  background: rgba(233, 173, 72, 0.08);
  font: 900 17px/1 Georgia, serif;
  letter-spacing: 0;
  clip-path: polygon(50% 0, 100% 100%, 79% 100%, 50% 38%, 21% 100%, 0 100%);
}

.apex-hero-copy h1 {
  margin: 22px 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.apex-hero-copy h1 span {
  color: var(--apex-gold);
}

.apex-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.95;
}

.apex-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.apex-primary-action,
.apex-accent-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  border: 1px solid var(--apex-gold);
  color: #1b1714;
  background: linear-gradient(135deg, #f3cb74, #dda042);
  box-shadow: 0 13px 34px rgba(233, 173, 72, 0.19);
}

.apex-primary-action:hover,
.apex-accent-action:hover {
  color: #17130f;
  background: #f5ce79;
  transform: translateY(-2px);
}

.apex-secondary-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(181, 84, 62, 0.55);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.apex-secondary-action:hover {
  color: #efbb63;
}

.apex-hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
}

.apex-hero-stats span {
  display: grid;
  gap: 3px;
}

.apex-hero-stats strong {
  color: #efb454;
  font-size: 21px;
}

.apex-hero-stats small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

.apex-mascot-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(233, 173, 72, 0.36);
  background: #0c0b0e;
  box-shadow:
    0 40px 95px rgba(0, 0, 0, 0.52),
    0 0 85px rgba(181, 84, 62, 0.15),
    inset 0 0 0 9px rgba(255, 255, 255, 0.012);
}

.apex-mascot-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.apex-modes {
  position: relative;
  padding: 104px 0 112px;
  background:
    linear-gradient(125deg, transparent 0 77%, rgba(181, 84, 62, 0.06) 77% 78%, transparent 78%),
    radial-gradient(circle at 8% 22%, rgba(233, 173, 72, 0.12) 0 128px, transparent 129px),
    #f8f4ee;
}

.apex-modes::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(63, 48, 42, 0.22) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  pointer-events: none;
}

.apex-modes .shell {
  position: relative;
}

.apex-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.apex-section-heading .section-kicker,
.apex-squad .section-kicker {
  color: var(--apex-rust);
}

.apex-section-heading h2,
.apex-squad-copy h2 {
  margin: 8px 0 0;
  color: var(--apex-ink);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.apex-section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.apex-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.apex-mode-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(71, 51, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(55, 37, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apex-mode-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(55, 37, 31, 0.14);
}

.apex-mode-card::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -82px;
  width: 195px;
  height: 195px;
  border: 28px solid rgba(181, 84, 62, 0.055);
  border-radius: 50%;
}

.apex-mode-card.apex-mode-ranked {
  color: #fff;
  border-color: rgba(233, 173, 72, 0.38);
  background:
    linear-gradient(145deg, rgba(181, 84, 62, 0.24), transparent 54%),
    linear-gradient(145deg, #34272a, #171419);
}

.apex-mode-number {
  color: var(--apex-rust);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.apex-mode-ranked .apex-mode-number {
  color: #f2be64;
}

.apex-mode-card > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-top: 26px;
  border: 1px solid rgba(181, 84, 62, 0.21);
  color: #9b4435;
  background: #f9e7de;
  font-size: 22px;
  font-style: normal;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.apex-mode-ranked > i {
  border-color: rgba(233, 173, 72, 0.5);
  color: #1b1714;
  background: var(--apex-gold);
}

.apex-mode-card h3 {
  position: relative;
  z-index: 1;
  margin: 21px 0 10px;
  color: var(--apex-ink);
  font-size: 24px;
}

.apex-mode-ranked h3 {
  color: #fff;
}

.apex-mode-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.apex-mode-ranked p {
  color: rgba(255, 255, 255, 0.65);
}

.apex-mode-card a {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--apex-rust-deep);
  font-size: 12px;
  font-weight: 900;
}

.apex-mode-ranked a {
  color: #efbd65;
}

.apex-squad {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 91% 20%, rgba(233, 173, 72, 0.12), transparent 25%),
    linear-gradient(108deg, #151317, #322127);
}

.apex-squad::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -270px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(233, 173, 72, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(181, 84, 62, 0.04);
}

.apex-squad-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  align-items: center;
  gap: 72px;
}

.apex-squad .section-kicker {
  color: #efb454;
}

.apex-squad-copy h2 {
  color: #fff;
}

.apex-squad-copy > p {
  max-width: 520px;
  margin: 22px 0 29px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.9;
}

.apex-dark-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(233, 173, 72, 0.48);
  color: #f0bb61;
  background: rgba(233, 173, 72, 0.07);
}

.apex-dark-action:hover {
  color: #17130f;
  background: var(--apex-gold);
}

.apex-squad-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apex-squad-cards article {
  position: relative;
  display: grid;
  min-height: 235px;
  align-content: end;
  gap: 7px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(233, 173, 72, 0.18);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.apex-squad-cards article::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -56px;
  width: 145px;
  height: 145px;
  border: 20px solid rgba(181, 84, 62, 0.07);
  border-radius: 50%;
}

.apex-squad-cards article:hover {
  border-color: rgba(233, 173, 72, 0.52);
  background: rgba(233, 173, 72, 0.07);
  transform: translateY(-6px);
}

.apex-squad-cards span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.apex-squad-cards i {
  color: #eab04e;
  font-size: 30px;
  font-style: normal;
}

.apex-squad-cards strong {
  color: #fff;
  font-size: 19px;
}

.apex-squad-cards small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
  line-height: 1.6;
}

.apex-cta {
  padding: 88px 0 102px;
  background: #f5f1ec;
}

.apex-cta-card {
  position: relative;
  display: flex;
  min-height: 265px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 56px;
  overflow: hidden;
  border: 1px solid rgba(181, 84, 62, 0.32);
  color: #fff;
  background:
    linear-gradient(120deg, transparent 70%, rgba(233, 173, 72, 0.13) 70%),
    linear-gradient(115deg, #181519, #3b272a);
  box-shadow: 0 30px 65px rgba(46, 31, 28, 0.15);
}

.apex-cta-card::after {
  content: "A";
  position: absolute;
  right: 27%;
  color: rgba(255, 255, 255, 0.035);
  font: 900 230px/1 Georgia, serif;
  transform: translateY(5%);
}

.apex-cta-card > * {
  position: relative;
  z-index: 1;
}

.apex-cta-card > div > span {
  color: #efb454;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.apex-cta-card h2 {
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.apex-cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.apex-page .site-footer {
  background: #fff;
}

@media (max-width: 1020px) {
  .apex-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .apex-squad-grid {
    gap: 42px;
  }
}

@media (max-width: 780px) {
  .apex-page .nav-menu {
    background: #fff;
  }

  .apex-hero {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .apex-hero-grid,
  .apex-squad-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .apex-hero-copy {
    max-width: 620px;
  }

  .apex-mascot-stage {
    width: min(100%, 620px);
  }

  .apex-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .apex-mode-grid {
    grid-template-columns: 1fr;
  }

  .apex-mode-card {
    min-height: 0;
  }

  .apex-squad-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .apex-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .apex-hero {
    padding-top: 42px;
  }

  .apex-hero-copy h1 {
    font-size: min(11.5vw, 47px);
  }

  .apex-hero-copy > p {
    font-size: 14px;
  }

  .apex-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .apex-hero-stats {
    gap: 22px;
  }

  .apex-mascot-stage {
    width: calc(100vw - 28px);
    max-width: 100%;
  }

  .apex-modes,
  .apex-squad {
    padding: 75px 0 80px;
  }

  .apex-section-heading h2,
  .apex-squad-copy h2 {
    font-size: 34px;
  }

  .apex-mode-card {
    padding: 28px;
  }

  .apex-mode-card a {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 22px;
  }

  .apex-squad-cards {
    grid-template-columns: 1fr;
  }

  .apex-squad-cards article {
    min-height: 180px;
  }

  .apex-cta {
    padding: 70px 0 80px;
  }

  .apex-cta-card {
    padding: 36px 26px;
  }
}

/* 可重複使用的陪玩個人資料範本 */
.player-template-grid {
  grid-template-columns: minmax(0, 1fr);
}

.player-template-card,
.directory-grid .player-template-card,
.directory-grid .player-template-card:last-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  overflow: hidden;
  border: 1px solid #e4dcdf;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(70, 55, 60, 0.1);
}

.player-template-portrait {
  position: relative;
  height: 440px;
  min-height: 440px;
  overflow: hidden;
  background: #ece8e9;
}

.player-template-portrait::after {
  content: "INTRODUCTION";
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgba(255, 255, 255, 0.8);
  font: 700 31px/1 Georgia, serif;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  text-shadow: 0 2px 14px rgba(29, 24, 25, 0.18);
}

.player-template-portrait img {
  width: 100%;
  height: calc(100% + 22px);
  object-fit: cover;
  object-position: center top;
}

.template-state {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(95, 77, 82, 0.78);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.template-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f1d2db;
  box-shadow: 0 0 0 4px rgba(241, 210, 219, 0.13);
}

.player-template-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 45px 50px;
  color: #4f4448;
  background:
    linear-gradient(90deg, transparent 0 98%, rgba(159, 139, 145, 0.08) 98%),
    #fff;
}

.player-template-label {
  margin-bottom: 23px;
  color: #a08d93;
  font: 700 10px/1 Georgia, serif;
  letter-spacing: 0.2em;
}

.player-template-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5dcdf;
}

.player-template-title > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.player-template-title h3 {
  margin: 0 10px 0 0;
  color: #463a3f;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.player-template-title span {
  color: #806f75;
  font-size: 12px;
}

.player-template-title strong {
  flex: 0 0 auto;
  color: #917c83;
  font-size: 12px;
}

.player-template-info > p {
  margin: 24px 0 18px;
  color: #75656a;
  font-size: 14px;
  line-height: 1.8;
}

.player-template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.player-template-tags span {
  padding: 8px 14px;
  color: #6c5c61;
  background: #eee7e9;
  font-size: 11px;
  font-weight: 750;
}

.player-template-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.player-template-details span {
  display: grid;
  gap: 7px;
  padding: 15px;
  color: #9c898f;
  background: #faf7f8;
  font-size: 9px;
}

.player-template-details strong {
  color: #5a4b50;
  font-size: 12px;
}

.player-template-note {
  margin-top: 20px;
  padding: 17px 19px;
  border-left: 3px solid #bca6ad;
  background: #f8f4f5;
}

.player-template-note strong {
  color: #5b4d52;
  font-size: 12px;
}

.player-template-note p {
  margin: 6px 0 0;
  color: #8a777d;
  font-size: 11px;
  line-height: 1.7;
}

.player-template-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.player-template-footer small {
  color: #a18c93;
  font: 700 11px/1 Georgia, serif;
  letter-spacing: 0.13em;
}

.player-template-footer .button {
  min-height: 42px;
}

@media (max-width: 780px) {
  .player-template-card,
  .directory-grid .player-template-card,
  .directory-grid .player-template-card:last-child {
    grid-template-columns: 1fr;
  }

  .player-template-portrait {
    height: 320px;
    min-height: 320px;
  }

  .player-template-portrait img {
    height: calc(100% + 18px);
  }

  .player-template-info {
    padding: 34px;
  }
}

@media (max-width: 520px) {
  .player-template-portrait {
    height: 235px;
    min-height: 235px;
  }

  .player-template-portrait::after {
    left: 10px;
    font-size: 20px;
  }

  .template-state {
    top: 12px;
    right: 12px;
  }

  .player-template-info {
    padding: 28px 22px;
  }

  .player-template-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-template-title h3 {
    font-size: 29px;
  }

  .player-template-details {
    grid-template-columns: 1fr;
  }

  .player-template-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Steam 遊戲主題分頁 */
.steam-page {
  --steam-ink: #211d29;
  --steam-night: #14131b;
  --steam-panel: #252330;
  --steam-purple: #8e5fc3;
  --steam-purple-light: #c295ef;
  --steam-gold: #e5b55d;
  --steam-blue: #6986ad;
  background: #f6f3f8;
}

.steam-main {
  overflow: hidden;
}

.steam-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 70px 0 76px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 42%, rgba(142, 95, 195, 0.23), transparent 31%),
    radial-gradient(circle at 15% 104%, rgba(229, 181, 93, 0.12), transparent 30%),
    linear-gradient(112deg, #111017 0%, #201b2b 53%, #111017 100%);
}

.steam-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(194, 149, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 149, 239, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.14) 0.8px, transparent 0.8px);
  background-size: 82px 82px, 82px 82px, 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.steam-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -260px;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(194, 149, 239, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 78px rgba(142, 95, 195, 0.03),
    0 0 0 150px rgba(229, 181, 93, 0.018);
}

.steam-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
  align-items: center;
  gap: 38px;
}

.steam-hero-grid > * {
  min-width: 0;
}

.steam-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 800;
}

.steam-breadcrumb a:first-child,
.steam-breadcrumb a:hover {
  color: var(--steam-purple-light);
}

.steam-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--steam-purple-light);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.steam-kicker i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(194, 149, 239, 0.45);
  border-radius: 50%;
  color: #e3c7ff;
  background: rgba(142, 95, 195, 0.12);
  font: 900 17px/1 Georgia, serif;
  letter-spacing: 0;
}

.steam-hero-copy h1 {
  margin: 22px 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.steam-hero-copy h1 span {
  color: var(--steam-purple-light);
}

.steam-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.95;
}

.steam-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.steam-primary-action,
.steam-accent-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 21px;
  border: 1px solid #a675d3;
  color: #fff;
  background: linear-gradient(135deg, #9b6cca, #6d428e);
  box-shadow: 0 13px 34px rgba(142, 95, 195, 0.22);
}

.steam-primary-action:hover,
.steam-accent-action:hover {
  color: #fff;
  background: #a576d2;
  transform: translateY(-2px);
}

.steam-secondary-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(194, 149, 239, 0.48);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.steam-secondary-action:hover {
  color: #d6aff8;
}

.steam-hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
}

.steam-hero-stats span {
  display: grid;
  gap: 3px;
}

.steam-hero-stats strong {
  color: #c79ce9;
  font-size: 21px;
}

.steam-hero-stats small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 10px;
}

.steam-mascot-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 95, 195, 0.3);
  background: #0d0c11;
  box-shadow:
    0 40px 95px rgba(0, 0, 0, 0.52),
    0 0 85px rgba(142, 95, 195, 0.16),
    inset 0 0 0 9px rgba(255, 255, 255, 0.012);
}

.steam-mascot-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.steam-modes {
  position: relative;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 8% 20%, rgba(142, 95, 195, 0.1) 0 128px, transparent 129px),
    linear-gradient(132deg, transparent 0 79%, rgba(229, 181, 93, 0.06) 79% 80%, transparent 80%),
    #f7f4f8;
}

.steam-modes::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(rgba(61, 48, 74, 0.21) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  pointer-events: none;
}

.steam-modes .shell {
  position: relative;
}

.steam-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.steam-section-heading .section-kicker,
.steam-library .section-kicker {
  color: #73469a;
}

.steam-section-heading h2,
.steam-library-copy h2 {
  margin: 8px 0 0;
  color: var(--steam-ink);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.steam-section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.steam-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steam-mode-card {
  position: relative;
  min-height: 330px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid rgba(62, 48, 72, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(43, 32, 52, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steam-mode-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(43, 32, 52, 0.14);
}

.steam-mode-card::after {
  content: "";
  position: absolute;
  right: -66px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 27px solid rgba(142, 95, 195, 0.05);
  border-radius: 50%;
}

.steam-mode-card.steam-mode-featured {
  color: #fff;
  border-color: rgba(194, 149, 239, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(142, 95, 195, 0.23), transparent 38%),
    linear-gradient(145deg, #30283b, #17151d);
}

.steam-mode-number {
  color: #7b4d9f;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.steam-mode-featured .steam-mode-number {
  color: #d1aaf1;
}

.steam-mode-card > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-top: 26px;
  border: 1px solid rgba(142, 95, 195, 0.2);
  border-radius: 12px;
  color: #734598;
  background: #f1e7f8;
  font-size: 24px;
  font-style: normal;
}

.steam-mode-featured > i {
  border-color: rgba(194, 149, 239, 0.45);
  color: #fff;
  background: #8758ae;
}

.steam-mode-card h3 {
  position: relative;
  z-index: 1;
  margin: 21px 0 10px;
  color: var(--steam-ink);
  font-size: 23px;
}

.steam-mode-featured h3 {
  color: #fff;
}

.steam-mode-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.steam-mode-featured p {
  color: rgba(255, 255, 255, 0.64);
}

.steam-mode-card a {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 31px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #6e438f;
  font-size: 12px;
  font-weight: 900;
}

.steam-mode-featured a {
  color: #cda3ed;
}

.steam-library {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(142, 95, 195, 0.18), transparent 27%),
    linear-gradient(108deg, #121117, #282231);
}

.steam-library::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(194, 149, 239, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 149, 239, 0.1) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.steam-library-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(560px, 1.24fr);
  align-items: center;
  gap: 72px;
}

.steam-library .section-kicker {
  color: var(--steam-purple-light);
}

.steam-library-copy h2 {
  color: #fff;
}

.steam-library-copy > p {
  max-width: 520px;
  margin: 22px 0 29px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.9;
}

.steam-dark-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(194, 149, 239, 0.45);
  color: #c89de9;
  background: rgba(142, 95, 195, 0.08);
}

.steam-dark-action:hover {
  color: #fff;
  background: #8658aa;
}

.steam-library-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.steam-library-shelf article {
  position: relative;
  display: grid;
  min-height: 170px;
  align-content: end;
  gap: 7px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(194, 149, 239, 0.18);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.steam-library-shelf article::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -48px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(142, 95, 195, 0.07);
  border-radius: 50%;
}

.steam-library-shelf article:hover {
  border-color: rgba(194, 149, 239, 0.52);
  background: rgba(142, 95, 195, 0.08);
  transform: translateY(-5px);
}

.steam-library-shelf span {
  color: #a975d0;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.steam-library-shelf strong {
  color: #fff;
  font-size: 18px;
}

.steam-library-shelf small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  line-height: 1.6;
}

.steam-cta {
  padding: 88px 0 102px;
  background: #f5f2f7;
}

.steam-cta-card {
  position: relative;
  display: flex;
  min-height: 265px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 56px;
  overflow: hidden;
  border: 1px solid rgba(142, 95, 195, 0.32);
  color: #fff;
  background:
    linear-gradient(120deg, transparent 70%, rgba(194, 149, 239, 0.13) 70%),
    linear-gradient(115deg, #17151d, #30273a);
  box-shadow: 0 30px 65px rgba(38, 29, 46, 0.15);
}

.steam-cta-card::after {
  content: "S";
  position: absolute;
  right: 27%;
  color: rgba(255, 255, 255, 0.035);
  font: 900 230px/1 Georgia, serif;
  transform: translateY(5%);
}

.steam-cta-card > * {
  position: relative;
  z-index: 1;
}

.steam-cta-card > div > span {
  color: #c89de9;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.steam-cta-card h2 {
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.steam-cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.steam-page .site-footer {
  background: #fff;
}

@media (max-width: 1120px) {
  .steam-mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  .steam-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .steam-library-grid {
    gap: 42px;
  }
}

@media (max-width: 780px) {
  .steam-page .nav-menu {
    background: #fff;
  }

  .steam-hero {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .steam-hero-grid,
  .steam-library-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .steam-hero-copy {
    max-width: 620px;
  }

  .steam-mascot-stage {
    width: min(100%, 620px);
  }

  .steam-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .steam-library-shelf {
    grid-template-columns: repeat(3, 1fr);
  }

  .steam-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .steam-hero {
    padding-top: 42px;
  }

  .steam-hero-copy h1 {
    font-size: min(11.5vw, 47px);
  }

  .steam-hero-copy > p {
    font-size: 14px;
  }

  .steam-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .steam-hero-stats {
    gap: 22px;
  }

  .steam-mascot-stage {
    width: calc(100vw - 28px);
    max-width: 100%;
  }

  .steam-modes,
  .steam-library {
    padding: 75px 0 80px;
  }

  .steam-section-heading h2,
  .steam-library-copy h2 {
    font-size: 34px;
  }

  .steam-mode-grid,
  .steam-library-shelf {
    grid-template-columns: 1fr;
  }

  .steam-mode-card {
    min-height: 0;
    padding: 28px;
  }

  .steam-mode-card a {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 22px;
  }

  .steam-library-shelf article {
    min-height: 150px;
  }

  .steam-cta {
    padding: 70px 0 80px;
  }

  .steam-cta-card {
    padding: 36px 26px;
  }
}

/* 陪玩價目表 */
.pricing-page {
  color: #302337;
  background: #fffdfb;
}

.pricing-page .site-header,
.pricing-page .site-footer {
  background: #fff;
}

.pricing-main {
  overflow: hidden;
}

.pricing-hero {
  position: relative;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 7% 13%, rgba(255, 223, 101, 0.36) 0 110px, transparent 111px),
    radial-gradient(circle at 91% 20%, rgba(200, 158, 218, 0.28) 0 190px, transparent 191px),
    radial-gradient(rgba(107, 52, 119, 0.11) 1px, transparent 1px),
    linear-gradient(125deg, #fffaf0 0%, #fff 48%, #f7eef9 100%);
  background-size: auto, auto, 17px 17px, auto;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 74px;
}

.pricing-breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  color: #7b6a7f;
  font-size: 12px;
  font-weight: 800;
}

.pricing-breadcrumb a {
  color: #6b3477;
}

.pricing-hero-copy h1 {
  margin: 13px 0 22px;
  color: #302337;
  font-size: clamp(50px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.pricing-hero-copy h1 span {
  color: #763883;
  background: linear-gradient(transparent 66%, #ffe378 66%);
}

.pricing-hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: #756a78;
  font-size: 16px;
  line-height: 1.9;
}

.pricing-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.pricing-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 28px;
  border: 1px solid rgba(107, 52, 119, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 70px rgba(83, 50, 89, 0.14);
  backdrop-filter: blur(15px);
}

.pricing-hero-card::before {
  content: "PRICE";
  position: absolute;
  top: 20px;
  right: 25px;
  color: rgba(107, 52, 119, 0.08);
  font: 900 50px/1 Georgia, serif;
  letter-spacing: 0.05em;
}

.pricing-hero-card img {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: min(100%, 390px);
  height: 215px;
  margin: 6px auto 12px;
  object-fit: contain;
}

.pricing-hero-card > div {
  display: flex;
  min-height: 116px;
  padding: 18px;
  border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  background: #faf6fb;
}

.pricing-hero-card > div:first-of-type {
  background: #6b3477;
  color: #fff;
}

.pricing-hero-card span,
.pricing-hero-card small {
  font-size: 11px;
  font-weight: 750;
  opacity: 0.7;
}

.pricing-hero-card strong {
  margin: 7px 0 5px;
  font-size: 26px;
  line-height: 1;
}

.pricing-list-section {
  padding: 105px 0 112px;
  background: #fff;
}

.pricing-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.pricing-section-heading h2,
.pricing-guide h2,
.pricing-cta h2 {
  margin: 10px 0 0;
  color: #302337;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.045em;
}

.pricing-section-heading > p {
  color: #8c808f;
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  --pricing-accent: #7c3c88;
  --pricing-soft: #ead5ef;
  position: relative;
  display: flex;
  min-height: 510px;
  padding: 26px;
  border: 1px solid #eee6ef;
  border-radius: 26px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 17px 45px rgba(45, 29, 49, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: var(--pricing-accent);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(45, 29, 49, 0.14);
}

.pricing-lol {
  --pricing-accent: #8a651e;
  --pricing-soft: #f7e7b8;
}

.pricing-valorant {
  --pricing-accent: #cf5267;
  --pricing-soft: #ffd8df;
}

.pricing-apex {
  --pricing-accent: #46414f;
  --pricing-soft: #e3dfe7;
}

.pricing-steam {
  --pricing-accent: #436487;
  --pricing-soft: #d9e8f6;
}

.pricing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 28px;
}

.pricing-game-badge {
  display: grid;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  place-items: center;
  color: #fff;
  background: var(--pricing-accent);
  font: 800 22px/1 Georgia, serif;
}

.pricing-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--pricing-accent);
  background: var(--pricing-soft);
  font-size: 10px;
  font-weight: 900;
}

.pricing-number {
  color: var(--pricing-accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.17em;
}

.pricing-card h3 {
  min-height: 56px;
  margin: 8px 0 5px;
  color: #302337;
  font-size: 23px;
  line-height: 1.2;
}

.pricing-card > div > p {
  margin: 0;
  color: #8f8391;
  font-size: 12px;
}

.pricing-value {
  display: flex;
  margin: 24px 0 20px;
  padding: 17px;
  border-radius: 17px;
  flex-direction: column;
  color: var(--pricing-accent);
  background: color-mix(in srgb, var(--pricing-soft) 62%, white);
}

.pricing-value strong {
  font-size: 20px;
}

.pricing-value small {
  margin-top: 5px;
  color: #786b7b;
  font-size: 10px;
}

.pricing-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
  color: #6f6471;
  font-size: 12px;
  line-height: 1.55;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pricing-accent);
  font-weight: 900;
}

.pricing-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #eee6ef;
  color: var(--pricing-accent);
  font-size: 12px;
  font-weight: 900;
}

.pricing-table-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
}

.pricing-sheet {
  --pricing-accent: #7c3c88;
  --pricing-soft: #ead5ef;
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #eee5ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(45, 29, 49, 0.09);
}

.pricing-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--pricing-accent);
}

.pricing-entertainment {
  --pricing-accent: #a7656f;
  --pricing-soft: #f8e3d8;
}

.pricing-sheet-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 3px 0 24px;
}

.pricing-sheet-header > div {
  min-width: 0;
}

.pricing-sheet h3 {
  margin: 5px 0 3px;
  color: #302337;
  font-size: 21px;
  line-height: 1.2;
}

.pricing-sheet-header p {
  margin: 0;
  overflow: hidden;
  color: #8f8391;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricing-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid color-mix(in srgb, var(--pricing-accent) 13%, #eee8ef);
  border-radius: 18px;
  scrollbar-color: color-mix(in srgb, var(--pricing-accent) 40%, transparent) transparent;
  scrollbar-width: thin;
}

.pricing-table-scroll:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--pricing-accent) 42%, transparent);
  outline-offset: 3px;
}

.pricing-sheet table {
  width: 100%;
  min-width: 650px;
  border-collapse: separate;
  border-spacing: 0;
  color: #4d4051;
  font-size: 12px;
}

.pricing-sheet .pricing-simple-table {
  min-width: 500px;
}

.pricing-sheet th,
.pricing-sheet td {
  padding: 14px 12px;
  border-bottom: 1px solid #eee8ef;
  text-align: center;
  white-space: nowrap;
}

.pricing-sheet thead th {
  color: var(--pricing-accent);
  background: color-mix(in srgb, var(--pricing-soft) 56%, white);
  font-size: 11px;
  font-weight: 900;
}

.pricing-sheet tbody th {
  position: sticky;
  z-index: 1;
  left: 0;
  color: #403345;
  background: #fff;
  text-align: left;
  font-weight: 850;
}

.pricing-sheet tbody tr:nth-child(even) th,
.pricing-sheet tbody tr:nth-child(even) td {
  background: #fcfafc;
}

.pricing-sheet tbody tr:last-child th,
.pricing-sheet tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-contact {
  color: #a197a3;
  font-weight: 750;
}

.pricing-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--pricing-accent);
  font-size: 12px;
  font-weight: 900;
}

.pricing-sheet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.pricing-guide {
  padding: 95px 0;
  background:
    radial-gradient(rgba(107, 52, 119, 0.1) 1px, transparent 1px),
    #faf6fb;
  background-size: 18px 18px;
}

.pricing-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: 80px;
}

.pricing-guide-grid > div > p {
  margin: 17px 0 0;
  color: #887b8a;
}

.pricing-guide ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-guide li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid rgba(107, 52, 119, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.pricing-guide li > span {
  color: #7a3b84;
  font: 900 18px/1 Georgia, serif;
}

.pricing-guide h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.pricing-guide li p {
  margin: 0;
  color: #887c8a;
  font-size: 12px;
}

.pricing-cta {
  padding: 84px 0 96px;
  background: #fff;
}

.pricing-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 47px 52px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 25%, rgba(255, 225, 106, 0.2) 0 110px, transparent 111px),
    linear-gradient(125deg, #4f2459, #7d4786);
  box-shadow: 0 25px 60px rgba(75, 37, 82, 0.2);
}

.pricing-cta-card .section-kicker,
.pricing-cta-card h2 {
  color: #fff;
}

.pricing-cta-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-cta-card .button {
  flex: 0 0 auto;
  color: #4d2854;
  background: #ffe375;
}

@media (max-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 475px;
  }

}

@media (max-width: 900px) {
  .pricing-hero-grid,
  .pricing-guide-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .pricing-hero-copy {
    max-width: 650px;
  }

  .pricing-hero-card {
    width: min(100%, 650px);
  }

  .pricing-guide-grid {
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .pricing-page .nav-menu {
    background: #fff;
  }

  .pricing-hero {
    padding: 52px 0 66px;
  }

  .pricing-hero-copy h1 {
    font-size: min(13vw, 54px);
  }

  .pricing-hero-actions,
  .pricing-section-heading,
  .pricing-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-hero-actions .button {
    width: 100%;
  }

  .pricing-hero-card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
  }

  .pricing-hero-card img {
    height: 165px;
  }

  .pricing-list-section,
  .pricing-guide {
    padding: 72px 0 78px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-card h3 {
    min-height: 0;
  }

  .pricing-sheet {
    padding: 23px 20px;
    border-radius: 23px;
  }

  .pricing-sheet-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pricing-sheet-header .pricing-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pricing-section-heading > p {
    margin: 0;
  }

  .pricing-cta {
    padding: 65px 0 76px;
  }

  .pricing-cta-card {
    padding: 34px 26px;
  }
}

/* 唱歌、語音聊天與其他服務共用分頁 */
.experience-page {
  --experience-accent: #d65cba;
  --experience-accent-soft: #f4a8e4;
  --experience-gold: #ffcf57;
  --experience-night: #1a1021;
  --experience-night-soft: #2b1734;
  --experience-ink: #2f2432;
  --experience-paper: #fcf8fd;
  background: #fff;
}

.voice-page {
  --experience-accent: #9b70e7;
  --experience-accent-soft: #c6abff;
  --experience-gold: #90d36a;
  --experience-night: #13111e;
  --experience-night-soft: #211a31;
  --experience-paper: #f8f6fd;
}

.other-page {
  --experience-accent: #bd7a3a;
  --experience-accent-soft: #edbe70;
  --experience-gold: #ffe16d;
  --experience-night: #201425;
  --experience-night-soft: #392341;
  --experience-paper: #fffaf1;
}

.experience-main {
  overflow: hidden;
}

.experience-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, color-mix(in srgb, var(--experience-accent) 22%, transparent), transparent 28%),
    radial-gradient(circle at 14% 86%, color-mix(in srgb, var(--experience-gold) 12%, transparent), transparent 25%),
    linear-gradient(128deg, var(--experience-night), var(--experience-night-soft) 62%, #171020);
}

.experience-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, var(--experience-accent-soft) 1px, transparent 1.5px),
    linear-gradient(112deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, transparent 50%);
  background-size: 36px 36px, 210px 210px;
}

.experience-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.experience-hero-grid > * {
  min-width: 0;
}

.experience-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.experience-breadcrumb a:first-child,
.experience-breadcrumb a:hover {
  color: var(--experience-gold);
}

.experience-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--experience-accent-soft);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.experience-kicker i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--experience-accent) 55%, transparent);
  border-radius: 50%;
  color: var(--experience-gold);
  font-family: inherit;
  font-size: 17px;
  font-style: normal;
  letter-spacing: 0;
}

.experience-hero-copy h1 {
  margin: 24px 0 20px;
  color: #fff;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.experience-hero-copy h1 span {
  color: var(--experience-gold);
}

.experience-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.9;
}

.experience-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.experience-primary-action {
  border: 1px solid transparent;
  color: #241727;
  background: linear-gradient(135deg, var(--experience-gold), #fff1a9);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--experience-gold) 20%, transparent);
}

.experience-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 42px color-mix(in srgb, var(--experience-gold) 30%, transparent);
}

.experience-secondary-action {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--experience-accent) 60%, transparent);
  text-underline-offset: 6px;
}

.experience-secondary-action:hover {
  color: var(--experience-accent-soft);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.experience-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
}

.experience-stage {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--experience-accent) 42%, transparent);
  background: #09070c;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

.experience-stage::before,
.experience-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.experience-stage::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--experience-gold);
  border-left: 2px solid var(--experience-gold);
}

.experience-stage::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid var(--experience-accent);
  border-bottom: 2px solid var(--experience-accent);
}

.experience-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.experience-stage-label,
.experience-stage figcaption {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 9, 19, 0.82);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.experience-stage-label {
  top: 28px;
  right: 28px;
  padding: 8px 12px;
  color: var(--experience-gold);
}

.experience-stage figcaption {
  right: 28px;
  bottom: 28px;
  padding: 10px 14px;
}

.experience-services {
  position: relative;
  padding: 100px 0 110px;
  background:
    radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--experience-gold) 22%, transparent) 0 90px, transparent 91px),
    radial-gradient(circle, rgba(75, 43, 82, 0.12) 1px, transparent 1.5px),
    var(--experience-paper);
  background-size: auto, 20px 20px, auto;
}

.experience-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.experience-section-heading .section-kicker,
.experience-flow .section-kicker {
  color: var(--experience-accent);
}

.experience-section-heading h2,
.experience-flow h2,
.experience-cta-card h2 {
  margin: 10px 0 0;
  color: var(--experience-ink);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.experience-section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.experience-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.experience-service-grid.compact-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

.experience-service-grid article {
  position: relative;
  min-height: 360px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--experience-accent) 16%, #e7e0e8);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(67, 42, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-service-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(67, 42, 72, 0.13);
}

.experience-service-grid article.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--experience-night-soft), var(--experience-accent));
}

.experience-service-grid article > span {
  color: var(--experience-accent);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.experience-service-grid article.featured > span {
  color: var(--experience-gold);
}

.experience-service-grid article > i {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 34px 0 24px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--experience-accent), var(--experience-night-soft));
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: normal;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--experience-accent) 22%, transparent);
}

.experience-service-grid article.featured > i {
  color: var(--experience-night);
  background: var(--experience-gold);
}

.experience-service-grid h3 {
  margin: 0 0 12px;
  color: var(--experience-ink);
  font-size: 24px;
}

.experience-service-grid article.featured h3 {
  color: #fff;
}

.experience-service-grid p {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.experience-service-grid article.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.experience-service-grid a {
  display: inline-block;
  margin-top: 28px;
  color: var(--experience-accent);
  font-size: 13px;
  font-weight: 850;
}

.experience-service-grid article.featured a {
  color: var(--experience-gold);
}

.experience-flow {
  padding: 100px 0;
  background: #fff;
}

.experience-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.experience-flow p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.85;
}

.experience-flow ol {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.experience-flow li {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.experience-flow li b {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--experience-accent);
  font-family: Georgia, serif;
}

.experience-flow li span {
  display: grid;
  gap: 5px;
}

.experience-flow li strong {
  color: var(--experience-ink);
  font-size: 17px;
}

.experience-flow li small {
  color: var(--muted);
  line-height: 1.5;
}

.experience-cta {
  padding: 0 0 100px;
  background: #fff;
}

.experience-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 52px 58px;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--experience-accent) 42%, transparent), transparent 26%),
    linear-gradient(135deg, var(--experience-night), var(--experience-night-soft));
  box-shadow: 0 28px 65px rgba(47, 28, 54, 0.16);
}

.experience-cta-card > * {
  position: relative;
  z-index: 1;
}

.experience-cta-card > div > span {
  color: var(--experience-accent-soft);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.experience-cta-card h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}

.experience-cta-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.other-experience-stage {
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 222, 99, 0.24), transparent 38%),
    linear-gradient(145deg, #2c1835, #17101d);
}

.other-experience-stage > img {
  width: min(86%, 520px);
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.28));
}

.other-orbit {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.other-orbit span {
  position: absolute;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(88, 49, 97, 0.78);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 800;
}

.other-orbit span:nth-child(1) {
  top: 17%;
  left: 8%;
}

.other-orbit span:nth-child(2) {
  top: 28%;
  right: 8%;
}

.other-orbit span:nth-child(3) {
  right: 11%;
  bottom: 17%;
}

@media (max-width: 980px) {
  .experience-hero-grid,
  .experience-flow-grid {
    grid-template-columns: 1fr;
  }

  .experience-stage {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .experience-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-service-grid article:last-child {
    grid-column: 1 / -1;
  }

  .experience-service-grid.compact-services article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .experience-page .nav-menu {
    background: #fff;
  }

  .experience-page .nav-game-dropdown-menu {
    max-height: 330px;
    overflow-y: auto;
  }

  .experience-hero {
    padding: 48px 0 58px;
  }

  .experience-hero-copy h1 {
    font-size: min(13vw, 58px);
  }

  .experience-section-heading,
  .experience-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-services,
  .experience-flow {
    padding: 75px 0 80px;
  }

  .experience-cta {
    padding-bottom: 75px;
  }

  .experience-cta-card {
    padding: 38px 30px;
  }
}

@media (max-width: 620px) {
.experience-hero-grid {
  gap: 44px;
}

}

/* 聯盟戰棋：延續兔兔電競房的紫金夜景與策略桌面氛圍。 */
.tft-page { --tft-violet: #b887df; --tft-gold: #f2bb59; --tft-ink: #2c2038; background: #fbf8fc; }
.tft-main { overflow: hidden; }
.tft-hero { position: relative; isolation: isolate; padding: 78px 0 88px; color: #fff; background: radial-gradient(circle at 8% 20%, rgba(239, 187, 82, .17), transparent 24%), radial-gradient(circle at 86% 22%, rgba(184, 104, 225, .25), transparent 28%), linear-gradient(130deg, #130e20, #302143 54%, #1c152c); }
.tft-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .24; background-image: radial-gradient(rgba(255,255,255,.62) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000, transparent 78%); }
.tft-hero-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(500px,1.22fr); align-items: center; gap: 42px; }
.tft-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; color: rgba(255,255,255,.46); font-size: 11px; font-weight: 800; }
.tft-breadcrumb a:hover, .tft-breadcrumb a:first-child { color: var(--tft-gold); }
.tft-kicker { display: inline-flex; align-items: center; gap: 11px; color: #f6ca75; font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.tft-kicker i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(242,187,89,.68); border-radius: 12px; color: #fff5d5; background: rgba(242,187,89,.13); font: 900 17px/1 Georgia, serif; letter-spacing: 0; }
.tft-hero-copy h1 { margin: 22px 0; color: #fff; font-size: clamp(46px,5vw,68px); line-height: 1.12; letter-spacing: -.055em; }
.tft-hero-copy h1 span { color: var(--tft-gold); }
.tft-hero-copy > p { max-width: 555px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.95; }
.tft-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.tft-primary-action, .tft-accent-action { display: inline-flex; align-items: center; gap: 20px; padding: 15px 21px; border: 1px solid var(--tft-gold); color: #2e2033; background: linear-gradient(135deg, #f7d778, #d99863); box-shadow: 0 13px 34px rgba(242,187,89,.2); }
.tft-primary-action:hover, .tft-accent-action:hover { color: #2e2033; background: #ffe29a; transform: translateY(-2px); }
.tft-secondary-action { padding-bottom: 4px; border-bottom: 1px solid rgba(184,135,223,.62); color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.tft-secondary-action:hover { color: #e3c0ff; }
.tft-hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.tft-hero-stats span { display: grid; gap: 3px; }.tft-hero-stats strong { color: #f7cf76; font: 900 21px/1 Georgia,serif; }.tft-hero-stats small { color: rgba(255,255,255,.47); font-size: 10px; }
.tft-stage { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(242,187,89,.37); border-radius: 28px; background: #09070c; box-shadow: 0 42px 95px rgba(0,0,0,.54), 0 0 85px rgba(184,104,225,.2); }
.tft-stage::before { content: ""; position: absolute; z-index: 2; inset: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 19px; pointer-events: none; }.tft-stage img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }.tft-stage figcaption { position:absolute; z-index:3; right:20px; bottom:20px; display:flex; align-items:center; gap:9px; padding:10px 14px; border:1px solid rgba(242,187,89,.4); border-radius:999px; color:#ffedc5; background:rgba(22,14,33,.86); backdrop-filter:blur(8px); font-size:11px; font-weight:800; }.tft-stage figcaption i { width:8px; height:8px; border-radius:50%; background:#82e4a4; box-shadow:0 0 0 4px rgba(130,228,164,.13),0 0 12px rgba(130,228,164,.7); }
.tft-modes { padding:108px 0; background: radial-gradient(circle at 7% 18%,rgba(242,187,89,.13) 0 120px,transparent 121px),radial-gradient(circle at 94% 84%,rgba(184,135,223,.11) 0 160px,transparent 161px),#fbf8fc; }.tft-section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:42px; }.tft-section-heading .section-kicker,.tft-board .section-kicker { color:#8558aa; }.tft-section-heading h2,.tft-board h2 { margin:8px 0 0; color:var(--tft-ink); font-size:clamp(36px,4vw,50px); line-height:1.2; letter-spacing:-.05em; }.tft-section-heading p { max-width:390px; margin:0 0 5px; color:var(--muted); font-size:14px; line-height:1.8; }
.tft-mode-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }.tft-mode-card { position:relative; min-height:315px; padding:34px; overflow:hidden; border:1px solid rgba(59,38,70,.13); border-radius:24px; background:#fff; box-shadow:0 24px 55px rgba(43,24,51,.08); transition:transform .25s ease,box-shadow .25s ease; }.tft-mode-card:hover { transform:translateY(-7px); box-shadow:0 30px 65px rgba(43,24,51,.14); }.tft-mode-card::after { content:""; position:absolute; right:-66px; bottom:-80px; width:190px; height:190px; border:26px solid rgba(184,135,223,.07); border-radius:50%; }.tft-mode-ranked { color:#fff; border-color:rgba(242,187,89,.4); background:radial-gradient(circle at 100% 0,rgba(242,187,89,.23),transparent 39%),linear-gradient(145deg,#634b83,#20172d); }.tft-mode-card > span { color:#9c65bc; font:900 11px/1 Georgia,serif; letter-spacing:.16em; }.tft-mode-ranked > span { color:#ffd376; }.tft-mode-card > i { display:grid; width:54px; height:54px; place-items:center; margin-top:26px; border:1px solid rgba(184,135,223,.22); border-radius:18px; color:#8756a9; background:#f5eaf9; font-size:23px; font-style:normal; }.tft-mode-ranked > i { color:#3b2942; border-color:rgba(242,187,89,.4); background:var(--tft-gold); }.tft-mode-card h3 { margin:21px 0 10px; color:var(--tft-ink); font-size:24px; }.tft-mode-ranked h3 { color:#fff5da; }.tft-mode-card p { position:relative; z-index:1; margin:0; color:var(--muted); font-size:13px; line-height:1.8; }.tft-mode-ranked p { color:rgba(255,255,255,.68); }.tft-mode-card a { position:absolute; z-index:2; bottom:31px; left:34px; display:flex; gap:15px; color:#8a56ab; font-size:12px; font-weight:900; }.tft-mode-ranked a { color:#ffd17a; }
.tft-board { padding:112px 0; color:#fff; background:linear-gradient(100deg,rgba(17,12,27,.98),rgba(65,38,80,.93)),#201629; }.tft-board-grid { display:grid; grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr); align-items:center; gap:72px; }.tft-board h2 { color:#fff5df; }.tft-board p { max-width:520px; margin:22px 0 28px; color:rgba(255,255,255,.66); font-size:14px; line-height:1.9; }.tft-dark-action { display:inline-flex; align-items:center; gap:20px; border:1px solid rgba(242,187,89,.62); color:#ffd57f; background:rgba(242,187,89,.08); }.tft-dark-action:hover { color:#2c1b21; background:#ffd57f; }.tft-board-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.tft-board-cards article { display:grid; min-height:192px; place-items:center; align-content:center; gap:14px; padding:18px; border:1px solid rgba(242,187,89,.2); border-radius:20px; background:rgba(255,255,255,.045); text-align:center; transition:transform .2s ease,background .2s ease; }.tft-board-cards article:hover { background:rgba(242,187,89,.1); transform:translateY(-5px); }.tft-board-cards i { display:grid; width:58px; height:58px; place-items:center; border:1px solid rgba(242,187,89,.42); border-radius:50%; color:#ffd57f; font:900 19px/1 Georgia,serif; font-style:normal; }.tft-board-cards strong { color:#fff0d6; font-size:17px; }.tft-board-cards small { color:rgba(255,255,255,.55); font-size:11px; line-height:1.55; }
.tft-cta { padding:86px 0 100px; background:#fbf8fc; }.tft-cta-card { display:flex; min-height:260px; align-items:center; justify-content:space-between; gap:50px; padding:50px 56px; border:1px solid rgba(242,187,89,.48); border-radius:28px; color:#fff; background:radial-gradient(circle at 92% 5%,rgba(242,187,89,.25),transparent 25%),linear-gradient(120deg,#24172e,#6d4b7c); box-shadow:0 30px 65px rgba(44,22,54,.15); }.tft-cta-card > div > span { color:#ffd07a; font:900 10px/1 Georgia,serif; letter-spacing:.18em; }.tft-cta-card h2 { margin:12px 0 9px; color:#fff6e4; font-size:clamp(30px,4vw,44px); letter-spacing:-.04em; }.tft-cta-card p { margin:0; color:rgba(255,255,255,.6); font-size:13px; }
@media (max-width:1020px) { .tft-hero-grid { grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr); }.tft-board-grid { gap:44px; } }
@media (max-width:780px) { .tft-page .nav-menu { background:#fff; }.tft-hero { padding:55px 0 66px; }.tft-hero-grid,.tft-board-grid { grid-template-columns:1fr; gap:44px; }.tft-stage { width:min(100%,620px); }.tft-section-heading { align-items:start; flex-direction:column; gap:15px; }.tft-mode-grid { grid-template-columns:1fr; }.tft-mode-card { min-height:0; }.tft-cta-card { align-items:flex-start; flex-direction:column; } }
@media (max-width:620px) { .tft-hero { padding-top:42px; }.tft-hero-copy h1 { font-size:min(11.5vw,47px); }.tft-hero-copy > p { font-size:14px; }.tft-hero-actions { align-items:flex-start; flex-direction:column; gap:16px; }.tft-hero-stats { gap:22px; }.tft-stage { width:calc(100vw - 28px); max-width:100%; }.tft-modes,.tft-board { padding:76px 0 80px; }.tft-section-heading h2,.tft-board h2 { font-size:34px; }.tft-mode-card { padding:28px; }.tft-mode-card a { position:relative; bottom:auto; left:auto; margin-top:22px; }.tft-board-cards { grid-template-columns:1fr; }.tft-board-cards article { min-height:135px; }.tft-cta { padding:70px 0 80px; }.tft-cta-card { padding:36px 26px; } }

@media (max-width: 620px) {

  .experience-breadcrumb {
    margin-bottom: 24px;
  }

  .experience-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .experience-hero-actions .button {
    width: 100%;
  }

  .experience-secondary-action {
    align-self: flex-start;
  }

  .experience-stage {
    padding: 8px;
  }

  .experience-stage-label {
    top: 18px;
    right: 18px;
  }

  .experience-stage figcaption {
    right: 18px;
    bottom: 18px;
  }

  .experience-section-heading h2,
  .experience-flow h2 {
    font-size: 34px;
  }

  .experience-service-grid {
    grid-template-columns: 1fr;
  }

  .experience-service-grid.compact-services {
    grid-template-columns: 1fr;
  }

  .experience-service-grid article,
  .experience-service-grid article:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 28px;
  }

  .experience-flow-grid {
    gap: 34px;
  }

  .experience-flow li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .experience-flow li b {
    width: 46px;
    height: 46px;
  }

  .other-experience-stage {
    min-height: 360px;
  }
}

@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;
  }
}

/* 主網站響應式版面最終覆寫 */
@media (min-width: 621px) and (max-width: 780px) {
  .player-card.player-template-card:last-child {
    width: 100%;
    grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
    justify-self: stretch;
  }
}

@media (min-width: 781px) and (max-width: 1100px) {
  .logo-stage img { top: -58px; width: 520px; }
  .nav-menu { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nav-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-actions {
    min-width: 230px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .nav-social-links { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 1100px) {
  .site-header { height: 70px; }
  .menu-toggle { display: block; flex: 0 0 44px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: max(14px, calc((100vw - var(--shell)) / 2));
    left: max(14px, calc((100vw - var(--shell)) / 2));
    display: none;
    max-height: calc(100dvh - 86px);
    margin: 0;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    overscroll-behavior: contain;
  }
  .nav-menu.open, .nav-links, .nav-actions { display: grid; }
  .nav-links, .nav-actions { gap: 5px; }
  .nav-actions {
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .nav-link, .nav-dropdown-item { min-height: 44px; }
  .nav-link { padding: 11px 12px; }
  .nav-link::after { display: none; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; text-align: left; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    margin: 2px 0 7px;
    padding: 6px;
    border-radius: 12px;
    visibility: visible;
    opacity: 1;
    background: #fbf8fc;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  .nav-social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .nav-social-link { min-height: 44px; justify-content: center; padding-inline: 10px; }
}

@media (min-width: 621px) and (max-width: 780px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 18px;
    padding-block: 54px;
  }
  .hero-visual { width: 100%; min-height: 390px; }
  .logo-stage { width: 360px; height: 350px; }
  .logo-stage img { top: -42px; width: 410px; }
  .player-template-card,
  .directory-grid .player-template-card,
  .directory-grid .player-template-card:last-child {
    width: 100%;
    grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
    justify-self: stretch;
  }
  .player-template-portrait { height: 390px; min-height: 390px; }
  .player-template-info { padding: 30px; }
  .player-template-footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 620px) {
  .section, .cta-section { padding-block: 64px; }
  .hero-grid { padding-block: 48px 38px; }
  .player-template-card,
  .directory-grid .player-template-card,
  .directory-grid .player-template-card:last-child { width: 100%; justify-self: stretch; }
  .player-template-footer .button { width: 100%; }
  .footer-links a, .footer-links button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
  }
}

@media (max-width: 360px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand { gap: 7px; }
  .brand-copy strong { font-size: 15px; }
  .hero h1 { font-size: 34px; letter-spacing: -.045em; }
  .hero-copy > p { font-size: 14px; }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 6px;
    font-size: 10px;
  }
  .hero-visual { min-height: 330px; }
  .logo-stage { width: 100%; max-width: 100%; height: 290px; }
  .logo-stage img { top: -20px; width: 340px; }
  .section-heading h2, .cta-copy h2 { font-size: 28px; }
  .game-grid { grid-auto-columns: min(84vw, 280px); }
  .cta-card { min-height: 500px; }
  .cta-copy { padding: 38px 20px 220px; }
  .cta-mascot { height: 230px; }
  .cta-mascot img { top: -20px; width: 350px; }
}

/* Homepage weekly recommendations: three independent profile cards. */
.directory-hero-grid {
  grid-template-columns: 1fr !important;
}

.directory-stats,
.status-badge {
  display: none !important;
}

/* Keep uploaded portrait voice-card videos inside a compact card cover. */
.player-grid .profile-player-card .player-video-cover {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #17131b;
}

.player-grid .profile-player-card .player-video-cover::before,
.player-grid .profile-player-card .player-video-cover::after {
  content: none;
}

.player-grid .profile-player-card .player-video-stack {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.player-grid .profile-player-card .profile-video {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #17131b;
}

.section-players .player-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.section-players .player-template-card {
  grid-column: auto;
  grid-template-columns: 1fr;
  border-radius: 18px;
}

.section-players .player-template-portrait {
  height: 280px;
  min-height: 280px;
}

.section-players .player-template-portrait::after {
  font-size: 24px;
}

.section-players .player-template-info {
  justify-content: flex-start;
  padding: 28px 26px;
}

.section-players .player-template-label {
  margin-bottom: 18px;
}

.section-players .player-template-title {
  align-items: flex-start;
  padding-bottom: 18px;
}

.section-players .player-template-title h3 {
  font-size: 27px;
}

.section-players .player-template-info > p {
  min-height: 76px;
  margin: 20px 0 16px;
}

.section-players .player-template-footer {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 980px) {
  .section-players .player-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-players .player-template-grid {
    grid-template-columns: 1fr;
  }

  .section-players .player-template-portrait {
    height: 320px;
    min-height: 320px;
  }
}
