/* ==========================================================================
   screens.css — Menü, bitiş ekranı, seviye listesi
   ========================================================================== */

/* ---------- Menü ---------- */
.menu-top { flex: none; display: flex; justify-content: flex-end; padding: 12px 14px; min-height: 52px; }
.menu-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; min-height: 0; }
.logo { text-align: center; }
.logo h1 {
    margin: 18px 0 4px; font-size: clamp(34px, 11vw, 48px); letter-spacing: 0.02em; font-weight: 900;
    background: linear-gradient(90deg, #ff4fa3, #ffd21f, #1fd35a, #19c8ee);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.35));
}
.logo p { margin: 0; color: var(--dim); font-weight: 700; }
.logo-tubes { display: flex; justify-content: center; align-items: flex-end; gap: 12px; height: 130px; }

.mini-tube {
    position: relative; width: var(--mw); height: calc(var(--mw) * 3.5); border: 3px solid #fff; border-top-width: 3px;
    border-radius: 6px 6px calc(var(--mw) / 2) calc(var(--mw) / 2); background: rgba(255, 255, 255, 0.07);
    display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
    animation: miniBob 2.6s ease-in-out infinite; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.45);
}
.mini-tube::after { content: ""; position: absolute; left: 18%; top: 8%; bottom: 25%; width: 13%; border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05)); }
.mini-liquid { display: flex; flex-direction: column-reverse; height: 100%; justify-content: flex-start; }
.mini-liquid i { display: block; height: 25%; flex: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3); }
@keyframes miniBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.btn.big { width: min(260px, 78vw); padding: 14px 20px 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.btn.big span { font-size: 28px; letter-spacing: 0.12em; }
.btn.big small { font-size: 13px; opacity: 0.85; font-weight: 800; }
.menu-row { display: flex; gap: 12px; width: min(260px, 78vw); }
.menu-row .btn { flex: 1; padding: 12px 10px; font-size: 15px; }
.menu-foot { flex: none; text-align: center; color: #6c6c74; font-size: 11px; padding: 6px 10px 10px; }

/* ---------- Bitiş ekranı ---------- */
.overlay {
    position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center;
    overflow-y: auto; padding: calc(24px + var(--safe-t)) 16px calc(24px + var(--safe-b));
    background: radial-gradient(ellipse at 50% 30%, rgba(52, 60, 108, 0.97), rgba(10, 10, 16, 0.99));
}
.overlay.is-open { display: flex; }
.win-card { width: 100%; max-width: 360px; margin: auto; text-align: center; animation: winIn 0.5s cubic-bezier(0.2, 1.3, 0.4, 1); }
@keyframes winIn { from { opacity: 0; transform: translateY(30px) scale(0.9); } to { opacity: 1; transform: none; } }
.win-title { font-size: 34px; font-weight: 900; letter-spacing: 0.04em; }
.win-sub { color: var(--gold); font-weight: 800; font-size: 18px; margin-top: 2px; }
.win-stars { display: flex; justify-content: center; gap: 8px; font-size: 64px; margin: 14px 0 6px; }
.win-stars .star:nth-child(2) { transform: translateY(-10px); }
.win-stars .star.off { fill: rgba(255, 255, 255, 0.2); }
.win-stats { display: flex; justify-content: center; gap: 24px; color: #c9c9d1; font-weight: 700; margin-bottom: 12px; }
.win-stats b { color: #fff; font-size: 18px; margin-left: 4px; }
.win-rewards { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); border: 1.5px solid var(--line); font-weight: 800; font-size: 14px; }
.win-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
.win-card .ad-slot { margin-top: 16px; }

/* ---------- Seviye listesi ---------- */
.lv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; overflow-y: auto; max-height: 52vh; padding: 4px 2px; }
.lv {
    border: 1.5px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.08); padding: 7px 0 5px;
    display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
}
.lv b { font-size: 16px; }
.lv span { display: flex; font-size: 11px; }
.lv.current { border-color: var(--gold); background: rgba(255, 210, 31, 0.16); }
