/* Pages ported from bolt-clone-builder */

.btn--xl {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.bolt-page {
  position: relative;
  min-height: calc(100vh - 2.5rem - 58px);
  overflow: hidden;
}

.bolt-page__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.bolt-page__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 5, 6, 0.88), rgba(20, 6, 10, 0.75));
}

.bolt-page__veil--blood {
  background:
    linear-gradient(160deg, rgba(5, 5, 6, 0.9), rgba(40, 8, 14, 0.78)),
    radial-gradient(700px 300px at 70% 10%, rgba(244, 63, 94, 0.25), transparent 60%);
}

.bolt-page__inner {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.25rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bolt-badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.45);
  font-weight: 700;
  font-size: 0.82rem;
}

.bolt-h1 {
  margin: 0.85rem 0 0.35rem;
  font-family: "Russo One", var(--font-display), sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
}

.bolt-sub {
  margin: 0 0 1.25rem;
  color: rgba(232, 226, 214, 0.7);
}

/* Home */
.bolt-home {
  position: relative;
  min-height: calc(100vh - 2.5rem - 58px);
  overflow: auto;
}

.bolt-home__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.bolt-home__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.45) 55%, rgba(5, 5, 6, 0.7)),
    linear-gradient(0deg, rgba(5, 5, 6, 0.95), transparent 40%);
}

.bolt-home__inner {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.bolt-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.bolt-hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bolt-hero__art img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(244, 63, 94, 0.35);
  object-fit: cover;
}

/* ===== Home v2 ===== */
.home-v2 {
  position: relative;
  min-height: calc(100vh - 2.5rem - 58px);
  overflow: auto;
  color: #f2ebe3;
}

.home-v2__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.42;
  transform: scale(1.03);
  animation: home-drift 22s ease-in-out infinite alternate;
}

.home-v2__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 3, 4, 0.94) 0%, rgba(8, 4, 6, 0.72) 48%, rgba(10, 5, 7, 0.55) 100%),
    linear-gradient(0deg, rgba(4, 3, 4, 0.98) 0%, transparent 42%),
    radial-gradient(680px 320px at 78% 18%, rgba(244, 63, 94, 0.28), transparent 62%);
}

.home-hero {
  position: relative;
  z-index: 2;
  min-height: min(78vh, 760px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem) 1.5rem;
}

.home-hero__copy {
  max-width: 34rem;
  padding-bottom: clamp(1rem, 4vh, 3rem);
  animation: home-rise 0.7s ease both;
}

.home-hero__brand {
  margin: 0 0 0.85rem;
  font-family: "Russo One", "Noto Sans JP", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 28px rgba(244, 63, 94, 0.35),
    0 18px 50px rgba(0, 0, 0, 0.55);
}

.home-hero__title {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
  color: rgba(242, 235, 227, 0.92);
}

.home-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: rgba(232, 226, 214, 0.72);
  font-size: 1.02rem;
  line-height: 1.5;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.home-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: home-rise 0.9s 0.08s ease both;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 28%;
  bottom: 6%;
  left: 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(244, 63, 94, 0.45), transparent 70%);
  filter: blur(18px);
  animation: home-pulse 3.4s ease-in-out infinite;
}

.home-hero__visual img {
  position: relative;
  width: min(100%, 460px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
  animation: home-float 5.5s ease-in-out infinite;
}

.home-live {
  position: relative;
  z-index: 2;
  margin: 0.5rem clamp(1rem, 3vw, 2.25rem) 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(12, 8, 10, 0.88), rgba(6, 4, 5, 0.92)),
    radial-gradient(500px 180px at 20% 0%, rgba(244, 63, 94, 0.18), transparent 60%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  animation: home-rise 0.75s 0.12s ease both;
}

.home-live__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.home-live__kicker {
  margin: 0 0 0.35rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ff4d67;
}

.home-live__head h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.home-live__open {
  color: rgba(242, 235, 227, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(244, 63, 94, 0.55);
  padding-bottom: 0.1rem;
  transition: color 0.18s ease;
}

.home-live__open:hover {
  color: #fff;
}

.home-live__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.7fr);
  gap: 0.75rem;
  min-height: 420px;
}

.home-live__player,
.home-live__chat {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0a0708;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 360px;
}

.home-live__player iframe,
.home-live__chat iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-ways {
  position: relative;
  z-index: 2;
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 0.5rem;
}

.home-ways h2 {
  margin: 0 0 0.9rem;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
}

.home-ways__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-way {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 5, 6, 0.72);
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 92px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-way img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.home-way span {
  font-weight: 800;
  font-size: 0.95rem;
}

.home-way:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.7);
  background: rgba(28, 10, 14, 0.85);
}

.home-socials {
  position: relative;
  z-index: 2;
  margin: 2rem clamp(1rem, 3vw, 2.25rem) 2.25rem;
  padding: 1.5rem 1.35rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.home-socials__kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 226, 214, 0.55);
  font-weight: 700;
}

.home-socials__text h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.home-socials__text p:last-child {
  margin: 0.45rem 0 0;
  color: rgba(232, 226, 214, 0.68);
}

.home-socials__links {
  display: grid;
  gap: 0.7rem;
}

.home-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-social strong {
  display: block;
  font-size: 1rem;
}

.home-social small {
  color: rgba(232, 226, 214, 0.6);
  font-size: 0.8rem;
}

.home-social__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.home-social--tg .home-social__mark {
  background: rgba(36, 161, 222, 0.18);
  color: #57c3f0;
}

.home-social--tw .home-social__mark {
  background: rgba(145, 70, 255, 0.16);
  color: #c4a3ff;
}

.home-social:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.55);
  background: rgba(20, 8, 10, 0.7);
}

@keyframes home-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes home-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
  }
  .home-hero__visual {
    order: -1;
  }
  .home-hero__visual img {
    width: min(72vw, 340px);
  }
  .home-live__stage {
    grid-template-columns: 1fr;
  }
  .home-live__chat {
    min-height: 280px;
  }
  .home-ways__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-socials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-live {
    margin-inline: 0.65rem;
    padding: 0.85rem;
  }
  .home-live__player {
    min-height: 220px;
  }
}

.bolt-nav-cards h2 {
  margin: 0 0 1rem;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
}

.bolt-nav-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bolt-nav-card {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-align: left;
  color: #f2ebe3;
  font: inherit;
  min-height: 190px;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  display: grid;
  align-content: end;
  gap: 0.4rem;
  background-color: #1a0c10;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bolt-nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.75);
  box-shadow: 0 20px 48px rgba(244, 63, 94, 0.25);
}

.bolt-nav-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 0.35rem;
}

.bolt-nav-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.bolt-nav-card__title {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}

.bolt-nav-card__desc {
  color: rgba(232, 226, 214, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .bolt-nav-cards__grid {
    grid-template-columns: 1fr;
  }
}

/* Wheel */
.wheel-wrap {
  position: relative;
  width: min(340px, 84vw);
  height: min(340px, 84vw);
  margin: 1rem auto 1.5rem;
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #a78bfa;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.wheel-disk {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid rgba(167, 139, 250, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a0a0e;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, #a78bfa 55%, #b8860b);
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.wheel-seg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: rotate(var(--ang));
}

.wheel-seg__inner {
  margin-top: 18px;
  transform: translateY(0);
}

.wheel-seg__coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  font-size: 0.78rem;
}

.wheel-seg__coin .coin-ico {
  font-size: 1rem;
  line-height: 1;
}

.wheel-seg__img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.coin-ico {
  display: inline-block;
  font-style: normal;
}

.bolt-prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.bolt-prize {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.bolt-prize__coin {
  font-size: 1.5rem;
}

.bolt-prize--case img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.bolt-prize h4 { margin: 0.35rem 0 0.15rem; font-size: 0.9rem; }
.bolt-prize p { margin: 0; color: #a78bfa; font-weight: 700; font-size: 0.82rem; }

.bolt-win__case {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.35rem;
  display: block;
}

.crash__timer {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.35);
  font-size: 0.85rem;
  white-space: nowrap;
}

.crash__board {
  position: relative;
}

.bolt-win {
  margin: 1rem auto;
  max-width: 420px;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.45);
  display: grid;
  gap: 0.25rem;
}

.bolt-win__icon { font-size: 2rem; }
.bolt-win--legendary, .bolt-win--jackpot, .bolt-win--mythic {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.15);
}

/* Games hub */
.bolt-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.bolt-game-card {
  appearance: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(80, 12, 22, 0.55), rgba(10, 8, 10, 0.75));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bolt-game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.7);
}

.bolt-game-card.is-featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(160, 20, 40, 0.65), rgba(20, 8, 12, 0.85));
  border-color: rgba(167, 139, 250, 0.35);
}

.bolt-game-card__icon { font-size: 1.8rem; }
.bolt-game-card__tag {
  color: #a78bfa;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.case-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: grid;
  gap: 0.65rem;
}

.case-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

.case-card img.is-opening {
  animation: case-bounce 0.45s ease infinite alternate;
}

.case-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.case-card__price {
  display: inline-flex;
  justify-self: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #a78bfa;
  font-weight: 800;
}

.case-card__items {
  text-align: left;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  display: grid;
  gap: 0.3rem;
}

.case-card__items div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.case-card__items em {
  color: rgba(232, 226, 214, 0.55);
  font-style: normal;
}

.r-common { color: #cfcfcf; }
.r-uncommon { color: #81c784; }
.r-rare { color: #64b5f6; }
.r-epic { color: #ce93d8; }
.r-mythical { color: #ef5350; }
.r-legendary { color: #ffd54f; }

.drop-stats {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drop-stats h3 {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
}

.drop-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
}

.drop-stat {
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.2rem;
}

.drop-stat b { font-size: 0.85rem; }
.drop-stat i { font-style: normal; color: #a78bfa; font-weight: 800; }

@keyframes case-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px) scale(1.04); }
}

@media (max-width: 900px) {
  .bolt-hero {
    grid-template-columns: 1fr;
  }
  .bolt-hero__art {
    order: -1;
    justify-self: center;
  }
}


/* Case hub & detail */
.case-card--hub {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.case-card--hub:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.45);
}
.case-card__hint {
  margin: 0;
  color: rgba(232, 226, 214, 0.55);
  font-size: 0.82rem;
}

.case-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.case-hero__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
  justify-self: center;
}
.case-hero__price {
  display: inline-flex;
  margin: 0.35rem 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #a78bfa;
  font-weight: 800;
  font-size: 1.1rem;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem 0 1.5rem;
}

.case-loot-title {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
}

.case-loot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}
.case-loot-grid--wins {
  margin-bottom: 1.25rem;
}

.loot-card {
  position: relative;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  display: grid;
  gap: 0.3rem;
}
.loot-card h3 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.2;
}
.loot-card p {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(232, 226, 214, 0.65);
}
.loot-card__price {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 800;
}
.loot-card__img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.loot-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.loot-card__rarity {
  font-size: 0.68rem;
  color: rgba(232, 226, 214, 0.5);
}
.loot-card--common { border-color: rgba(200, 200, 200, 0.25); }
.loot-card--uncommon { border-color: rgba(129, 199, 132, 0.45); }
.loot-card--rare { border-color: rgba(100, 181, 246, 0.45); }
.loot-card--mythical { border-color: rgba(239, 83, 80, 0.5); }
.loot-card--epic { border-color: rgba(206, 147, 216, 0.5); }
.loot-card--legendary { border-color: rgba(255, 213, 79, 0.55); box-shadow: 0 0 18px rgba(255, 213, 79, 0.12); }

/* Reel */
.case-reel-wrap {
  margin: 1rem 0 1.5rem;
  text-align: center;
}
.case-reel {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.case-reel-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #a78bfa, #c4122f);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}
.case-reel__track {
  display: flex;
  height: 100%;
  align-items: stretch;
  will-change: transform;
}
.case-reel__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  padding: 0.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.case-reel__item img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}
.case-reel__item span {
  font-size: 0.68rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-reel__item em {
  font-style: normal;
  font-size: 0.65rem;
  color: #a78bfa;
  font-weight: 800;
}

/* Skin tape */
.case-tape {
  position: relative;
  margin: 0.75rem 0 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.35);
  background:
    linear-gradient(90deg, rgba(8, 4, 6, 0.95), rgba(20, 8, 12, 0.75), rgba(8, 4, 6, 0.95));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(244, 63, 94, 0.12);
}
.case-tape--preview {
  height: 110px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.case-tape--spin {
  padding: 0.65rem 0 0.85rem;
}
.case-tape__pointer {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  bottom: 2.2rem;
  width: 3px;
  transform: translateX(-50%);
  z-index: 4;
  background: linear-gradient(180deg, #ffe29a, #c4122f);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.75);
  pointer-events: none;
}
.case-tape__pointer::before,
.case-tape__pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.case-tape__pointer::before {
  top: -2px;
  border-top: 10px solid #a78bfa;
}
.case-tape__pointer::after {
  bottom: -2px;
  border-bottom: 10px solid #c4122f;
}
.case-tape__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(460px 120px at 50% 50%, rgba(167, 139, 250, 0.12), transparent 60%);
  z-index: 1;
}
.case-tape__label {
  margin: 0.55rem 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.case-tape__track {
  display: flex;
  height: 100%;
  align-items: stretch;
}
.case-tape__track--marquee {
  width: max-content;
  animation: case-marquee 38s linear infinite;
}
.case-tape__cell {
  flex: 0 0 auto;
  width: 120px;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  padding: 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.case-tape__cell img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.case-tape__cell span {
  font-size: 0.62rem;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes case-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* Wow mini-game cards */
.bolt-page__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(600px 280px at 15% 20%, rgba(244, 63, 94, 0.22), transparent 60%),
    radial-gradient(500px 240px at 85% 70%, rgba(167, 139, 250, 0.08), transparent 55%);
}
.bolt-games-grid--wow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.mg-card {
  position: relative;
  isolation: isolate;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  min-height: 210px;
  padding: 1.15rem;
  text-align: left;
  color: #f3eee6;
  font: inherit;
  cursor: pointer;
  display: grid;
  align-content: end;
  gap: 0.35rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.mg-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.15), rgba(5, 5, 8, 0.88) 55%, rgba(5, 5, 8, 0.96)),
    var(--mg-bg) center/cover;
  transform: scale(1.05);
  transition: transform 0.45s ease;
}
.mg-card__shine {
  position: absolute;
  inset: -40% -20%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  transform: translateX(-40%);
  transition: transform 0.6s ease;
}
.mg-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(244, 63, 94, 0.75);
  box-shadow: 0 22px 50px rgba(244, 63, 94, 0.22);
}
.mg-card:hover .mg-card__bg {
  transform: scale(1.12);
}
.mg-card:hover .mg-card__shine {
  transform: translateX(35%);
}
.mg-card.is-featured {
  grid-column: 1 / -1;
  min-height: 240px;
  border-color: rgba(167, 139, 250, 0.4);
}
.mg-card__tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.28);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 800;
}
.mg-card__icon {
  font-size: 2rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}
.mg-card__title {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.mg-card__desc {
  color: rgba(232, 226, 214, 0.78);
  font-size: 0.9rem;
  max-width: 36ch;
}
.mg-card__cta {
  margin-top: 0.35rem;
  color: #a78bfa;
  font-weight: 800;
  font-size: 0.85rem;
}
.mg-card.is-soon {
  cursor: not-allowed;
  filter: grayscale(0.45) brightness(0.72);
  opacity: 0.85;
}
.mg-card.is-soon:hover {
  transform: none;
  filter: grayscale(0.45) brightness(0.72);
}
.mg-card.is-soon .mg-card__cta,
.mg-card.is-soon .mg-card__tag {
  color: #f4c95f;
}

.case-x10-wait {
  text-align: center;
  padding: 2.5rem 1rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.case-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #a78bfa;
  animation: case-spin 0.8s linear infinite;
}
@keyframes case-spin {
  to { transform: rotate(360deg); }
}

.case-winner {
  max-width: 360px;
  margin: 1rem auto 1.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.case-winner img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.case-winner h2 { margin: 0; }
.case-winner strong { color: #a78bfa; font-size: 1.15rem; }

.case-theme--cyberpunk .bolt-page__veil {
  background: linear-gradient(135deg, rgba(90, 20, 120, 0.55), rgba(10, 30, 60, 0.7));
}
.case-theme--one-piece .bolt-page__veil {
  background: linear-gradient(135deg, rgba(40, 60, 140, 0.55), rgba(20, 90, 110, 0.65));
}
.case-theme--tokyo-ghoul .bolt-page__veil,
.case-theme--cyberpunk .bolt-page__veil,
.case-theme--one-piece .bolt-page__veil {
  background:
    linear-gradient(160deg, rgba(4, 8, 16, 0.88), rgba(8, 14, 28, 0.72)),
    radial-gradient(700px 300px at 70% 10%, rgba(0, 243, 255, 0.18), transparent 60%) !important;
}

.inv-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .case-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .case-hero__meta { justify-items: center; display: grid; }
}

.case-open-stage {
  margin: 0.5rem 0 1.5rem;
  text-align: center;
}
.case-tape--live {
  margin-top: 1rem;
  min-height: 200px;
  padding: 1rem 0 1.1rem;
}
.case-tape--live .case-reel {
  height: 180px;
  border: none;
  background: transparent;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.case-tape--live .case-reel__item {
  height: 100%;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  margin: 0 !important;
  border-right: none;
  border: 1px solid rgba(255,255,255,0.08);
  box-sizing: border-box;
}
.case-tape--live .case-reel__track {
  gap: 8px;
  align-items: stretch;
}
.home-top-drops {
  position: relative;
  z-index: 2;
  margin: 1.25rem clamp(1rem, 3vw, 2.25rem) 0;
}
.home-top-drops__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.home-top-drops__head h2 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}
.home-top-drops__head p {
  margin: 0;
  color: rgba(232,226,214,0.65);
  font-size: 0.9rem;
}
.home-top-tape {
  height: 138px;
}
.home-top-cell {
  width: 132px !important;
  padding: 0.45rem 0.35rem 0.55rem;
}
.home-top-cell em {
  font-style: normal;
  color: #a78bfa;
  font-weight: 800;
  font-size: 0.72rem;
}
.home-top-cell small {
  font-size: 0.58rem;
  color: rgba(232,226,214,0.55);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Compact home section tiles — icons always fit */
.home-quick {
  margin: 0 0 1.5rem;
}
.home-quick h2 {
  margin: 0 0 0.85rem;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
}
.home-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.home-tile {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  color: inherit;
  font: inherit;
  min-width: 0;
  min-height: 0;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.82)),
    var(--tile-bg) center/cover;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.home-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.65);
}
.home-tile__media {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.home-tile__media img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.home-tile__glyph {
  font-size: 1.45rem;
  line-height: 1;
}
.home-tile__text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  width: 100%;
}
.home-tile__text strong {
  font-size: 0.95rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-tile__text small {
  color: rgba(232, 226, 214, 0.7);
  font-size: 0.72rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 980px) {
  .home-quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .home-quick__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .home-tile {
    padding: 0.7rem 0.5rem;
  }
  .home-tile__media {
    width: 44px;
    height: 44px;
  }
  .home-tile__media img {
    width: 30px;
    height: 30px;
  }
  .home-tile__text strong {
    font-size: 0.85rem;
  }
  .home-tile__text small {
    display: none;
  }
}
