@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap');

:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.085);
  --border-2: rgba(212, 160, 23, 0.22);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --dim: rgba(255, 255, 255, 0.48);
  --accent: #d4a017;
  --accent-2: #ffdd66;
  --shadow: 0 26px 56px rgba(0, 0, 0, 0.62);
  --shadow-soft: 0 18px 34px rgba(0, 0, 0, 0.42);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 2px rgba(0, 0, 0, 0.55);

  --rare-jackpot: linear-gradient(90deg, #ffdd66, #111, #fff, #00ff90, #ff3b5c, #2a6dff, #2efcff);
  --rare-mythic: #00ff90;
  --rare-premium: #ffe7b0;
  --rare-discount-5: #d4a017;
  --rare-discount-2: #a78bfa;
  --rare-discount-1: #7c3aed;
  --rare-discount-05: #60a5fa;
  --rare-credits-500: #1d4ed8;
  --rare-credits-100: #86efac;
  --rare-credits-50: #22c55e;
  --rare-credits-20: #15803d;
  --rare-credits-10: #2a2a2a;
  --rare-credits-5: #151515;
  --rare-credits-1: #0b0b0b;
}

* {
  box-sizing: border-box;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

.wc-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 720px at 18% 14%, rgba(212, 160, 23, 0.16) 0%, rgba(212, 160, 23, 0.02) 52%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(900px 680px at 86% 18%, rgba(255, 221, 102, 0.07) 0%, rgba(0, 0, 0, 0) 65%),
    radial-gradient(900px 900px at 70% 86%, rgba(0, 255, 144, 0.035) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0) 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.98));
}

.wc-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.11;
  mask-image: radial-gradient(circle at 40% 0%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0) 78%);
}

.hidden {
  display: none !important;
}

.wc-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 22px 30px;
  min-height: 100vh;
}

.wc-overline {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 160, 23, 0.9);
  margin: 0;
}

.wc-title {
  font-size: 1.15rem;
  font-weight: 750;
}

.wc-muted {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.wc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px;
  position: sticky;
  top: 16px;
  z-index: 20;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.wc-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.wc-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(212, 160, 23, 0.26);
  background: rgba(212, 160, 23, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wc-brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
}

.wc-brand-copy {
  display: grid;
}

.wc-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wc-announce {
  margin: 14px 0 0;
  border-radius: 22px;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(212, 160, 23, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), var(--shadow-soft);
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.wc-announce-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  margin-top: 6px;
}

.wc-announce-content {
  display: grid;
  gap: 6px;
}

.wc-balance {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  font-weight: 700;
}

.wc-balance.good {
  border-color: rgba(0, 255, 144, 0.25);
  background: rgba(0, 255, 144, 0.08);
  color: rgba(0, 255, 144, 0.92);
}

.wc-balance.warn {
  border-color: rgba(255, 197, 61, 0.25);
  background: rgba(255, 197, 61, 0.08);
  color: rgba(255, 222, 102, 0.92);
}

.wc-balance.bad {
  border-color: rgba(255, 59, 92, 0.25);
  background: rgba(255, 59, 92, 0.07);
  color: rgba(255, 120, 140, 0.92);
}

.wc-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 180ms ease;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.wc-btn:hover {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
}

.wc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wc-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #140c02;
  font-weight: 750;
  box-shadow: 0 18px 28px rgba(212, 160, 23, 0.2);
}

.wc-btn-secondary {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
}

.wc-btn-ghost {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.26);
  color: var(--muted);
}

.wc-btn:focus-visible,
.wc-tab:focus-visible,
.wc-icon-btn:focus-visible,
.wc-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.85), 0 0 0 4px rgba(212, 160, 23, 0.5);
}

.wc-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.wc-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.wc-sidebar {
  display: grid;
  gap: 18px;
}

.wc-content {
  display: grid;
  gap: 18px;
}

.wc-card {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-soft);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.wc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 28% 0%, rgba(255, 221, 102, 0.08) 0%, rgba(0, 0, 0, 0) 62%);
  opacity: 0.55;
  pointer-events: none;
}

.wc-card > * {
  position: relative;
}

.wc-card-hero {
  padding: 22px;
  background: radial-gradient(circle at 18% 20%, rgba(212, 160, 23, 0.18) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(0, 0, 0, 0.22) 100%);
  border-color: rgba(212, 160, 23, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.52);
}

.wc-card h2 {
  margin: 10px 0 10px;
  font-size: 1.5rem;
}

.wc-account {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.wc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wc-avatar::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  background: rgba(212, 160, 23, 0.1);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.55);
}

.wc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-account-meta h2 {
  margin: 8px 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.wc-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.wc-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}

.wc-link-pill {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(212, 160, 23, 0.07);
}

.wc-tabs {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.wc-tab {
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  cursor: pointer;
  padding: 0 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-tab-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.wc-tab.active {
  border-color: rgba(212, 160, 23, 0.28);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.22), rgba(212, 160, 23, 0.08));
  color: var(--text);
}

.wc-panel {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-soft);
  padding: 22px;
  display: none;
  position: relative;
  overflow: hidden;
}

.wc-panel.active {
  display: block;
  animation: wc-panel-in 220ms ease-out;
}

@keyframes wc-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.wc-panel-head h2 {
  margin: 8px 0 0;
  font-size: 1.55rem;
}

.wc-badges {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wc-badge-official {
  border-color: rgba(212, 160, 23, 0.28);
  background: rgba(212, 160, 23, 0.12);
  color: #ffe7b0;
}

.wc-badge-rare {
  border-color: rgba(0, 255, 144, 0.28);
  background: rgba(0, 255, 144, 0.09);
  color: rgba(0, 255, 144, 0.9);
}

.wc-shop-old-price {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  font-weight: 500;
}

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

.wc-bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.wc-bonus-intro {
  margin: 8px 0 0;
  max-width: 620px;
  line-height: 1.5;
}

.wc-stat-wide {
  grid-template-columns: 1fr;
}

.wc-stat {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  padding: 16px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.wc-bonus-grid .wc-stat {
  min-height: 132px;
  align-content: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wc-bonus-grid .wc-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 160, 23, 0.24);
  background: rgba(212, 160, 23, 0.06);
}

.wc-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 180px at 30% 0%, rgba(212, 160, 23, 0.14) 0%, rgba(0, 0, 0, 0) 62%);
  opacity: 0.9;
  pointer-events: none;
}

.wc-stat > * {
  position: relative;
}

.wc-stat-kicker {
  font-size: 0.84rem;
  color: var(--dim);
  margin: 0;
}

.wc-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wc-wheel-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.wc-wheel-shell {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65), 0 26px 56px rgba(0, 0, 0, 0.6);
}

.wc-wheel-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(520px 240px at 50% 0%, rgba(212, 160, 23, 0.16) 0%, rgba(0, 0, 0, 0) 68%);
  opacity: 0.8;
  pointer-events: none;
}

.wc-wheel-shell > * {
  position: relative;
}

.wc-wheel-shell canvas {
  width: min(520px, 100%);
  height: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.62);
}

.wc-wheel-shell.spinning canvas {
  filter: saturate(1.08) contrast(1.05);
}

.wc-wheel-pointer {
  position: absolute;
  top: 22px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px solid rgba(212, 160, 23, 0.9);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 0%;
}

.wc-wheel-shell.spinning .wc-wheel-pointer {
  animation: wc-pointer 180ms cubic-bezier(.2,.9,.2,1) infinite;
}

@keyframes wc-pointer {
  0% { transform: translateY(0) scale(1); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)); }
  60% { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.68)); }
  100% { transform: translateY(0) scale(1); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)); }
}

.wc-wheel-shell.win {
  animation: wc-win 650ms cubic-bezier(.2,.9,.2,1) 1;
}

@keyframes wc-win {
  0% { transform: translateZ(0) scale(1); }
  45% { transform: translateZ(0) scale(1.01); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65), 0 34px 72px rgba(0, 0, 0, 0.66); }
  100% { transform: translateZ(0) scale(1); }
}

.wc-wheel-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65), 0 18px 36px rgba(0, 0, 0, 0.6);
}

.wc-wheel-info:hover {
  border-color: rgba(212, 160, 23, 0.35);
  background: rgba(212, 160, 23, 0.08);
  color: #ffe7b0;
}

.wc-wheel-spin {
  position: absolute;
  bottom: 22px;
  min-width: 160px;
}

.wc-wheel-side {
  display: grid;
  gap: 14px;
}

.wc-card-tight {
  padding: 16px;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.18);
}

.wc-legend {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wc-legend-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.wc-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wc-history {
  display: grid;
  gap: 10px;
}

.wc-history-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}

.wc-history-item small {
  color: var(--dim);
}

.wc-history-amount {
  font-weight: 800;
  color: var(--accent);
}

.wc-footer-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.wc-h3 {
  margin: 10px 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.wc-shop-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-bottom: 14px;
}

.wc-shop-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.wc-shop-block {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55);
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.wc-shop-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 160px at 22% 0%, rgba(212, 160, 23, 0.14) 0%, rgba(0, 0, 0, 0) 66%);
  opacity: 0.9;
  pointer-events: none;
}

.wc-shop-block > * {
  position: relative;
}

.wc-shop-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.wc-pack-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wc-pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
}

.wc-pack-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.wc-pack strong {
  font-weight: 850;
}

.wc-pack small {
  color: var(--dim);
}

.wc-pack-badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(212, 160, 23, 0.08);
  color: #ffe7b0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wc-shop-discount {
  margin-bottom: 12px;
}

.wc-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.wc-switch input {
  width: 18px;
  height: 18px;
}

.wc-shop-summary {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.wc-custom-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin-top: 10px;
}

.wc-input {
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  padding: 0 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.wc-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wc-order-box {
  margin-top: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(212, 160, 23, 0.22);
  background: rgba(212, 160, 23, 0.06);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.wc-item-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
}

.wc-item-price {
  font-weight: 850;
  color: var(--accent-2);
}

.wc-order-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.wc-order-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
  display: grid;
  gap: 6px;
}

.wc-order-item code {
  color: #ffe7b0;
  font-weight: 800;
}

.wc-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.wc-modal-card {
  width: min(520px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 10, 10, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wc-modal-wide {
  width: min(860px, 100%);
}

.wc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
}

.wc-modal-head h3 {
  margin: 6px 0 0;
  font-size: 1.3rem;
}

.wc-modal-body {
  padding: 14px 18px 18px;
  display: grid;
  gap: 12px;
}

.wc-chances-note {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(212, 160, 23, 0.16);
  background: rgba(212, 160, 23, 0.07);
  color: var(--text);
  line-height: 1.7;
}

.wc-chances-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wc-chance-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.wc-chance-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.wc-chance-name {
  font-weight: 750;
}

.wc-chance-pct {
  color: var(--accent);
  font-weight: 800;
}

.wc-toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  min-width: 220px;
  max-width: min(460px, 92vw);
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: 200ms ease;
}

.wc-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.wc-splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
}

.wc-splash-card {
  width: min(520px, 92vw);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 10, 10, 0.86);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.wc-splash-logo {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  background: rgba(212, 160, 23, 0.08);
  display: grid;
  place-items: center;
}

.wc-splash-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .wc-layout {
    grid-template-columns: 1fr;
  }

  .wc-wheel-wrap {
    grid-template-columns: 1fr;
  }

  .wc-shop-grid {
    grid-template-columns: 1fr;
  }

  .wc-shop-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wc-page {
    padding: 18px;
  }

  .wc-topbar {
    top: 10px;
    padding: 12px 12px;
  }

  .wc-grid {
    grid-template-columns: 1fr;
  }

  .wc-chances-grid {
    grid-template-columns: 1fr;
  }

  .wc-bonus-grid {
    grid-template-columns: 1fr;
  }
}
