:root {
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(15, 23, 42, 0.04);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --text: #0f172a;
  --muted: #475569;
  --accent-hunter: #dc2626;
  --accent-survivor: #2563eb;
  --accent-variable: #7c3aed;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --shadow-lg: 0 30px 72px rgba(15, 23, 42, 0.18), 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 38%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(300deg, rgba(124, 58, 237, 0.05), transparent 25%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.05) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(15, 23, 42, 0.14), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.page-main {
  position: relative;
  padding-top: calc(var(--header-height) + 24px);
}

.page-section {
  position: relative;
  padding: 2rem 0 5rem;
}

.page-section:first-of-type {
  padding-top: 1rem;
}

.page-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-survivor), var(--accent-variable));
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.8);
}

.section-title {
  margin: 1rem 0 0.75rem;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
}

.section-description {
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 96px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.05));
  pointer-events: none;
}

.hero-section {
  padding-bottom: 3rem;
}

.hero-card {
  --hero-visual-height: clamp(320px, 44vw, 620px);
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.14), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(220, 38, 38, 0.12), transparent 26%),
    radial-gradient(circle at 52% 88%, rgba(124, 58, 237, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.66), transparent 20%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.38), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 0;
  padding: 2.4rem 3rem 3rem;
}

.hero-copy {
  width: 100%;
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.08);
  color: #1e3a8a;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-survivor), var(--accent-hunter));
}

.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  line-height: 0.92;
}

.hero-brand {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto;
}

.hero-brand-logo {
  filter: drop-shadow(0 22px 40px rgba(15, 23, 42, 0.2));
}

.logo-idv {
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-streamers {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
}

.logo-streamers::before,
.logo-streamers::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: rgba(15, 23, 42, 0.18);
}

.hero-title {
  margin: 1.4rem 0 1rem;
  font-size: clamp(1.8rem, 2.7vw, 3.1rem);
  line-height: 1.18;
}

.hero-description {
  margin: 0 auto 2rem;
  max-width: 46rem;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-highlight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-pill {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.highlight-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-value {
  display: block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-top-visual {
  position: relative;
  z-index: 1;
  height: var(--hero-visual-height);
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.03);
  will-change: opacity, transform;
}

body.site-ready .hero-top-visual {
  animation: heroVisualFade 1200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-top-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.38), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%, rgba(15, 23, 42, 0.24));
  pointer-events: none;
}

.hero-top-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-smoke-flow {
  position: absolute;
  left: -8%;
  right: -8%;
  top: calc(var(--hero-visual-height) - 3.6rem);
  height: clamp(150px, 20vw, 260px);
  z-index: 2;
  pointer-events: none;
}

.hero-smoke-flow::before {
  content: "";
  position: absolute;
  inset: 20% 8% 0;
  border-radius: 999px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(226, 232, 240, 0.52) 52%,
    rgba(255, 255, 255, 0) 82%
  );
  filter: blur(34px);
  opacity: 0;
}

body.site-ready .hero-smoke-flow::before {
  animation: heroSmokeVeil 10s ease-in-out infinite alternate;
}

.smoke-plume {
  position: absolute;
  bottom: 0;
  display: block;
  border-radius: 999px;
  background: radial-gradient(
    circle at 46% 42%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.74) 28%,
    rgba(226, 232, 240, 0.38) 56%,
    rgba(255, 255, 255, 0) 74%
  );
  filter: blur(30px);
  opacity: 0;
}

body.site-ready .smoke-plume {
  animation-name: heroSmokeFlow;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.smoke-plume-1 {
  left: -2%;
  width: 34%;
  height: 88%;
  animation-duration: 18s;
  animation-delay: -2s;
}

.smoke-plume-2 {
  left: 20%;
  width: 28%;
  height: 100%;
  animation-duration: 15s;
  animation-delay: -7s;
}

.smoke-plume-3 {
  right: 18%;
  width: 30%;
  height: 82%;
  animation-duration: 19s;
  animation-delay: -4s;
}

.smoke-plume-4 {
  right: -4%;
  width: 40%;
  height: 96%;
  animation-duration: 21s;
  animation-delay: -11s;
}

.hero-showcase {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-stack {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
}

.stack-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 28px;
  overflow: visible;
  box-shadow: none;
  border: 0;
  background: transparent;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
}

.captured-card-image {
  clip-path: inset(2.2% 6.4% 2.2% 6.4% round 30px);
}

.clean-card-image {
  clip-path: inset(0 round 28px);
}

.stack-card.card-main {
  z-index: 3;
  transform: translate(6%, 2%) scale(0.98);
}

.stack-card.card-left {
  transform: translate(-24%, 10%) rotate(-12deg) scale(0.8);
  z-index: 1;
}

.stack-card.card-right {
  transform: translate(24%, 12%) rotate(12deg) scale(0.86);
  z-index: 2;
}

.hero-stack:hover .card-main {
  transform: translate(6%, -3%) scale(0.99);
}

.hero-stack:hover .card-left {
  transform: translate(-30%, 10%) rotate(-15deg) scale(0.8);
}

.hero-stack:hover .card-right {
  transform: translate(30%, 12%) rotate(15deg) scale(0.86);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-survivor), var(--accent-variable));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding: 1rem 0;
  transition: padding 240ms ease, background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-brand-logo {
  width: clamp(48px, 6vw, 68px);
  flex-shrink: 0;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.14));
}

.site-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.22));
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
}

.site-brand-text {
  min-width: 0;
}

.site-brand-title {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease, background-color 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.38rem;
  width: 0;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-survivor), var(--accent-variable));
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: calc(100% - 1.8rem);
}

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.mobile-drawer.is-open {
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 360px);
  height: 100%;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  transform: translateX(100%);
  transition: transform 240ms ease;
  backdrop-filter: blur(18px);
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-nav {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.mobile-nav .nav-link {
  border-radius: 16px;
  padding: 1rem;
}

.page-hero-small {
  padding: 2rem 0 0;
}

.page-hero-small-panel {
  position: relative;
  isolation: isolate;
  padding: 2.4rem;
  border-radius: 28px;
}

.page-hero-small-panel > * {
  position: relative;
  z-index: 1;
}

.page-hero-small-panel::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: clamp(40px, 8vw, 72px);
  aspect-ratio: 281 / 202;
  background: url("../assets/logo_idv_streamers.png") center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.page-hero-small-title {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(1.8rem, 2.5vw, 2.9rem);
  line-height: 1.15;
}

.page-hero-small-copy {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.9;
}

.content-grid {
  display: grid;
  gap: 1.5rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 1.5rem;
  border-radius: 24px;
}

.info-card h3,
.info-card h4 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.info-card p,
.info-card li {
  color: var(--muted);
  line-height: 1.9;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
}

.stat-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.preview-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.preview-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5.4;
  padding: 0.6rem;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
}

.preview-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.preview-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.preview-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-character {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.tag-personality {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.tag-cardback {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.tag-news-product,
.tag-product {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.tag-news-event,
.tag-event {
  background: rgba(16, 185, 129, 0.18);
  color: #bbf7d0;
}

.tag-news-rule,
.tag-rule {
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
}

.tag-news-other,
.tag-other {
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
}

.filter-chip.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.22));
  border-color: rgba(191, 219, 254, 0.24);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.card-grid-item {
  padding: 0.8rem;
}

.card-grid-frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card-grid-frame:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.card-grid-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5.4;
  overflow: hidden;
  padding: 0.55rem;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
}

.card-grid-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-grid-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: end start;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.06), rgba(2, 6, 12, 0.8));
}

.card-grid-fallback strong {
  display: block;
  font-size: 1rem;
}

.card-grid-fallback span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.card-grid-meta {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1rem 1.15rem;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.card-meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-no-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.96);
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-grid-meta strong {
  font-size: 1rem;
}

.card-grid-subline {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.card-rare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rare-R {
  background: rgba(107, 114, 128, 0.2);
  color: #4b5563;
}

.rare-SR {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
}

.rare-UR {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-card {
  overflow: hidden;
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.3), transparent 30%),
    linear-gradient(135deg, rgba(10, 14, 24, 0.96), rgba(18, 23, 40, 0.9));
}

.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(2, 6, 12, 0.62));
}

.news-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.2rem 1.35rem;
}

.news-card-date {
  color: var(--muted);
  font-size: 0.82rem;
}

.news-card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.news-card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.93rem;
}

.rule-grid {
  display: grid;
  gap: 1rem;
}

.rule-card {
  padding: 1.4rem;
}

.rule-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.rule-card h3::before {
  content: "◆";
  color: #1d4ed8;
  font-size: 0.9em;
  line-height: 1;
}

.rule-card p,
.rule-card li {
  color: var(--muted);
  line-height: 1.9;
}

.rule-table {
  width: 100%;
  border-collapse: collapse;
}

.rule-table th,
.rule-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}

.rule-table th {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout {
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(219, 234, 254, 0.72);
  color: #1e3a8a;
}

.rule-steps-flow {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.rule-step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.rule-step-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(124, 58, 237, 0.82));
  color: #ffffff;
  font-weight: 800;
}

.rule-step-body {
  display: grid;
  gap: 0.15rem;
}

.rule-step-body strong {
  font-size: 0.98rem;
}

.rule-step-body span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.rule-step-arrow {
  justify-self: center;
  color: rgba(15, 23, 42, 0.36);
  font-size: 1rem;
  line-height: 1;
}

.pursuit-diagram {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
}

.pursuit-hunter {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(220, 38, 38, 0.14);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.88), rgba(255, 255, 255, 0.98));
}

.pursuit-side-label {
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pursuit-hunter strong {
  font-size: 1.15rem;
}

.pursuit-hunter span:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.pursuit-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pursuit-target {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-height: 110px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.pursuit-target strong {
  font-size: 1rem;
}

.pursuit-target span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pursuit-target.is-chased {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.08);
}

.victory-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.15rem;
}

.victory-visual {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.victory-visual.hunter {
  border-color: rgba(220, 38, 38, 0.14);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(255, 255, 255, 0.98));
}

.victory-visual.survivor {
  border-color: rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.82), rgba(255, 255, 255, 0.98));
}

.victory-visual-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.victory-visual.hunter .victory-visual-label {
  color: #b91c1c;
}

.victory-visual.survivor .victory-visual-label {
  color: #1d4ed8;
}

.victory-visual-title {
  font-size: 1.15rem;
  line-height: 1.45;
}

.victory-visual-steps {
  display: grid;
  gap: 0.6rem;
}

.victory-visual-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.victory-visual-index {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.victory-visual-step span:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.turn-flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  margin-top: 1.15rem;
}

.turn-flow-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.turn-flow-card.hunter {
  border-color: rgba(220, 38, 38, 0.14);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(255, 255, 255, 0.98));
}

.turn-flow-card.survivor {
  border-color: rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.82), rgba(255, 255, 255, 0.98));
}

.turn-flow-count {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.turn-flow-card.hunter .turn-flow-count {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(239, 68, 68, 0.78));
}

.turn-flow-card.survivor .turn-flow-count {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.78));
}

.turn-flow-card strong {
  font-size: 1.05rem;
}

.turn-flow-card span:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.turn-flow-arrow {
  color: rgba(15, 23, 42, 0.36);
  font-size: 1.4rem;
  font-weight: 700;
}

.turn-flow-note {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  line-height: 1.7;
}

.decode-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.decode-node {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.decode-node strong {
  font-size: 1rem;
}

.decode-node span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.decode-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -0.72rem;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.34);
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 3.25rem;
}

.site-footer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 26px;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.footer-brand-logo {
  width: min(100%, 92px);
}

.footer-brand .footer-meta {
  margin: 0;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.76);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: white;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.loading-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-inner {
  display: grid;
  gap: 1.25rem;
  width: min(90vw, 360px);
  justify-items: center;
  text-align: center;
}

.loading-logo {
  width: min(48vw, 120px);
}

.loading-logo-image {
  filter: drop-shadow(0 20px 34px rgba(15, 23, 42, 0.18));
}

.loading-bar {
  width: 100%;
  height: 0.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.loading-bar-progress {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #111827;
  transition: width 300ms ease-out;
}

.loading-caption {
  color: #6b7280;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border-radius: 30px;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1.2rem;
}

.modal-media {
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  padding: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.modal-content {
  display: grid;
  gap: 1rem;
}

.modal-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.modal-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(15, 23, 42, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skill-panel {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.96);
}

.skill-panel h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.skill-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}

.side-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.side-tab {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.8);
}

.side-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(124, 58, 237, 0.72));
}

.side-panel {
  display: none;
}

.side-panel.is-active {
  display: block;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.reveal-left {
  transform: translateX(-42px);
}

.reveal.reveal-right {
  transform: translateX(42px);
}

.reveal.reveal-scale {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.hero-sequence {
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeUp 900ms ease forwards;
}

.hero-delay-1 {
  animation-delay: 120ms;
}

.hero-delay-2 {
  animation-delay: 260ms;
}

.hero-delay-3 {
  animation-delay: 380ms;
}

.hero-delay-4 {
  animation-delay: 500ms;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualFade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSmokeFlow {
  0% {
    opacity: 0;
    transform: translate3d(-4%, -10%, 0) scale(0.88);
  }

  18% {
    opacity: 0.72;
  }

  55% {
    opacity: 0.84;
    transform: translate3d(3%, 8%, 0) scale(1.02);
  }

  100% {
    opacity: 0;
    transform: translate3d(8%, 22%, 0) scale(1.15);
  }
}

@keyframes heroSmokeVeil {
  from {
    opacity: 0.34;
    transform: translateY(-4%) scale(0.96);
  }

  to {
    opacity: 0.72;
    transform: translateY(12%) scale(1.06);
  }
}

@media (max-width: 1080px) {
  .modal-layout,
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    padding-inline: 2.4rem;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero-grid,
  .two-col,
  .three-col,
  .preview-grid,
  .news-grid,
  .stat-grid,
  .victory-visual-grid,
  .decode-flow,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .pursuit-diagram,
  .turn-flow-diagram {
    grid-template-columns: 1fr;
  }

  .pursuit-target-grid {
    grid-template-columns: 1fr;
  }

  .turn-flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .decode-node:not(:last-child)::after {
    content: "↓";
    top: auto;
    bottom: -0.92rem;
    right: 50%;
    transform: translateX(50%);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    --hero-visual-height: clamp(240px, 52vw, 380px);
    min-height: auto;
  }

  .hero-grid {
    padding: 1.5rem;
  }

  .hero-top-visual {
    border-radius: 28px 28px 0 0;
  }

  .hero-smoke-flow {
    top: calc(var(--hero-visual-height) - 2.4rem);
    height: 160px;
  }

  .page-hero-small-panel,
  .info-card,
  .rule-card {
    padding: 1.2rem;
  }

  .site-header-inner {
    padding-inline: 0.8rem;
  }

  .site-brand-logo {
    width: 48px;
  }

  .site-footer-panel {
    display: grid;
  }

  .site-brand-subtitle {
    display: none;
  }

  .page-main {
    padding-top: calc(var(--header-height) + 10px);
  }
}

@media (max-width: 640px) {
  .page-container {
    width: min(100% - 1rem, 100%);
  }

  .hero-brand {
    width: min(100%, 180px);
  }

  .hero-highlight-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .filter-row {
    width: 100%;
  }

  .btn,
  .filter-chip {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }

  .card-grid-item {
    padding: 0.45rem;
  }

  .hero-card {
    --hero-visual-height: clamp(210px, 56vw, 300px);
  }

  .hero-smoke-flow {
    top: calc(var(--hero-visual-height) - 1.9rem);
    height: 120px;
  }

  .site-brand-logo {
    width: 42px;
  }

  .page-hero-small-panel::after {
    width: 44px;
    opacity: 0.035;
  }

  .loading-logo {
    width: min(52vw, 104px);
  }
}

@media (max-width: 480px) {
  .hero-brand {
    width: min(100%, 160px);
  }

  .page-hero-small-panel,
  .info-card,
  .rule-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .cards-grid {
    gap: 0.9rem;
  }

  .card-grid-item {
    padding: 0.2rem;
  }

  .card-grid-frame {
    border-radius: 20px;
  }

  .card-grid-art {
    padding: 0.65rem;
  }

  .card-grid-meta {
    gap: 0.45rem;
    padding: 0.9rem 0.9rem 1rem;
  }

  .card-grid-meta strong {
    font-size: 1.05rem;
  }

  .card-grid-subline {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .rule-table {
    table-layout: fixed;
  }

  .rule-table th,
  .rule-table td {
    padding: 0.75rem 0.65rem;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .rule-table th {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .modal {
    padding: 0.75rem;
  }

  .modal-panel {
    max-height: calc(100vh - 1.5rem);
    padding: 1rem;
    border-radius: 24px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .meta-pill {
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
  }

  .side-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .side-tab {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-top-visual {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .hero-smoke-flow::before {
    opacity: 0.44;
    animation: none !important;
  }

  .smoke-plume {
    opacity: 0.38;
    animation: none !important;
  }
}
