.case-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(114, 230, 164, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(87, 200, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #0b1017 0%, #101826 54%, #0d121c 100%);
  color: #eef3fa;
}

.case-page .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.case-page .case-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-page .case-hero,
.case-page .case-stage,
.case-page .case-catalog,
.case-page .drop-feed {
  background: rgba(14, 20, 31, 0.78);
  border: 1px solid rgba(132, 147, 165, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(5, 8, 15, 0.32);
}

.case-page .case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  padding: 28px;
}

.case-page .case-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-page .case-eyebrow,
.case-page .section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7e93ac;
}

.case-page #case-title,
.case-page .case-stage__head h2,
.case-page .case-catalog__head h2,
.case-page .drop-feed__head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  color: #f3f7fd;
}

.case-page .case-subtitle {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.55;
  color: #9caec3;
  min-height: 28px;
}

.case-page .case-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.case-page .case-highlight {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 156px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(132, 147, 165, 0.12);
  background: rgba(18, 26, 38, 0.7);
}

.case-page .case-highlight__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7e93ac;
}

.case-page .case-highlight__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #eef3fa;
}

.case-page .case-highlight__price {
  font-size: 13px;
  font-weight: 800;
  color: #f6b85f;
}

.case-page .case-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.case-page .case-stat {
  padding: 18px 20px;
  background: rgba(22, 31, 46, 0.72);
  border: 1px solid rgba(132, 147, 165, 0.12);
  border-radius: 18px;
}

.case-page .case-stat__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #7e93ac;
}

.case-page .case-stat__value {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  color: #f4f7fb;
}

.case-page .case-stage,
.case-page .case-catalog,
.case-page .drop-feed {
  padding: 24px;
}

.case-page .case-stage__head,
.case-page .case-catalog__head,
.case-page .drop-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.case-page .case-stage__head h2,
.case-page .case-catalog__head h2,
.case-page .drop-feed__head h2 {
  font-size: 24px;
}

.case-page .case-stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(114, 230, 164, 0.12);
  color: #72e6a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-page .case-stage__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.case-page .app {
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.case-page .app::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 244px;
  transform: translateX(-50%);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(87, 200, 255, 0.08), rgba(114, 230, 164, 0.04));
  box-shadow:
    inset 0 0 0 1px rgba(114, 230, 164, 0.14),
    0 18px 42px rgba(4, 8, 15, 0.34);
  pointer-events: none;
  z-index: 1;
}

.case-page .app::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.32) 18%,
    rgba(255, 255, 255, 0.32) 82%,
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  z-index: 3;
}

.case-page .pointer {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 18px 28px rgba(255, 89, 143, 0.34)) saturate(1.08);
}

.case-page .scope {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(132, 147, 165, 0.14);
  background:
    linear-gradient(180deg, rgba(26, 35, 52, 0.98) 0%, rgba(16, 23, 36, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -32px 48px rgba(4, 8, 15, 0.26);
  padding: 14px 0 18px;
}

.case-page .scope::before,
.case-page .scope::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.case-page .scope::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 25, 39, 0.98), rgba(18, 25, 39, 0));
}

.case-page .scope::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 25, 39, 0.98), rgba(18, 25, 39, 0));
}

.case-page .scope .list {
  position: relative;
  display: inline-flex;
  list-style: none;
  will-change: transform;
}

.case-page .scope .list .list_item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 236px;
  height: 216px;
  padding: 14px 12px 16px;
  opacity: 0.62;
  filter: saturate(0.82);
  transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.case-page .scope .list .list_item::before {
  content: "";
  position: absolute;
  inset: 10px 10px 12px;
  border-radius: 20px;
  border: 1px solid rgba(132, 147, 165, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(11, 17, 27, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.case-page .scope .list .list_item::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--rarity-accent, #7e93ac);
  box-shadow: 0 0 18px var(--rarity-shadow, rgba(126, 147, 172, 0.24));
  opacity: 0.92;
}

.case-page .scope .list .list_item > * {
  position: relative;
  z-index: 1;
}

.case-page .scope .list .list_item.rarity-common,
.case-page .scope .list .list_item.rarity-uncommon,
.case-page .scope .list .list_item.rarity-rare,
.case-page .scope .list .list_item.rarity-mythical,
.case-page .scope .list .list_item.rarity-legendary,
.case-page .scope .list .list_item.rarity-immortal,
.case-page .scope .list .list_item.rarity-arcana {
  background: transparent;
  border-bottom: none;
}

.case-page .scope .list .list_item.rarity-common,
.case-page .case-result.rarity-common,
.case-page .case-item-card.rarity-common,
.case-page .drop-reveal.rarity-common,
.case-page .drop-reveal__card.rarity-common {
  --rarity-accent: #e7eef9;
  --rarity-soft: rgba(231, 238, 249, 0.16);
  --rarity-shadow: rgba(231, 238, 249, 0.22);
  --rarity-radial: rgba(231, 238, 249, 0.16);
}

.case-page .scope .list .list_item.rarity-uncommon,
.case-page .case-result.rarity-uncommon,
.case-page .case-item-card.rarity-uncommon,
.case-page .drop-reveal.rarity-uncommon,
.case-page .drop-reveal__card.rarity-uncommon {
  --rarity-accent: #8fd9ff;
  --rarity-soft: rgba(143, 217, 255, 0.16);
  --rarity-shadow: rgba(143, 217, 255, 0.26);
  --rarity-radial: rgba(143, 217, 255, 0.18);
}

.case-page .scope .list .list_item.rarity-rare,
.case-page .case-result.rarity-rare,
.case-page .case-item-card.rarity-rare,
.case-page .drop-reveal.rarity-rare,
.case-page .drop-reveal__card.rarity-rare {
  --rarity-accent: #5caeff;
  --rarity-soft: rgba(92, 174, 255, 0.16);
  --rarity-shadow: rgba(92, 174, 255, 0.28);
  --rarity-radial: rgba(92, 174, 255, 0.18);
}

.case-page .scope .list .list_item.rarity-mythical,
.case-page .case-result.rarity-mythical,
.case-page .case-item-card.rarity-mythical,
.case-page .drop-reveal.rarity-mythical,
.case-page .drop-reveal__card.rarity-mythical {
  --rarity-accent: #b884ff;
  --rarity-soft: rgba(184, 132, 255, 0.16);
  --rarity-shadow: rgba(184, 132, 255, 0.28);
  --rarity-radial: rgba(184, 132, 255, 0.18);
}

.case-page .scope .list .list_item.rarity-legendary,
.case-page .case-result.rarity-legendary,
.case-page .case-item-card.rarity-legendary,
.case-page .drop-reveal.rarity-legendary,
.case-page .drop-reveal__card.rarity-legendary {
  --rarity-accent: #ff78bb;
  --rarity-soft: rgba(255, 120, 187, 0.16);
  --rarity-shadow: rgba(255, 120, 187, 0.28);
  --rarity-radial: rgba(255, 120, 187, 0.18);
}

.case-page .scope .list .list_item.rarity-immortal,
.case-page .case-result.rarity-immortal,
.case-page .case-item-card.rarity-immortal,
.case-page .drop-reveal.rarity-immortal,
.case-page .drop-reveal__card.rarity-immortal {
  --rarity-accent: #ff936d;
  --rarity-soft: rgba(255, 147, 109, 0.16);
  --rarity-shadow: rgba(255, 147, 109, 0.28);
  --rarity-radial: rgba(255, 147, 109, 0.18);
}

.case-page .scope .list .list_item.rarity-arcana,
.case-page .case-result.rarity-arcana,
.case-page .case-item-card.rarity-arcana,
.case-page .drop-reveal.rarity-arcana,
.case-page .drop-reveal__card.rarity-arcana {
  --rarity-accent: #ffd25f;
  --rarity-soft: rgba(255, 210, 95, 0.18);
  --rarity-shadow: rgba(255, 210, 95, 0.3);
  --rarity-radial: rgba(255, 210, 95, 0.2);
}

.case-page .scope .list .list_item.active {
  opacity: 1;
  transform: translateY(-3px);
  filter: none;
}

.case-page .scope .list .list_item.active::before {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(180deg, rgba(18, 26, 40, 0.98) 0%, rgba(12, 18, 30, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 38px rgba(4, 8, 15, 0.34);
}

.case-page .scope .list .list_item.active::after {
  left: 24px;
  right: 24px;
  height: 5px;
  box-shadow: 0 0 24px var(--rarity-shadow, rgba(126, 147, 172, 0.24));
}

.case-page .scope .list .list_item.active img {
  transform: scale(1.08);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4));
}

.case-page .scope .list .list_item .item-media {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  margin: 0 8px 12px;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, var(--rarity-radial, rgba(255, 255, 255, 0.12)), transparent 64%),
    linear-gradient(180deg, rgba(31, 43, 63, 0.82), rgba(16, 22, 34, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.case-page .scope .list .list_item img {
  width: 100%;
  max-width: 144px;
  height: 108px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.32));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.case-page .scope .list .list_item .item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 0 16px 14px;
  text-align: left;
  text-shadow: none;
}

.case-page .scope .list .list_item .item-rarity {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rarity-soft, rgba(132, 147, 165, 0.14));
  color: var(--rarity-accent, #c8d4e2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-page .scope .list .list_item .item-name {
  min-height: 38px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  color: #eff4fb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-page .scope .list .list_item .item-price {
  font-size: 14px;
  font-weight: 800;
  color: #f4f7fd;
}

.case-page .scope .list .list_item:not(.active) .item-name {
  color: rgba(239, 244, 251, 0.82);
}

.case-page .scope .list .list_item:not(.active) .item-price {
  color: rgba(216, 226, 239, 0.92);
}

.case-page .case-stage__footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}

.case-page .case-result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  min-height: 130px;
  background: rgba(19, 27, 40, 0.78);
  border: 1px solid rgba(132, 147, 165, 0.12);
  border-radius: 20px;
}

.case-page .case-result::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--rarity-accent, rgba(132, 147, 165, 0.18));
}

.case-page .case-result::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -52px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rarity-radial, rgba(132, 147, 165, 0.14)), transparent 70%);
  pointer-events: none;
}

.case-page .case-result--win.is-animate {
  animation: caseResultWin 940ms cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow:
    0 0 0 1px var(--rarity-soft, rgba(132, 147, 165, 0.14)),
    0 24px 52px rgba(4, 8, 15, 0.28),
    0 0 34px var(--rarity-shadow, rgba(132, 147, 165, 0.18));
}

.case-page .case-result--win.is-animate::after {
  animation: caseResultBloom 940ms ease-out;
}

.case-page .case-result--win.is-animate .case-result__image {
  animation: caseResultItemPop 780ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.case-page .case-result--empty {
  justify-content: center;
}

.case-page .case-result__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7e93ac;
}

.case-page .case-result__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  color: #d6dfeb;
}

.case-page .case-result__body p {
  margin: 0;
  color: #96a9bf;
}

.case-page .case-result__image {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.4);
  padding: 10px;
  box-shadow:
    inset 0 0 0 1px var(--rarity-soft, rgba(132, 147, 165, 0.14)),
    0 18px 32px rgba(4, 8, 15, 0.22);
}

.case-page .case-result__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.case-page .case-result__title {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #f3f7fd;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-page .case-result__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rarity-accent, #f6b85f);
}

.case-page .case-result__rarity {
  font-size: 12px;
  color: #8fa0b5;
}

.case-page .button-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 0;
  padding: 6px;
  border-radius: 22px;
  background: rgba(12, 18, 28, 0.54);
  border: 1px solid rgba(132, 147, 165, 0.08);
}

.case-page .case-stage__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-page .reveal-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(132, 147, 165, 0.12);
  background: rgba(12, 18, 28, 0.54);
  color: #d8e1ec;
  cursor: pointer;
  user-select: none;
}

.case-page .reveal-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.case-page .reveal-toggle__indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(132, 147, 165, 0.18);
  background: rgba(8, 13, 21, 0.78);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.case-page .reveal-toggle__indicator::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #08111a;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.case-page .reveal-toggle input:checked + .reveal-toggle__indicator {
  border-color: transparent;
  background: linear-gradient(135deg, #57c8ff 0%, #72e6a4 100%);
  box-shadow: 0 12px 24px rgba(87, 200, 255, 0.22);
}

.case-page .reveal-toggle input:checked + .reveal-toggle__indicator::after {
  transform: scale(1);
}

.case-page .reveal-toggle__text {
  font-size: 13px;
  font-weight: 700;
  color: #d8e1ec;
}

.case-page .start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #57c8ff 0%, #72e6a4 100%);
  color: #08111a;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(87, 200, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.case-page .start:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(87, 200, 255, 0.26);
}

.case-page .start:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.case-page .start--secondary {
  background: rgba(28, 39, 59, 0.95);
  color: #eef3fa;
  box-shadow: inset 0 0 0 1px rgba(132, 147, 165, 0.14);
}

.case-page .start--success {
  background: linear-gradient(135deg, #f6b85f 0%, #ff8b5c 100%);
  color: #1f1208;
}

.case-page .start--accent {
  background: linear-gradient(135deg, #b884ff 0%, #ff78bb 100%);
  color: #13091b;
  box-shadow: 0 14px 30px rgba(184, 132, 255, 0.2);
}

.case-page .start--ghost {
  background: rgba(28, 39, 59, 0.54);
  color: #eef3fa;
  box-shadow: inset 0 0 0 1px rgba(132, 147, 165, 0.14);
}

.case-page .case-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.case-page .case-item-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 312px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(132, 147, 165, 0.12);
  background:
    radial-gradient(circle at top right, var(--rarity-radial, rgba(132, 147, 165, 0.16)), transparent 38%),
    linear-gradient(180deg, rgba(19, 27, 40, 0.82) 0%, rgba(12, 18, 28, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 34px rgba(4, 8, 15, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.case-page .case-item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--rarity-accent, rgba(132, 147, 165, 0.22));
  opacity: 0.9;
}

.case-page .case-item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
  pointer-events: none;
}

.case-page .case-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 147, 165, 0.18);
  background:
    radial-gradient(circle at top right, var(--rarity-radial, rgba(132, 147, 165, 0.18)), transparent 40%),
    linear-gradient(180deg, rgba(22, 31, 46, 0.96) 0%, rgba(14, 21, 33, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 42px rgba(4, 8, 15, 0.24);
}

.case-page .case-item-card__media {
  position: relative;
  display: grid;
  align-items: start;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, var(--rarity-radial, rgba(255, 255, 255, 0.12)), transparent 64%),
    linear-gradient(180deg, rgba(10, 15, 24, 0.74), rgba(14, 21, 33, 0.92));
  box-shadow:
    inset 0 0 0 1px var(--rarity-soft, rgba(132, 147, 165, 0.12)),
    inset 0 16px 28px rgba(255, 255, 255, 0.02);
}

.case-page .case-item-card__spotlight,
.case-page .case-item-card__badge {
  position: absolute;
  top: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.case-page .case-item-card__spotlight {
  left: 12px;
  background:
    linear-gradient(180deg, rgba(15, 16, 22, 0.94), rgba(8, 11, 18, 0.88));
  color: #ffe28b;
  box-shadow:
    inset 0 0 0 1px rgba(245, 211, 124, 0.3),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

.case-page .case-item-card__badge {
  right: 12px;
  max-width: calc(100% - 108px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 16, 22, 0.94), rgba(8, 11, 18, 0.88));
  border: 1px solid var(--rarity-soft, rgba(132, 147, 165, 0.24));
  border: 1px solid color-mix(in srgb, var(--rarity-accent, #dbe4ef) 42%, transparent);
  color: var(--rarity-accent, #dbe4ef);
  color: color-mix(in srgb, var(--rarity-accent, #dbe4ef) 82%, #ffffff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.3),
    0 0 18px var(--rarity-shadow, rgba(132, 147, 165, 0.18));
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-page .case-item-card__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 34px 10px 16px;
}

.case-page .case-item-card__visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rarity-radial, rgba(255, 255, 255, 0.16)), transparent 72%);
  filter: blur(8px);
}

.case-page .case-item-card__media img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.case-page .case-item-card:hover .case-item-card__media img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.34));
}

.case-page .case-item-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.case-page .case-item-card__name {
  min-height: 48px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
  color: #f0f4fa;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-page .case-item-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  gap: 12px;
  border-top: 1px solid rgba(132, 147, 165, 0.1);
}

.case-page .case-item-card__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--rarity-accent, #f6b85f);
}

.case-page .case-item-card__rarity {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa0b5;
  text-align: right;
}

.case-page.drop-reveal-open {
  overflow: hidden;
}

.case-page .drop-reveal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 42px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.case-page .drop-reveal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-page .drop-reveal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 28%),
    rgba(5, 10, 18, 0.72);
  backdrop-filter: blur(18px);
}

.case-page .drop-reveal__ambient {
  position: absolute;
  width: min(54vw, 560px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rarity-radial, rgba(132, 147, 165, 0.2)), transparent 70%);
  filter: blur(20px);
  opacity: 0.82;
  animation: revealPulse 2.8s ease-in-out infinite alternate;
}

.case-page .drop-reveal__ambient--primary {
  top: 10%;
  left: 6%;
}

.case-page .drop-reveal__ambient--secondary {
  right: 4%;
  bottom: 8%;
  width: min(42vw, 420px);
  animation-duration: 3.2s;
  animation-delay: 0.24s;
}

.case-page .drop-reveal__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  max-height: calc(100vh - clamp(36px, 8vw, 84px));
  max-height: calc(100dvh - clamp(36px, 8vw, 84px));
  display: flex;
}

.case-page .drop-reveal__card {
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  width: min(100%, 840px);
  min-height: min(72vh, 620px);
  max-height: inherit;
  margin: 0 auto;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top, var(--rarity-radial, rgba(132, 147, 165, 0.22)), transparent 44%),
    linear-gradient(160deg, rgba(24, 35, 52, 0.94) 0%, rgba(8, 13, 22, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 120px rgba(0, 0, 0, 0.42);
}

.case-page .drop-reveal__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--rarity-accent, #7e93ac);
  box-shadow: 0 0 24px var(--rarity-shadow, rgba(126, 147, 172, 0.24));
}

.case-page .drop-reveal__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
  pointer-events: none;
}

.case-page .drop-reveal__card.is-win-burst {
  animation: dropRevealWinGlow 1.18s ease-out;
}

.case-page .drop-reveal__shine {
  position: absolute;
  top: -14%;
  bottom: -18%;
  left: -20%;
  width: 26%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2) 26%,
    rgba(255, 255, 255, 0.38) 52%,
    rgba(255, 255, 255, 0.14) 74%,
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-132%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.case-page .drop-reveal__header,
.case-page .drop-reveal__meta {
  position: relative;
  z-index: 1;
}

.case-page .drop-reveal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.case-page .drop-reveal__eyebrow,
.case-page .drop-reveal__badge,
.case-page .drop-reveal__status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.case-page .drop-reveal__eyebrow {
  background: rgba(8, 13, 21, 0.76);
  color: #c7d4e4;
  box-shadow: inset 0 0 0 1px rgba(132, 147, 165, 0.16);
}

.case-page .drop-reveal__badge {
  max-width: 240px;
  overflow: hidden;
  background: var(--rarity-soft, rgba(132, 147, 165, 0.14));
  color: var(--rarity-accent, #dbe4ef);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-page .drop-reveal__visual {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 280px;
  min-height: clamp(210px, 38vh, 340px);
  margin: 14px 0 18px;
  padding: 20px 0 28px;
}

.case-page .drop-reveal__halo,
.case-page .drop-reveal__rings {
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.case-page .drop-reveal__halo {
  width: min(72%, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rarity-radial, rgba(132, 147, 165, 0.22)), transparent 72%);
  filter: blur(10px);
}

.case-page .drop-reveal__rings {
  width: min(66%, 480px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 26px rgba(255, 255, 255, 0.03),
    0 0 0 52px rgba(255, 255, 255, 0.015);
  opacity: 0.92;
}

.case-page .drop-reveal__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(340px, 38vh);
  object-fit: contain;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.32));
}

.case-page .drop-reveal__card.is-win-burst .drop-reveal__halo {
  animation: dropRevealHaloBloom 1.35s ease-out;
}

.case-page .drop-reveal__card.is-win-burst .drop-reveal__rings {
  animation: dropRevealRingBurst 1.35s ease-out;
}

.case-page .drop-reveal__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.case-page .drop-reveal__price {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 0.98;
  color: var(--rarity-accent, #f6b85f);
}

.case-page .drop-reveal__title {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  color: #f4f8ff;
}

.case-page .drop-reveal__subline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.case-page .drop-reveal__case {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(14, 21, 32, 0.7);
  border: 1px solid rgba(132, 147, 165, 0.12);
  color: #d8e1ec;
  font-size: 13px;
  font-weight: 700;
}

.case-page .drop-reveal__status {
  background: rgba(114, 230, 164, 0.12);
  color: #72e6a4;
}

.case-page .drop-reveal__hint {
  color: #9daec3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: revealHint 1.3s ease-in-out infinite alternate;
}

.case-page .drop-reveal__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
  padding-top: 8px;
}

.case-page .reveal-toggle--modal {
  align-self: auto;
  background: rgba(8, 13, 21, 0.62);
  border-color: rgba(132, 147, 165, 0.16);
}

@keyframes revealPulse {
  from {
    transform: scale(0.94);
    opacity: 0.56;
  }

  to {
    transform: scale(1.08);
    opacity: 0.92;
  }
}

@keyframes caseResultWin {
  0% {
    transform: translateY(4px) scale(0.985);
  }

  42% {
    transform: translateY(-2px) scale(1.012);
  }

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

@keyframes caseResultBloom {
  0% {
    opacity: 0.1;
    transform: scale(0.82);
  }

  45% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes caseResultItemPop {
  0% {
    transform: translateY(8px) scale(0.82) rotate(-5deg);
    opacity: 0.36;
  }

  56% {
    transform: translateY(-4px) scale(1.12) rotate(2deg);
    opacity: 1;
  }

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

@keyframes dropRevealWinGlow {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 40px 120px rgba(0, 0, 0, 0.42);
  }

  48% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 0 1px var(--rarity-soft, rgba(132, 147, 165, 0.18)),
      0 36px 120px rgba(0, 0, 0, 0.44),
      0 0 70px var(--rarity-shadow, rgba(132, 147, 165, 0.24));
  }

  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 40px 120px rgba(0, 0, 0, 0.42);
  }
}

@keyframes dropRevealHaloBloom {
  0% {
    opacity: 0.28;
    transform: scale(0.78);
  }

  48% {
    opacity: 1;
    transform: scale(1.18);
  }

  100% {
    opacity: 0.92;
    transform: scale(1);
  }
}

@keyframes dropRevealRingBurst {
  0% {
    opacity: 0.16;
    transform: scale(0.7) rotate(-12deg);
  }

  56% {
    opacity: 1;
    transform: scale(1.14) rotate(4deg);
  }

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

@keyframes revealHint {
  from {
    opacity: 0.44;
  }

  to {
    opacity: 0.92;
  }
}

.case-page .drop-feed {
  position: sticky;
  left: auto;
  top: 92px;
  align-self: start;
  width: 100%;
  max-width: 320px;
  height: fit-content;
  overflow: hidden;
  border-right: none;
  z-index: auto;
}

.case-page #drop-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding-right: 4px;
}

.case-page #drop-feed-list li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(132, 147, 165, 0.1);
  border-radius: 16px;
  background: rgba(18, 26, 38, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.case-page #drop-feed-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(114, 230, 164, 0.24);
  background: rgba(21, 31, 45, 0.94);
}

.case-page #drop-feed-list li.is-static {
  cursor: default;
}

.case-page #drop-feed-list img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-right: 0;
  border-radius: 14px;
  background: rgba(7, 11, 18, 0.4);
  padding: 10px;
}

.case-page .drop-feed__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.case-page .drop-title {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #eef3fa;
}

.case-page .drop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #8fa0b5;
}

.case-page .drop-source {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(87, 200, 255, 0.12);
  color: #9bdcff;
  font-weight: 700;
}

.case-page .drop-feed-item-animate {
  animation: dropFadeIn 0.4s ease-out;
}

@media (max-width: 1220px) {
  .case-page .page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-page .drop-feed {
    position: static;
  }

  .case-page #drop-feed-list {
    max-height: none;
  }
}

@media (max-width: 920px) {
  .case-page .case-hero {
    grid-template-columns: 1fr;
  }

  .case-page .case-stage__footer {
    grid-template-columns: 1fr;
  }

  .case-page .drop-reveal__card {
    min-height: min(78vh, 560px);
    padding: 24px 22px 22px;
  }

  .case-page .drop-reveal__visual {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .case-page .page-shell {
    padding: 18px 14px 44px;
  }

  .case-page .case-hero,
  .case-page .case-stage,
  .case-page .case-catalog,
  .case-page .drop-feed {
    padding: 18px;
    border-radius: 20px;
  }

  .case-page .case-hero__meta,
  .case-page .button-group {
    grid-template-columns: 1fr;
  }

  .case-page .reveal-toggle {
    align-self: stretch;
    justify-content: center;
  }

  .case-page .app::before {
    width: 202px;
  }

  .case-page .scope .list .list_item {
    width: 194px;
    height: 184px;
  }

  .case-page .scope .list .list_item .item-media {
    margin: 0 6px 10px;
    padding: 10px;
  }

  .case-page .scope .list .list_item img {
    max-width: 120px;
    height: 88px;
  }

  .case-page .scope .list .list_item .item-info {
    padding: 0 12px 10px;
  }

  .case-page .scope .list .list_item .item-name {
    min-height: 34px;
    font-size: 13px;
  }

  .case-page .drop-reveal {
    padding: 12px;
  }

  .case-page .drop-reveal__shell {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .case-page .drop-reveal__card {
    min-height: auto;
    max-height: inherit;
    padding: 18px 16px 18px;
    border-radius: 24px;
  }

  .case-page .drop-reveal__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-page .drop-reveal__badge {
    max-width: 100%;
  }

  .case-page .drop-reveal__visual {
    flex-basis: 220px;
    min-height: clamp(170px, 34vh, 240px);
    margin: 12px 0 14px;
    padding: 8px 0 18px;
  }

  .case-page .drop-reveal__visual img {
    max-height: min(220px, 34vh);
  }

  .case-page .drop-reveal__rings {
    width: min(72%, 320px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 0 18px rgba(255, 255, 255, 0.03),
      0 0 0 36px rgba(255, 255, 255, 0.015);
  }

  .case-page .drop-reveal__title {
    max-width: 100%;
    font-size: clamp(24px, 7vw, 34px);
  }

  .case-page .drop-reveal__price {
    font-size: clamp(28px, 7vw, 40px);
  }

  .case-page .drop-reveal__subline {
    gap: 8px;
  }

  .case-page .drop-reveal__controls {
    flex-direction: column;
    align-items: stretch;
  }
}
