.pass-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 12%, var(--red-soft), transparent 34%),
    radial-gradient(ellipse at 88% 55%, rgba(241, 59, 62, .05), transparent 32%),
    var(--bg);
}

.pass-header { position: sticky; }
.pass-header .nav-shell { width: min(var(--container), calc(100% - 32px)); }
.pass-header-actions { display: flex; align-items: center; gap: 14px; }
.pass-home-link {
  color: var(--muted-strong);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  transition: color .18s ease;
}
.pass-home-link:hover, .pass-home-link:focus-visible { color: var(--red-strong); }
.pass-home-link:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 4px; }
.pass-home-link span { color: var(--red-strong); }
.pass-header .theme-toggle { width: 44px; height: 44px; }

.pass-main { padding: clamp(42px, 7vw, 88px) 0 36px; }
.pass-intro { max-width: 860px; padding-bottom: clamp(38px, 6vw, 72px); text-align: center; }
.pass-intro .eyebrow, .pass-section-heading .eyebrow { margin: 0 0 8px; color: var(--red-strong); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.pass-intro h1 { margin: 0; font-size: clamp(2.35rem, 6vw, 4.8rem); line-height: 1.05; letter-spacing: .025em; }
.pass-intro h1 span { color: var(--red-strong); }
.pass-intro > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }

.pass-section, .pass-games { padding-block: 0 clamp(58px, 8vw, 96px); }
.pass-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.pass-section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: .04em; }
.pass-section-caption { max-width: 340px; margin: 0 0 4px; color: var(--muted); text-align: right; }

.pass-carousel-stage, .pass-game-stage {
  --carousel-gap: 28px;
  position: relative;
  width: 100%;
  height: clamp(420px, 39vw, 490px);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}
.pass-carousel:focus-visible, .pass-game-carousel:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 6px; border-radius: 12px; }
.pass-game-stage { height: clamp(350px, 37vw, 440px); }
.pass-feature-card, .pass-game-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 78vw);
  height: min(440px, 78vw);
  min-height: 350px;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(ellipse at 50% 0%, var(--red-soft), transparent 55%),
    linear-gradient(150deg, var(--panel-strong), var(--bg-alt));
  box-shadow: 0 22px 65px var(--shadow);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform .6s cubic-bezier(.2,.72,.24,1), opacity .45s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform, opacity;
}
.pass-feature-card[data-active="true"] { border-color: rgba(255, 91, 96, .65); box-shadow: 0 26px 72px var(--shadow), 0 0 32px rgba(241, 59, 62, .08); }
.pass-feature-visual {
  display: grid;
  width: clamp(160px, 20vw, 210px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  margin-bottom: 13px;
  color: var(--red-strong);
}
.pass-feature-visual svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pass-feature-card h3 { margin: 0; color: var(--text); font-size: clamp(1.6rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: .1em; line-height: 1.15; }
.pass-game-card h3 { margin: 0; color: var(--text); font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: .12em; }
.pass-feature-card > p:not(.pass-feature-note) { max-width: 350px; margin: 8px 0 0; color: var(--muted); font-size: clamp(.98rem, 1.3vw, 1.08rem); line-height: 1.5; }
.pass-feature-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; padding: 0; border: 0; background: transparent; color: var(--red-strong); font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.pass-feature-link:hover, .pass-feature-link:focus-visible { color: var(--text); }
.pass-feature-link:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 4px; }
.pass-feature-link span { font-size: 1.2em; }
.pass-feature-note { max-width: 340px; margin: 6px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.pass-feature-note-emphasis { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--red-soft); color: var(--muted-strong); }

.pass-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 12px; }
.pass-carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 1.2rem;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.pass-carousel-arrow:hover, .pass-carousel-arrow:focus-visible { border-color: var(--red-strong); background: var(--red-soft); color: var(--red-strong); }
.pass-carousel-arrow:active { transform: scale(.93); }
.pass-carousel-arrow:disabled { cursor: default; opacity: .42; }
.pass-carousel-arrow:focus-visible, .pass-carousel-indicators button:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 3px; }
.pass-carousel-indicators { display: flex; align-items: center; justify-content: center; gap: 9px; }
.pass-carousel-indicators button {
  width: 24px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.pass-carousel-indicators button[aria-pressed="true"] { width: 42px; background: var(--red-strong); }

.pass-game-card {
  width: min(360px, 72vw);
  height: auto;
  min-height: 0;
  max-height: none;
  justify-content: flex-start;
  padding: 14px;
  border-radius: 26px;
  overflow: hidden;
}
.pass-game-art {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / .96;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(241, 59, 62, .2), transparent 56%),
    linear-gradient(145deg, var(--bg-soft), var(--bg-alt));
  color: var(--red-strong);
}
.pass-game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pass-game-glyph { color: var(--red-strong); font-family: var(--font-display); font-size: clamp(4rem, 11vw, 7rem); font-weight: 700; line-height: 1; text-shadow: 0 0 38px rgba(241, 59, 62, .32); }
.pass-game-art-note { position: absolute; bottom: 10px; left: 50%; width: max-content; max-width: calc(100% - 20px); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; background: var(--panel-strong); color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .1em; transform: translateX(-50%); }
.pass-game-category { margin-top: 16px; color: var(--red-strong); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.pass-game-card h3 { margin-top: 2px; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: .045em; }
.pass-games-empty { margin: 0; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--panel-strong); color: var(--muted); text-align: center; }

.pass-footer { display: flex; min-height: 100px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-top: 1px solid var(--line); padding: 20px 16px; color: var(--muted); text-align: center; }
.pass-footer .footer-brand img { width: clamp(110px, 12vw, 150px); height: auto; }
.pass-footer p { margin: 0; font-size: .85rem; }
.pass-footer p a { color: var(--muted-strong); }
.pass-footer p a:hover { color: var(--red-strong); }

@media (max-width: 680px) {
  .pass-header .nav-shell { min-height: 68px; }
  .pass-header .brand-word { width: clamp(112px, 38vw, 160px); }
  .pass-home-link { font-size: .82rem; }
  .pass-header-actions { gap: 8px; }
  .pass-main { padding-top: 40px; }
  .pass-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pass-section-caption { margin: 0; text-align: left; }
  .pass-carousel-stage, .pass-game-stage { --carousel-gap: 16px; height: 410px; }
  .pass-game-stage { height: 340px; }
  .pass-feature-card { min-height: 370px; border-radius: 24px; }
  .pass-feature-visual { width: clamp(130px, 40vw, 158px); margin-bottom: 10px; }
  .pass-feature-card h3 { font-size: clamp(1.25rem, 3.8vw, 1.65rem); }
  .pass-feature-link { margin-top: 10px; }
  .pass-game-card { width: min(300px, 70vw); }
  .pass-carousel-controls { gap: clamp(10px, 4vw, 18px); }
}

@media (max-width: 360px) {
  .pass-header .logo-frame { width: 38px; height: 38px; border-radius: 12px; }
  .pass-header .brand-word { width: 106px; }
  .pass-home-link { font-size: .76rem; }
  .pass-feature-card { width: 84vw; padding: 18px 17px; }
  .pass-carousel-controls { gap: 8px; }
  .pass-carousel-indicators { gap: 6px; }
  .pass-carousel-indicators button { width: 18px; }
  .pass-carousel-indicators button[aria-pressed="true"] { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pass-feature-card, .pass-game-card, .pass-carousel-arrow, .pass-carousel-indicators button { transition: none; }
  .pass-carousel-stage, .pass-game-stage { scroll-behavior: auto; }
}
