/* ── Case Hero ── */
.case-hero {
  position: relative;
  min-height: 560px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 44, 255, 0.28);
  margin-bottom: 40px;
  box-shadow:
    var(--shadow-card),
    0 0 80px rgba(139, 44, 255, 0.12),
    0 0 140px rgba(61, 8, 124, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.case-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 62%, rgba(139, 44, 255, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 40% at 50% 28%, rgba(61, 8, 124, 0.35), transparent 60%),
    radial-gradient(ellipse 35% 25% at 15% 20%, rgba(184, 76, 255, 0.1), transparent),
    radial-gradient(ellipse 35% 25% at 85% 20%, rgba(232, 234, 240, 0.06), transparent),
    linear-gradient(165deg, #12141c 0%, #08090f 45%, #05060b 100%);
}

.case-hero__fog {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.case-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(7, 9, 18, 0.7) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7, 9, 18, 0.85) 100%);
  pointer-events: none;
}

.case-hero__grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px) 1fr;
  gap: 24px;
  padding: 36px 40px 40px;
  min-height: 560px;
  align-items: center;
}

.hero-main {
  position: relative;
  text-align: center;
  justify-self: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 2;
}

.case-category {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.case-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-title--gold {
  background: linear-gradient(90deg, #f4e8ff 0%, #b84cff 25%, #8b2cff 50%, #b84cff 75%, #f4e8ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 48px rgba(139, 44, 255, 0.65));
  letter-spacing: 0.06em;
  animation: gold-shimmer 5s linear infinite;
}

@keyframes gold-shimmer {
  to { background-position: 200% center; }
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 12px;
  transition: color var(--dur-med);
}

.fav-btn:hover { color: #ff6b8a; }

.case-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0 20px;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.hero-actions .multiplier {
  padding: 6px;
}

.hero-actions .btn-open {
  min-width: 280px;
  width: min(100%, 360px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
}

.hero-actions .case-open-wait {
  margin: 0;
  max-width: 360px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.section-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-head p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.section-nav {
  display: flex;
  gap: 8px;
}

.section-nav-btn {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-secondary);
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.stats-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 28px;
  border-radius: 0;
  background: var(--bg-glass);
  border: 1px solid rgba(124, 60, 255, 0.18);
  backdrop-filter: blur(12px);
  margin-bottom: 32px;
  overflow-x: auto;
  box-shadow: 0 0 40px rgba(124, 60, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-item {
  flex: 1;
  min-width: 0;
  padding: 4px 8px;
  text-align: center;
}

.stat-icon {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  opacity: 0.7;
}

.stat-item b {
  display: block;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(124, 60, 255, 0.35);
}

.stat-item span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
}

.best-drops-wrap {
  overflow: hidden;
  margin-bottom: 40px;
}

.best-drops {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.page-header { margin-bottom: 28px; text-align: left; }
.page-header h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; }

.featured-case {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(124, 60, 255, 0.35);
  display: flex;
  align-items: end;
  box-shadow: 0 0 50px rgba(124, 60, 255, 0.12);
}

.featured-case__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.18), rgba(7, 9, 18, 0.95));
}

.featured-case img {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(124, 60, 255, 0.35));
}

.featured-case__content { position: relative; z-index: 1; }
.featured-case h2 { font-size: 26px; margin-bottom: 6px; }
.featured-case p { color: var(--text-muted); font-size: 13px; margin-bottom: 10px; }
.featured-case .price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(245, 185, 66, 0.4);
}

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Cases command center ── */
.cases-hero-mobile { display: none; }
.cases-command.desktop-only { display: grid; }

.cases-command { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.78fr) 180px; min-height:325px; margin-bottom:42px; overflow:hidden; border:1px solid rgba(184,76,255,.32); clip-path:var(--clip-cut); background:radial-gradient(ellipse 42% 110% at 72% 50%,rgba(139,44,255,.24),transparent 70%),linear-gradient(105deg,rgba(20,14,35,.98),rgba(10,11,19,.96) 57%,rgba(31,10,59,.94)); box-shadow:var(--shadow-card),0 0 74px rgba(139,44,255,.14),inset 0 1px rgba(255,255,255,.07); }
.cases-command::before { content:""; position:absolute; z-index:-1; inset:0; opacity:.5; background:linear-gradient(90deg,transparent 0 49.8%,rgba(255,255,255,.05) 50%,transparent 50.2%),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px); background-size:80px 100%,100% 58px; mask-image:linear-gradient(90deg,#000,transparent 78%); }
.cases-command__copy { align-self:center; padding:42px 0 42px 44px; }
.eyebrow { display:flex; align-items:center; gap:8px; margin-bottom:9px; color:var(--accent-purple-light); font-size:10px; font-weight:800; letter-spacing:.18em; }
.eyebrow i { width:7px; height:7px; background:var(--accent-purple-light); box-shadow:0 0 12px var(--accent-purple-light); transform:rotate(45deg); }
.cases-command h1 { max-width:570px; margin:0; color:#f9f8ff; font-size:clamp(42px,5vw,68px); line-height:.92; letter-spacing:.02em; }
.cases-command h1 em { color:var(--accent-purple-light); font-style:inherit; text-shadow:0 0 34px rgba(184,76,255,.5); }
.cases-command__copy > p { max-width:440px; margin-top:16px; color:var(--text-secondary); font-size:14px; }
.command-actions { display:flex; align-items:center; flex-wrap:wrap; gap:15px; margin-top:25px; }
.command-actions .btn { height:48px; padding:0 26px; font-size:13px; }
.command-hint { color:var(--text-muted); font-size:11px; font-weight:700; letter-spacing:.03em; }
.cases-command__visual { position:relative; display:grid; place-items:center; min-height:260px; overflow:hidden; }
.cases-command__visual::before { content:""; position:absolute; inset:17% 0 2%; background:radial-gradient(ellipse,rgba(211,44,230,.3),transparent 62%); filter:blur(18px); }
.cases-command__visual img { position:relative; width:min(310px,95%); max-height:230px; object-fit:contain; filter:drop-shadow(0 26px 26px rgba(0,0,0,.55)) drop-shadow(0 0 34px rgba(211,44,230,.48)); animation:command-float 4s ease-in-out infinite; }
.command-ring { position:absolute; width:230px; height:230px; border:1px solid rgba(184,76,255,.38); border-radius:50%; box-shadow:0 0 0 21px rgba(184,76,255,.05),0 0 0 42px rgba(184,76,255,.025); }
.command-ring::after { content:""; position:absolute; inset:-6px; border:2px solid transparent; border-top-color:var(--accent-purple-light); border-right-color:var(--accent-purple-light); border-radius:50%; transform:rotate(-24deg); }
.command-chip { position:absolute; top:31px; right:23px; z-index:1; padding:5px 8px; background:#df4aff; color:#160024; font-size:9px; font-weight:900; letter-spacing:.1em; clip-path:var(--clip-cut); }
.command-case-name { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:1; text-align:center; white-space:nowrap; }
.command-case-name b { display:block; font-size:13px; }.command-case-name span { display:block; color:var(--accent-purple-light); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.command-stats { display:flex; flex-direction:column; justify-content:center; gap:20px; padding:28px 25px; border-left:1px solid rgba(255,255,255,.07); background:rgba(0,0,0,.18); }
.command-stats div { padding-left:13px; border-left:2px solid var(--accent-purple); }.command-stats b { display:block; color:#fff; font-size:20px; font-weight:800; font-variant-numeric:tabular-nums; }.command-stats span { display:block; margin-top:1px; color:var(--text-muted); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
@keyframes command-float { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-12px) rotate(2deg)} }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:0 0 17px; }.section-heading .eyebrow { margin-bottom:3px; }.section-heading .section-title { margin:0; font-family:var(--font-display); font-style:italic; font-size:28px; letter-spacing:.04em; text-transform:uppercase; }.section-heading > p { margin:0 0 3px; color:var(--text-muted); font-size:12px; text-align:right; }

.inv-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; }
.inv-header__meta { margin: 4px 0 0; color: var(--text-muted); font-size: 13px; }
.inv-header__value { display: grid; gap: 2px; text-align: right; }
.inv-header__value-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.inv-header__value b {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.inv-value { font-size: 28px; font-weight: 800; color: var(--accent-gold); }
.inv-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.inv-card {
  position: relative;
  padding: 18px;
  border-radius: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  text-align: center;
  overflow: hidden;
  transition: transform var(--dur-med), border-color var(--dur-med), box-shadow var(--dur-med);
}

.inv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--r-color, var(--accent-purple)) 16%, transparent), transparent 65%);
  pointer-events: none;
}

.inv-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--r-color, var(--accent-purple)) 50%, transparent);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--r-color, var(--accent-purple)) 18%, transparent);
}

.inv-card img {
  position: relative;
  width: 100%;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 16px color-mix(in srgb, var(--r-color, transparent) 30%, transparent));
}
.inv-card .name { position: relative; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.inv-card .price { position: relative; color: var(--accent-gold); font-weight: 700; margin-bottom: 14px; text-shadow: 0 0 12px rgba(245, 185, 66, 0.3); }
.inv-card .actions { position: relative; display: flex; gap: 8px; }

@media (max-width: 1399px) {
  .contents-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1199px) {
  .case-hero__grid { grid-template-columns: 1fr minmax(340px, 520px) 1fr; }
  .best-drops { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .contents-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
  .case-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
    min-height: auto;
  }
  .hero-main {
    grid-column: auto;
  }
  .case-platform,
  .case-float { max-width: 100%; }
  .hero-actions .btn-open { min-width: 0; }
  .featured-row { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .best-drops { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 30%; }
}

@media (max-width: 767px) {
  .contents-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { flex: 1 1 45%; }
  .best-drops { grid-template-columns: 1fr; }
  .hero-actions .btn-open { width: 100%; }
}

.muted { color: var(--text-muted); margin-bottom: 12px; }
.section-title { font-size: 20px; font-weight: 700; margin: 8px 0 16px; }

.daily-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.daily-slot {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 16px 14px 18px;
  clip-path: var(--clip-cut);
  background: linear-gradient(155deg, rgba(37,25,48,.88), rgba(12,13,21,.92) 58%);
  border: 1px solid rgba(184,76,255,.2);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  transition: transform var(--dur-med), border-color var(--dur-med), box-shadow var(--dur-med);
}

.daily-slot::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 20%, rgba(184,76,255,.2), transparent 55%); pointer-events:none; }
.daily-slot:hover { transform:translateY(-6px); border-color:rgba(184,76,255,.7); box-shadow:0 18px 40px rgba(0,0,0,.35),0 0 32px rgba(139,44,255,.18); }
.daily-slot img { position:relative; width:100%; height:124px; object-fit:contain; margin-bottom:8px; filter:drop-shadow(0 14px 16px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(245,185,66,.18)); transition:transform var(--dur-med); }
.daily-slot:hover img { transform:scale(1.08); }.daily-slot h3,.slot-status,.daily-slot .btn { position:relative; }
.daily-slot.claimed,
.daily-slot.locked { opacity: 0.55; }
.slot-status { font-size: 12px; color: var(--text-muted); margin: 5px 0 12px; }

/* ── Battle pass / season track ── */
.pass-season {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(184, 76, 255, 0.32);
  clip-path: var(--clip-cut);
  background:
    radial-gradient(ellipse 48% 90% at 92% 0%, rgba(139, 44, 255, 0.28), transparent 68%),
    radial-gradient(ellipse 40% 70% at 8% 100%, rgba(61, 8, 124, 0.28), transparent 70%),
    linear-gradient(105deg, rgba(20, 14, 35, 0.98), rgba(10, 11, 19, 0.96) 58%, rgba(31, 10, 59, 0.94));
  box-shadow: var(--shadow-card), 0 0 74px rgba(139, 44, 255, 0.14), inset 0 1px rgba(255, 255, 255, 0.07);
}

.pass-season::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(255, 255, 255, 0.04) 50%, transparent 50.2%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 100%, 100% 52px;
  pointer-events: none;
}

.pass-season__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  min-height: 220px;
}

.pass-season__copy {
  align-self: center;
  padding: 36px 36px 12px 40px;
}

.pass-season h1 {
  max-width: 640px;
  margin: 0;
  color: #f9f8ff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
}

.pass-season h1 em {
  color: var(--accent-purple-light);
  font-style: inherit;
  text-shadow: 0 0 34px rgba(184, 76, 255, 0.5);
}

.pass-season__flavor {
  max-width: 460px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.pass-chip {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 10px;
  background: #df4aff;
  color: #160024;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  clip-path: var(--clip-cut);
}

.pass-hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}

.pass-hero-stats div { padding-left: 13px; border-left: 2px solid var(--accent-purple); }
.pass-hero-stats b {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pass-hero-stats span {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass-xp-block {
  padding: 8px 40px 28px;
}

.pass-xp-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple-light);
}

.pass-xp-meta span:last-child {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.pass-bar {
  position: relative;
  height: 14px;
  overflow: hidden;
  background: #07080e;
  border: 1px solid rgba(139, 44, 255, 0.28);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.45);
}

.pass-bar i {
  display: block;
  height: 100%;
  position: relative;
  background: linear-gradient(90deg, #3d087c 0%, #8b2cff 48%, #b84cff 100%);
  box-shadow: 0 0 18px rgba(139, 44, 255, 0.7);
}

.pass-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  background-size: 180px 100%;
  animation: pass-bar-sheen 2.6s ease-in-out infinite;
}

@keyframes pass-bar-sheen {
  from { background-position: -180px 0; }
  to { background-position: calc(100% + 180px) 0; }
}

.pass-prize {
  --r-color: var(--accent-purple);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 28px;
  align-items: center;
  padding: 26px 36px;
  margin-bottom: 28px;
  overflow: hidden;
  clip-path: var(--clip-cut);
  border: 1px solid color-mix(in srgb, var(--r-color) 42%, rgba(255, 255, 255, 0.06));
  background:
    radial-gradient(ellipse 70% 80% at 8% 50%, color-mix(in srgb, var(--r-color) 28%, transparent), transparent 70%),
    linear-gradient(110deg, rgba(18, 12, 28, 0.96), rgba(10, 11, 19, 0.96));
  box-shadow: var(--shadow-card), 0 0 48px color-mix(in srgb, var(--r-color) 18%, transparent);
}

.pass-prize::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--r-color);
  box-shadow: 0 0 18px color-mix(in srgb, var(--r-color) 80%, transparent);
}

.pass-prize.is-next {
  box-shadow: var(--shadow-card), 0 0 64px rgba(139, 44, 255, 0.28);
}

.pass-prize.is-done {
  opacity: 0.78;
}

.pass-prize__visual {
  position: relative;
  width: 118px;
  height: 96px;
}

.pass-prize__visual .pass-coin--lg:first-child {
  position: relative;
  z-index: 1;
}

.pass-prize__kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-purple-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pass-prize.is-done .pass-prize__kicker { color: #f5c542; }

.pass-prize__info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #f5c542;
  text-shadow: 0 0 28px rgba(245, 197, 66, 0.4);
}

.pass-prize__info p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.pass-track-wrap {
  --wrap-pad-y: 4px;
  --loot-h: 86px;
  --node-gap: 8px;
  --pip-size: 26px;
  --rail-h: 4px;
  /* Rail top = vertical center of .pass-node__pip (padding + loot + gap + half pip). */
  --pip-center: calc(var(--wrap-pad-y) + var(--loot-h) + var(--node-gap) + var(--pip-size) / 2);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--wrap-pad-y) 4px 20px;
  margin-bottom: 28px;
}

.pass-track-wrap::-webkit-scrollbar { height: 6px; }
.pass-track-wrap::-webkit-scrollbar-thumb { background: rgba(139, 44, 255, 0.4); }

.pass-track__rail {
  position: absolute;
  left: 4.5%;
  right: 4.5%;
  top: var(--pip-center);
  height: var(--rail-h);
  transform: translateY(-50%);
  z-index: 0;
  background: rgba(255, 255, 255, 0.07);
}

.pass-track__rail i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8b2cff, #b84cff);
  box-shadow: 0 0 12px rgba(139, 44, 255, 0.7);
}

.pass-track {
  --node-min: 104px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(var(--node-min), 1fr));
  width: max(100%, calc(10 * var(--node-min)));
  list-style: none;
  margin: 0;
  padding: 0;
}

.pass-node {
  --r-color: var(--accent-purple);
  display: grid;
  justify-items: center;
  gap: var(--node-gap);
  text-align: center;
  padding: 0 6px;
}

.pass-node__loot {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  min-height: var(--loot-h);
}

.pass-node__loot b {
  color: #f5c542;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(245, 197, 66, 0.35);
}

.pass-node__tick {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pass-node__pip {
  width: var(--pip-size);
  height: var(--pip-size);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  background: #101218;
  border: 2px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 0 4px rgba(8, 9, 14, 0.9);
}

.pass-node__lvl {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pass-node__status {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pass-node.is-done .pass-node__pip {
  background: #f5c542;
  border-color: #f5c542;
  color: #160024;
  box-shadow: 0 0 0 4px rgba(8, 9, 14, 0.9), 0 0 16px rgba(245, 197, 66, 0.35);
}

.pass-node.is-done .pass-node__status { color: #f5c542; }

.pass-node.is-current .pass-node__pip {
  background: var(--accent-purple);
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 0 4px rgba(8, 9, 14, 0.9), 0 0 22px rgba(139, 44, 255, 0.85);
  animation: pass-pip-glow 1.8s ease-in-out infinite;
}

.pass-node.is-current .pass-node__lvl {
  color: var(--accent-purple-light);
  text-shadow: 0 0 16px rgba(184, 76, 255, 0.55);
}

.pass-node.is-current .pass-node__status { color: var(--accent-purple-light); }

.pass-node.is-next .pass-node__pip {
  border-color: var(--r-color);
  box-shadow: 0 0 0 4px rgba(8, 9, 14, 0.9), 0 0 16px color-mix(in srgb, var(--r-color) 45%, transparent);
}

.pass-node.is-next .pass-node__loot b { animation: pass-pip-glow 1.8s ease-in-out infinite; }

.pass-node.is-locked {
  opacity: 0.42;
}

.pass-node.is-locked .pass-node__loot b { color: var(--text-muted); text-shadow: none; }

@keyframes pass-pip-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.28); }
}

.farm-header { margin-bottom: 20px; }
.farm-header .muted { max-width: 560px; }

.farm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  max-width: 720px;
}
.farm-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border-subtle);
}
.farm-stat span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.farm-stat b {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.farm-stat b.is-gold {
  color: #f0d78c;
  text-shadow: 0 0 18px rgba(240, 215, 140, 0.35);
}

.farm-msg { max-width: 720px; min-height: 1.4em; }

.farm-clicker {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(184, 76, 255, 0.28);
  background:
    radial-gradient(ellipse 70% 80% at 50% 18%, rgba(139, 44, 255, 0.2), transparent 58%),
    linear-gradient(180deg, #0c0d14 0%, #07080f 55%, #05060b 100%);
  box-shadow: var(--shadow-card), inset 0 1px rgba(255, 255, 255, 0.05);
  clip-path: var(--clip-cut);
}
.farm-clicker::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.farm-clicker::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 10px;
  left: 10px;
  border: 1px solid rgba(232, 234, 240, 0.2);
  pointer-events: none;
}

.farm-clicker__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.farm-clicker__model {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #fff;
}
.farm-clicker__sn {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.farm-clicker__led {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-purple-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.farm-clicker__led i {
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  box-shadow: 0 0 14px var(--accent-purple);
  animation: farm-led 1.2s ease-in-out infinite;
}
.farm-clicker.is-locked .farm-clicker__led {
  color: var(--text-muted);
}
.farm-clicker.is-locked .farm-clicker__led i {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}

.farm-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 12px 0 8px;
}

.farm-core {
  position: relative;
  width: 220px;
  height: 220px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.farm-core:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35) brightness(0.72);
}
.farm-core__ring {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(139, 44, 255, 0.28);
  animation: farm-ring 3.4s linear infinite;
  pointer-events: none;
}
.farm-core__ring--slow {
  inset: 0;
  border-color: rgba(240, 215, 140, 0.16);
  animation-duration: 5.6s;
  animation-direction: reverse;
}
.farm-core__crate {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 168px;
  filter: drop-shadow(0 0 22px rgba(139, 44, 255, 0.45));
  animation: farm-idle 2.4s var(--ease-out) infinite;
  pointer-events: none;
}
.farm-core__flash {
  position: absolute;
  inset: 28px;
  z-index: 2;
  background: radial-gradient(circle, rgba(240, 215, 140, 0.55), rgba(139, 44, 255, 0.12) 46%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}
.farm-core.is-hit .farm-core__crate {
  animation: farm-punch 0.18s var(--ease-out);
}
.farm-core.is-hit .farm-core__flash {
  animation: farm-flash 0.18s var(--ease-out);
}
.farm-core:not(:disabled):hover .farm-core__crate {
  filter: drop-shadow(0 0 32px rgba(139, 44, 255, 0.7));
}

.farm-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.farm-coin-pop {
  position: absolute;
  transform: translate(-50%, -120%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #f0d78c;
  text-shadow: 0 0 16px rgba(240, 215, 140, 0.55);
  animation: farm-coin 0.7s var(--ease-out) forwards;
  white-space: nowrap;
}
.farm-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #f0d78c;
  box-shadow: 0 0 10px rgba(139, 44, 255, 0.8);
  animation: farm-spark 0.42s var(--ease-out) forwards;
}

.farm-lock {
  position: absolute;
  inset: 18px 24px;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  background: rgba(5, 6, 11, 0.82);
  border: 1px solid rgba(139, 44, 255, 0.28);
  pointer-events: none;
}
.farm-lock[hidden] { display: none; }
.farm-lock__title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.farm-lock__time {
  margin: 0;
  color: var(--accent-purple-light);
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(139, 44, 255, 0.45);
}

.farm-energy-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.farm-energy-bar {
  height: 8px;
  background: rgba(232, 234, 240, 0.08);
}
.farm-energy-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-purple);
  box-shadow: 0 0 12px rgba(139, 44, 255, 0.55);
  transition: width 120ms linear;
}
.farm-energy-bar.is-low i { background: #f0d78c; box-shadow: 0 0 12px rgba(240, 215, 140, 0.4); }
.farm-energy-bar.is-empty i { background: var(--text-muted); box-shadow: none; }

@keyframes farm-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes farm-idle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes farm-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes farm-punch {
  0% { transform: scale(1); }
  40% { transform: scale(0.9); }
  100% { transform: scale(1.04); }
}
@keyframes farm-flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes farm-coin {
  0% { opacity: 0; transform: translate(-50%, -40%); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -150%); }
}
@keyframes farm-spark {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

@media (max-width: 720px) {
  .farm-core { width: 188px; height: 188px; }
  .farm-core__crate { width: 148px; height: 148px; }
  .farm-lock__title { font-size: 22px; }
}

/* Mobile / short screens: compact chrome, keep clicker near the fold */
@media (max-width: 900px), (max-height: 700px) {
  .farm-header {
    margin-bottom: 12px;
  }
  .farm-header h1 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1;
  }
  .farm-header .muted {
    margin-top: 6px;
    font-size: 13px;
  }

  .farm-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
  }
  .farm-stat {
    padding: 8px 8px;
    gap: 2px;
  }
  .farm-stat span { font-size: 8px; letter-spacing: 0.06em; }
  .farm-stat b { font-size: 13px; }

  .farm-clicker {
    padding: 12px 12px 10px;
    margin-bottom: 10px;
  }
  .farm-clicker__top {
    margin-bottom: 4px;
    padding-bottom: 8px;
  }
  .farm-clicker__model { font-size: 16px; }
  .farm-stage {
    min-height: 200px;
    padding: 4px 0 2px;
  }
  .farm-energy-row {
    margin-top: 4px;
    padding-top: 10px;
  }
  .farm-msg { margin: 0 0 10px; }
}

/* Only when viewport is truly tiny — drop header + hint */
@media (max-height: 380px) {
  .farm-header { display: none; }
  .farm-msg { display: none; }
  .farm-stats {
    gap: 4px;
    margin-bottom: 8px;
  }
  .farm-stat { padding: 6px 6px; }
  .farm-stat b { font-size: 12px; }
  .farm-clicker__top { display: none; }
  .farm-stage {
    min-height: 150px;
    padding: 0;
  }
  .farm-core { width: 140px; height: 140px; }
  .farm-core__crate { width: 112px; height: 112px; }
  .farm-energy-row {
    margin-top: 2px;
    padding-top: 8px;
  }
}

.player-card {
  display: grid;
  gap: 12px;
  max-width: 360px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  justify-items: start;
}
.player-card .avatar { width: 56px; height: 56px; font-size: 22px; }
.player-card h2 { margin: 0; }
.player-drop { width: 160px; height: 90px; object-fit: contain; }

.profile-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}
.profile-form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-muted); }
.profile-interface {
  display: grid;
  gap: 10px;
}
.profile-interface-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.profile-interface-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.profile-form .audio-setting {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
}
.audio-setting output { font-variant-numeric: tabular-nums; }
.profile-form .audio-setting input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent, #8b2cff);
  cursor: pointer;
}
.audio-mute { flex-shrink: 0; }
.audio-mute[aria-pressed="true"] { color: var(--text-muted); }
.audio-setting input:focus-visible, .audio-mute:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 3px;
}
.profile-form input {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: inherit;
}

.topup-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  padding: 12px;
  overflow-y: auto;
}
.topup-modal.is-active { display: grid; }
.topup-card {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated, #12141f);
  border: 1px solid var(--border-subtle);
  display: grid;
  gap: 10px;
}

.cs-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.2s, transform 0.2s;
}
.cs-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.nav-link.is-soon { opacity: 0.7; }

@media (max-width: 991px) {
  .cases-command { grid-template-columns: 1fr 1fr; }.command-stats { grid-column:1 / -1; flex-direction:row; justify-content:space-between; padding:17px 25px; border-top:1px solid rgba(255,255,255,.07); border-left:0; }.command-stats div { flex:1; }
  .daily-grid { grid-template-columns: repeat(2, 1fr); }
  .pass-season__hero { grid-template-columns: 1fr; }
  .pass-hero-stats { flex-direction: row; justify-content: space-between; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .pass-hero-stats div { flex: 1; }
  .pass-season__copy { padding: 28px 24px 8px; }
  .pass-xp-block { padding: 8px 24px 22px; }
}

@media (max-width: 640px) {
  .section-heading { align-items:flex-start; flex-direction:column; gap:4px; }.section-heading > p { text-align:left; }.command-hint { width:100%; }
  .pass-season__copy { padding: 24px 16px 8px; }
  .pass-season h1 { font-size: clamp(28px, 9vw, 40px); }
  .pass-xp-block { padding: 8px 16px 18px; }
  .pass-xp-meta { flex-wrap: wrap; gap: 6px; }
  .pass-prize { grid-template-columns: 1fr; padding: 18px 16px; }
  .pass-prize__visual { margin: 0 auto; }
  .pass-prize__info h2 { font-size: clamp(28px, 9vw, 40px); }
  .pass-track-wrap {
    --loot-h: 72px;
    --pip-size: 22px;
    --node-gap: 6px;
  }
  .pass-track { --node-min: 76px; }
  .pass-node { padding: 0 4px; }
  .pass-node__loot b { font-size: 11px; }
  .pass-node__lvl { font-size: 14px; }
  .pass-node__status { font-size: 8px; }
}

/* ── Mobile homepage / inventory composition ── */
@media (max-width: 767px) {
  .desktop-only { display: none !important; }

  .cases-hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    max-height: none;
    margin-bottom: 20px;
    padding: 16px 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(184, 76, 255, 0.32);
    clip-path: var(--clip-cut);
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 44, 255, 0.22), transparent 68%),
      linear-gradient(180deg, rgba(20, 14, 35, 0.98), rgba(10, 11, 19, 0.96));
    box-shadow: var(--shadow-card), 0 0 48px rgba(139, 44, 255, 0.12);
  }

  .cases-hero-mobile .eyebrow { margin-bottom: 8px; }

  .cases-hero-mobile h1 {
    margin: 0;
    color: #f9f8ff;
    font-size: clamp(32px, 9.5vw, 44px);
    line-height: 0.92;
    letter-spacing: 0.02em;
  }

  .cases-hero-mobile h1 em {
    color: var(--accent-purple-light);
    font-style: inherit;
    text-shadow: 0 0 24px rgba(184, 76, 255, 0.45);
  }

  .cases-hero-mobile__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    height: clamp(140px, 34vw, 180px);
    margin: 12px 0 14px;
  }

  .cases-hero-mobile__visual::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    background: radial-gradient(ellipse, rgba(211, 44, 230, 0.28), transparent 62%);
    filter: blur(14px);
  }

  .cases-hero-mobile__visual img {
    position: relative;
    width: min(220px, 72vw);
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(211, 44, 230, 0.42));
  }

  .cases-hero-mobile__cta {
    width: 100%;
    min-height: 52px;
    height: 52px;
    padding: 0 18px;
    font-size: 13px;
  }

  .cases-hero-mobile__hint {
    margin: 10px 0 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
  }

  .cases-hero-mobile__hint b { color: var(--accent-purple-light); }

  .cases-hero-mobile__bonus {
    margin: 6px 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

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

  .section-heading > p { margin: 0; text-align: left; }

  .section-heading .section-title { font-size: 24px; }

  .daily-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 0 0 24px;
    padding: 0 0 8px;
    scrollbar-width: none;
  }

  .daily-grid::-webkit-scrollbar { display: none; }

  .daily-slot {
    flex: 0 0 min(82vw, 280px);
    scroll-snap-align: start;
    padding: 14px 12px 16px;
  }

  .daily-slot img {
    height: 108px;
    margin-bottom: 6px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .case-card {
    padding: 12px 10px 10px;
    min-width: 0;
  }

  .case-card__hit h3,
  .case-card h3 {
    font-size: 13px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .case-card img {
    height: 96px;
    margin-bottom: 8px;
  }

  .case-card .row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .case-card .price {
    font-size: 13px;
    text-align: center;
  }

  .case-card .row .btn {
    font-size: 10px;
    height: 34px;
    padding: 0 6px;
  }

  .inv-header {
    align-items: flex-end;
    margin-bottom: 16px;
  }

  .inv-header__value b { font-size: 24px; }

  .inv-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .inv-card {
    padding: 14px 14px 12px;
  }

  .inv-card img {
    height: 88px;
    margin-bottom: 8px;
  }

  .inv-card .name { font-size: 13px; margin-bottom: 2px; }
  .inv-card .sub { font-size: 12px; }
  .inv-card .price { margin-bottom: 10px; font-size: 14px; }
}

.case-card__hit,
.daily-slot__hit {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.daily-slot__hit h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.case-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.case-preview-modal.is-active { display: flex; }

.case-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 6, 14, 0.82);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.case-preview-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: min(calc(100dvh - 32px), 760px);
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid rgba(139, 44, 255, 0.35);
  background: linear-gradient(180deg, rgba(16, 18, 24, 0.98), rgba(8, 9, 14, 0.98));
  box-shadow: var(--shadow-card), 0 0 60px rgba(139, 44, 255, 0.18);
}

.case-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.case-preview-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 12px;
  padding-right: 36px;
}

.case-preview-head img {
  width: 96px;
  height: 72px;
  object-fit: contain;
}

.case-preview-head h2 {
  margin: 0;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1;
}

.case-preview-price {
  margin: 6px 0 0;
  color: var(--accent-gold);
  font-weight: 800;
}

.case-preview-label {
  flex-shrink: 0;
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-preview-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 0;
  max-height: min(42vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.case-preview-actions {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 44, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.88), rgba(8, 9, 14, 1));
}

.rewards-header { margin-bottom: 18px; }
.rewards-streak {
  margin: 8px 0 0;
  color: var(--accent-purple-light);
  font-size: 13px;
  font-weight: 700;
}

.rewards-track-wrap {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 16px;
}

.rewards-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 -16px;
  padding: 0 16px 8px;
  scrollbar-width: thin;
}

.rewards-track::-webkit-scrollbar {
  height: 6px;
}

.rewards-track::-webkit-scrollbar-thumb {
  background: rgba(139, 44, 255, 0.35);
  border-radius: 3px;
}

.rewards-day {
  flex: 0 0 124px;
  width: 124px;
  scroll-snap-align: center;
  display: grid;
  gap: 6px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.rewards-day.is-done {
  opacity: 0.55;
  border-color: rgba(245, 197, 66, 0.35);
}

.rewards-day.is-current {
  border-color: rgba(139, 44, 255, 0.55);
  box-shadow: 0 0 24px rgba(139, 44, 255, 0.2);
}

.rewards-day__label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rewards-day__amount {
  color: #f5c542;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rewards-claim {
  width: 100%;
  min-height: 52px;
}

@media (min-width: 768px) {
  .rewards-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(124px, 1fr));
    gap: 10px;
    overflow: visible;
    margin: 0;
    padding: 0 0 8px;
    scroll-snap-type: none;
  }

  .rewards-day {
    flex: none;
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
  }
}

@media (max-width: 767px) {
  .case-preview-actions { grid-template-columns: 1fr; }
  .case-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Case preview in phone landscape: smaller drop thumbs, actions pinned below scroll area */
@media (orientation: landscape) and (max-height: 520px) {
  .case-preview-modal {
    align-items: stretch;
    padding: 8px 10px;
  }

  .case-preview-card {
    max-height: calc(100dvh - 16px);
    padding: 10px 12px 12px;
  }

  .case-preview-head {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 6px;
    padding-right: 32px;
  }

  .case-preview-head img {
    width: 64px;
    height: 48px;
  }

  .case-preview-head h2 {
    font-size: 18px;
  }

  .case-preview-price {
    font-size: 10px;
  }

  .case-preview-label {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .case-preview-grid {
    max-height: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 4px;
  }

  .case-preview-grid .item-card {
    min-height: 118px;
    padding: 8px 6px 10px;
  }

  .case-preview-grid .item-card .prob {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .case-preview-grid .item-card img {
    width: auto;
    max-width: 88%;
    height: 48px;
    margin: 0 auto 6px;
  }

  .case-preview-grid .item-card .name {
    font-size: 10px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .case-preview-grid .item-card .sub {
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .case-preview-grid .item-card .item-price {
    margin-top: 4px;
    font-size: 10px;
  }

  .case-preview-actions {
    margin-top: 10px;
    padding-top: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .case-preview-actions .btn {
    min-height: 40px;
    height: 40px;
    font-size: 12px;
  }

  /* Case detail hero — landscape: override effects.css platform height, sane spacing */
  .case-hero {
    min-height: 0;
    overflow: visible;
    margin-bottom: 10px;
  }

  .case-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 8px 14px 10px;
    gap: 0;
  }

  .case-hero .hero-main {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
  }

  .case-hero .case-category {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent-purple-light);
    text-shadow: 0 0 16px rgba(184, 76, 255, 0.35);
  }

  .case-hero .case-title {
    margin: 0;
    font-size: clamp(20px, 4.5vw, 26px);
    line-height: 0.94;
  }

  .case-hero .case-visual {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .case-hero .case-platform {
    width: min(240px, 50vw);
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .case-hero .case-float {
    display: block;
    width: min(220px, 46vw);
    height: auto;
    max-height: 120px;
    margin: 0;
    object-fit: contain;
    animation: none;
    filter:
      drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 32px rgba(124, 60, 255, 0.22));
  }

  .case-hero .hero-actions {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: min(100%, 300px);
    margin: 0;
    padding: 0;
  }

  .case-hero .hero-actions .btn-open,
  .case-hero .hero-actions .btn-fast {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .section-head {
    margin-bottom: 10px;
  }

  .section-head h2.display {
    font-size: clamp(18px, 4vw, 22px);
  }

  .section-head p {
    font-size: 11px;
  }

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

  .contents-grid .item-card {
    min-height: 118px;
    padding: 8px 6px 10px;
  }

  .contents-grid .item-card img {
    height: 48px;
    margin-bottom: 6px;
  }

  .contents-grid .item-card .name {
    font-size: 10px;
    line-height: 1.25;
  }

  .contents-grid .item-card .sub {
    font-size: 9px;
  }

  .contents-grid .item-card .item-price {
    font-size: 10px;
  }

  /* Homepage hero: compact vertical stack ~365–385px */
  .cases-hero-mobile {
    max-height: 385px;
    margin-bottom: 12px;
    padding: 10px 14px 12px;
  }

  .cases-hero-mobile .eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .cases-hero-mobile h1 {
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 0.94;
  }

  .cases-hero-mobile__visual {
    height: clamp(111px, 28vh, 131px);
    margin: -14px 0 2px;
    place-items: start center;
  }

  .cases-hero-mobile__visual img {
    width: min(200px, 42vw);
    max-height: clamp(111px, 28vh, 131px);
    transform: translateY(-10px);
  }

  .cases-hero-mobile__cta {
    width: min(68%, 300px);
    align-self: center;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }

  .cases-hero-mobile__hint {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.25;
  }

  .cases-hero-mobile__bonus {
    margin: 2px 0 0;
    font-size: 9px;
  }

  .section-heading {
    margin-bottom: 8px;
  }

  .section-heading .section-title {
    font-size: 20px;
  }

  .daily-grid {
    margin-bottom: 16px;
  }
}
