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

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; font-family: 'Inter', system-ui, sans-serif; }

:root {
  --bg-base: #05080f;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.5);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
  --glass-blur: blur(20px) saturate(160%);
}

html, body { min-height: 100vh; background-color: var(--bg-base); color: var(--text-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body { user-select: none; }
input, textarea, .review-text { user-select: text; }

#bg-effects { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(circle at 50% -20%, #172554 0%, var(--bg-base) 60%); }
#bg-effects::before, #bg-effects::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; animation: floatBg 12s infinite alternate ease-in-out; }
#bg-effects::before { width: 50vw; height: 50vw; background: rgba(29, 78, 216, 0.4); top: -10vh; left: -10vw; }
#bg-effects::after { width: 40vw; height: 40vw; background: rgba(49, 46, 129, 0.4); bottom: -10vh; right: -10vw; animation-delay: -6s; }
@keyframes floatBg { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(15%, 15%) scale(1.1); } }

.screen { min-height: 100vh; display: flex; flex-direction: column; }
.hidden { display: none !important; }
.glass { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--glass-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.glass::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); }

/* АВТОРИЗАЦИЯ */
#auth-screen { justify-content: center; align-items: center; padding: 20px; }
.auth-card { width: 100%; max-width: 420px; padding: 40px; animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.logo { font-size: 36px; font-weight: 900; text-align: center; background: linear-gradient(135deg, #fff, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -1px; margin-bottom: 24px; filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4)); }
.auth-tabs { display: flex; background: rgba(0, 0, 0, 0.3); border-radius: 16px; padding: 6px; margin-bottom: 24px; }
.tab { flex: 1; padding: 12px; border: none; background: transparent; color: var(--text-muted); font-weight: 700; font-size: 15px; cursor: pointer; border-radius: 12px; transition: all 0.3s; }
.tab.active { background: linear-gradient(135deg, var(--accent-primary), #1d4ed8); color: white; box-shadow: 0 4px 15px var(--accent-glow); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-error { color: #fca5a5; font-size: 13px; text-align: center; }

input, select { width: 100%; padding: 16px 20px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--glass-border); border-radius: 14px; color: white; font-size: 15px; font-weight: 500; outline: none; transition: all 0.3s; }
input:focus, select:focus { border-color: var(--accent-secondary); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); background: rgba(0, 0, 0, 0.4); }

/* КНОПКИ */
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
.btn-primary { padding: 16px 24px; background: linear-gradient(135deg, var(--accent-primary), #1d4ed8); border-radius: 14px; color: white; font-weight: 700; font-size: 15px; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 6px 20px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--accent-glow); }
.btn-primary:active { transform: translateY(1px) scale(0.98); }
.btn-ghost { padding: 10px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 12px; color: white; font-weight: 600; transition: all 0.2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-danger { padding: 14px 20px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 12px; color: #fca5a5; font-weight: 700; width: 100%; transition: all 0.2s; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); }
.btn-success { padding: 12px 16px; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 12px; color: #6ee7b7; font-weight: 700; transition: all 0.2s; }
.btn-success:hover { background: rgba(16, 185, 129, 0.25); }
.btn-small { padding: 8px 12px; font-size: 13px; border-radius: 10px; }

/* ШАПКА */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; margin: 16px 20px 0; border-radius: 20px; }
.brand { font-size: 22px; font-weight: 900; background: linear-gradient(135deg, #fff, #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; }
.logo-anim { animation: spin 4s linear infinite; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8)); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.balance-container { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.balance-pill { display: flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, 0.3); padding: 6px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
.rub-pill span { color: #c4b5fd; font-weight: 900; font-size: 15px; }
.coin-pill span { color: #fff; font-weight: 900; font-size: 15px; }

.tabs-nav { display: flex; gap: 6px; margin: 12px 20px 0; padding: 6px; border-radius: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.nav-btn { padding: 10px 18px; background: transparent; border-radius: 14px; color: var(--text-muted); font-weight: 700; font-size: 14px; transition: all 0.3s; white-space: nowrap; }
.nav-btn:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.nav-btn.active { background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9)); color: white; box-shadow: 0 4px 15px var(--accent-glow); }

.content { flex: 1; padding: 24px 20px 40px; max-width: 1100px; margin: 0 auto; width: 100%; }
.page { display: none; animation: fadeIn 0.4s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.page-title { font-size: 26px; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.5px; }

/* КЛИКЕР И МОНЕТА */
.clicker-area { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 10px 0; }
.coin-wrapper { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.coin-wrapper::before { content: ''; position: absolute; inset: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent 70%); animation: pulseGlow 3s infinite alternate ease-in-out; filter: blur(30px); z-index: 0; }
@keyframes pulseGlow { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.1); opacity: 1; } }

/* НОВАЯ 3D МОНЕТА */
.coin { 
  width: 240px; 
  height: 240px; 
  border-radius: 50%; 
  background: radial-gradient(circle at 35% 30%, #fef08a, #f59e0b 40%, #b45309 80%, #451a03); 
  box-shadow: 
    0 0 0 12px rgba(251, 191, 36, 0.1),
    0 25px 50px rgba(0, 0, 0, 0.6),
    inset 0 -12px 25px rgba(0, 0, 0, 0.5),
    inset 0 12px 25px rgba(255, 255, 255, 0.6);
  position: relative; 
  z-index: 1; 
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  touch-action: manipulation; 
  border: 4px solid #fcd34d;
}

.coin::before {
  content: '₽';
  font-size: 120px;
  font-weight: 900;
  color: #b45309;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5), 0 -2px 4px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.coin:active { 
  transform: scale(0.92); 
  box-shadow: 
    0 0 0 12px rgba(251, 191, 36, 0.2),
    0 10px 25px rgba(0, 0, 0, 0.6),
    inset 0 -8px 15px rgba(0, 0, 0, 0.5),
    inset 0 8px 15px rgba(255, 255, 255, 0.6);
}

.clicker-stats { display: flex; gap: 20px; padding: 20px 24px; align-items: center; flex-wrap: wrap; justify-content: center; border-radius: 24px; width: 100%; max-width: 500px; }
.stat { text-align: center; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.stat-value { font-size: 26px; font-weight: 900; color: white; margin-top: 4px; }

/* ЧАСТИЦЫ (ПЫЛЬ) */
.click-particle { 
  position: fixed; 
  pointer-events: none; 
  font-weight: 900; 
  font-size: 24px; 
  color: #fcd34d; 
  text-shadow: 0 0 20px rgba(252, 211, 77, 0.8); 
  animation: particleUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
  z-index: 100; 
}
@keyframes particleUp { 
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.6); } 
  20% { transform: translate(-50%, -80%) scale(1.2); } 
  100% { opacity: 0; transform: translate(-50%, -220%) scale(1); } 
}

/* ЭФФЕКТ ПЫЛИ */
.dust-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fcd34d;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  animation: dustExplode 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 0 10px #fcd34d;
}

@keyframes dustExplode {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0); }
}

/* ОСТАЛЬНОЕ (МАГАЗИН, КАБИНЕТ И Т.Д.) */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter { padding: 8px 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--text-muted); font-weight: 700; font-size: 13px; transition: all 0.3s; }
.filter:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.filter.active { background: linear-gradient(135deg, var(--accent-primary), #1d4ed8); color: white; border-color: transparent; box-shadow: 0 4px 15px var(--accent-glow); }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.gift-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: all 0.3s; }
.gift-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); }
.gift-img { width: 100%; aspect-ratio: 1; border-radius: 14px; background: rgba(0, 0, 0, 0.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-name { font-weight: 800; font-size: 15px; text-align: center; }
.gift-cat { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; font-weight: 800; }
.cat-common { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.cat-rare { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.cat-epic { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }
.cat-legendary { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.gift-price { font-weight: 900; color: white; font-size: 16px; }
.gift-actions { display: flex; gap: 6px; width: 100%; flex-direction: column; margin-top: 6px; }
.gift-actions button { width: 100%; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 700; }

.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card-title { font-weight: 800; font-size: 18px; color: white; }
.stats-list { display: flex; flex-direction: column; gap: 12px; }
.stats-list .row { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); font-weight: 500; }
.stats-list .row span:last-child { font-weight: 800; color: var(--accent-secondary); }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; }

.tbank-container { display: flex; justify-content: center; margin-bottom: 16px; }
.tbank-logo { display: flex; align-items: center; gap: 10px; background: rgba(255, 221, 45, 0.1); padding: 8px 16px; border-radius: 12px; border: 1px solid rgba(255, 221, 45, 0.3); animation: tbankPulse 2s infinite alternate ease-in-out; }
.tbank-icon { background: #ffdd2d; color: #333; width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; box-shadow: 0 0 10px rgba(255, 221, 45, 0.5); }
.tbank-logo span { color: #ffdd2d; font-weight: 800; font-size: 16px; }
@keyframes tbankPulse { 0% { box-shadow: 0 0 5px rgba(255, 221, 45, 0.2); } 100% { box-shadow: 0 0 20px rgba(255, 221, 45, 0.6); } }
.card-row { display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.3); padding: 12px; border-radius: 12px; border: 1px solid var(--glass-border); }

.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.review-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 20px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-user { font-weight: 800; color: white; font-size: 15px; }
.review-stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }
.review-text { color: var(--text-main); line-height: 1.6; font-size: 14px; }
.review-date { color: var(--text-muted); font-size: 12px; margin-top: 12px; }
.review-form { padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 16px; width: 100%; }
.review-form-title { font-weight: 800; font-size: 18px; color: white; }
.star-rating { display: flex; gap: 8px; font-size: 32px; }
.star-rating span { color: rgba(255, 255, 255, 0.1); cursor: pointer; transition: all 0.2s; }
.star-rating span.active, .star-rating span:hover { color: #fbbf24; text-shadow: 0 0 15px rgba(251, 191, 36, 0.5); }
.review-form textarea { width: 100%; padding: 16px; background: rgba(0,0,0,0.25); border: 1px solid var(--glass-border); border-radius: 14px; color: white; font-size: 15px; min-height: 100px; outline: none; resize: vertical; }
.review-form button.btn-primary { width: 100%; margin-top: 5px; }

.footer { margin: 30px 20px 20px; padding: 24px 32px; display: flex; flex-direction: column; gap: 20px; border-radius: 24px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 900; font-size: 20px; color: white; display: flex; align-items: center; }
.footer-dev { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.footer-dev b { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-link { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s; position: relative; padding: 4px 0; }
.footer-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-secondary); transition: width 0.3s ease; border-radius: 2px; }
.footer-link:hover { color: var(--accent-secondary); }
.footer-link:hover::after { width: 100%; }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-content { max-width: 500px; width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.modal-title { font-weight: 900; font-size: 22px; color: white; }
.modal-body { color: var(--text-main); font-size: 15px; line-height: 1.6; max-height: 65vh; overflow-y: auto; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 12px; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.95); border: 1px solid var(--glass-border); padding: 14px 28px; border-radius: 16px; color: white; font-weight: 700; font-size: 14px; z-index: 2000; animation: toastIn 0.4s; width: max-content; max-width: 90%; text-align: center; }
.toast.error { border-color: rgba(239, 68, 68, 0.5); color: #fca5a5; }
.toast.success { border-color: rgba(16, 185, 129, 0.5); color: #6ee7b7; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

.admin-layout { display: flex; gap: 24px; align-items: flex-start; }
.admin-sidebar { width: 240px; flex-shrink: 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 20px; }
.admin-sidebar-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 800; padding: 8px 12px; margin-bottom: 8px; }
.admin-tab-btn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: transparent; border: none; border-radius: 12px; color: var(--text-muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; text-align: left; width: 100%; }
.admin-tab-btn svg { opacity: 0.7; transition: all 0.2s; }
.admin-tab-btn:hover { background: rgba(255,255,255,0.05); color: white; }
.admin-tab-btn:hover svg { opacity: 1; }
.admin-tab-btn.active { background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9)); color: white; box-shadow: 0 4px 15px var(--accent-glow); }
.admin-tab-btn.active svg { opacity: 1; }
.admin-content { flex: 1; min-width: 0; }
.admin-page { display: none; animation: fadeIn 0.3s ease; }
.admin-page.active { display: block; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat-card { padding: 24px; text-align: center; }
.admin-stat-card .num { font-size: 28px; font-weight: 900; color: #60a5fa; margin-bottom: 4px; }
.admin-stat-card .lbl { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-list-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; transition: all 0.25s; cursor: pointer; }
.admin-list-item:hover { background: rgba(59, 130, 246, 0.05); border-color: rgba(59, 130, 246, 0.3); transform: translateX(4px); }
.item-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: white; flex-shrink: 0; }
.item-main { flex: 1; min-width: 100px; }
.item-name { font-weight: 700; font-size: 15px; color: var(--text-main); }
.item-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.item-stats { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.item-stats b { color: white; font-weight: 800; }
.item-actions { display: flex; gap: 8px; }

@media (max-width: 768px) {
  .admin-layout { flex-direction: column; gap: 16px; }
  .admin-sidebar { width: 100%; position: static; flex-direction: row; overflow-x: auto; padding: 12px; scrollbar-width: none; }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-sidebar-title { display: none; }
  .admin-tab-btn { width: auto; white-space: nowrap; padding: 10px 16px; flex-shrink: 0; font-size: 13px; }
  .admin-tab-btn svg { width: 16px; height: 16px; }
}

@media (max-width: 640px) {
  .topbar { padding: 10px 14px; margin: 12px 12px 0; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .brand { font-size: 18px; width: 100%; justify-content: center; }
  .balance-container { margin-left: 0; width: 100%; justify-content: center; }
  .tabs-nav { margin: 10px 12px 0; border-radius: 16px; }
  .content { padding: 20px 12px 30px; }
  .coin-wrapper { width: 220px; height: 220px; }
  .coin { width: 190px; height: 190px; }
  .coin::before { font-size: 90px; }
  .gift-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .gift-card { padding: 12px; border-radius: 16px; gap: 8px; }
  .gift-name { font-size: 13px; }
  .gift-price { font-size: 14px; }
  .footer { margin: 20px 12px; padding: 20px; border-radius: 16px; }
  .footer-brand { font-size: 16px; }
  .item-stats { display: none; }
/* СТИЛИ ДЛЯ ОКНА ПРЕДПРОСМОТРА КЕЙСА */
.case-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 24px;
}

.case-preview-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
}

.case-preview-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.case-preview-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

.case-preview-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.case-preview-chance {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
}