/* ═══════════════════════════════════════════════
   HIZLI MENÜ — kolay erişim bottom sheet paneli
═══════════════════════════════════════════════ */
.qm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(2, 6, 7, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.qm-overlay.open {
    display: block;
    opacity: 1;
}

.qm-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 560px;
    margin: 0 auto;
    max-height: 88vh;
    background: linear-gradient(165deg, rgba(11, 21, 24, 0.99) 0%, rgba(5, 12, 15, 0.995) 100%);
    border: 1px solid rgba(16, 158, 202, 0.16);
    border-bottom: none;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(16, 158, 202, 0.06);
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.qm-overlay.open .qm-sheet {
    transform: translateY(0);
}

.qm-sheet::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(16, 158, 202, 0.7) 50%, transparent 95%);
}

.qm-handle-wrap {
    text-align: center;
    padding: 10px 0 4px;
    flex-shrink: 0;
}

.qm-handle {
    display: inline-block;
    width: 38px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.16);
}

.qm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px 14px;
    flex-shrink: 0;
}

.qm-head-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #eef3f5;
    display: flex;
    align-items: center;
    gap: 9px;
}

.qm-head-title svg { color: #109ECA; }

.qm-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eef3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.qm-body {
    overflow-y: auto;
    padding: 0 16px 22px;
    scrollbar-width: thin;
}

/* ─── Kullanıcı kartı (giriş yapılmışsa) ─── */
.qm-user-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(16, 158, 202, 0.12) 0%, rgba(0, 69, 100, 0.05) 100%);
    border: 1px solid rgba(16, 158, 202, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.qm-user-card::after {
    content: '';
    position: absolute;
    top: -40px; right: -30px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(16, 158, 202, 0.1) 0%, transparent 70%);
}

.qm-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009be0, #005b84);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Urbanist', sans-serif;
    font-weight: 900;
    font-size: 19px;
    color: #020e14;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(16, 158, 202, 0.3), 0 0 20px rgba(16, 158, 202, 0.25);
    position: relative;
    z-index: 1;
}

.qm-user-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.qm-user-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 14.5px;
    color: #eef3f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qm-user-balance {
    font-family: 'Urbanist', sans-serif;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00a0e8, #1C87B7 60%, #006ea0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2px;
}

.qm-user-deposit {
    background: linear-gradient(135deg, #009be0, #1C87B7 50%, #006390);
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    color: #00121a;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(16, 158, 202, 0.4);
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.qm-user-deposit:active { transform: scale(0.96); }

/* ─── Misafir kartı (giriş yapılmamışsa) ─── */
.qm-guest-card {
    text-align: center;
    padding: 26px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    margin-bottom: 18px;
}

.qm-guest-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(16, 158, 202, 0.1);
    border: 1px solid rgba(16, 158, 202, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #109ECA;
}

.qm-guest-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 15.5px;
    color: #eef3f5;
    margin-bottom: 4px;
}

.qm-guest-sub {
    font-size: 12.5px;
    color: rgba(238, 243, 245, 0.45);
    margin-bottom: 16px;
    line-height: 1.5;
}

.qm-guest-btns {
    display: flex;
    gap: 10px;
}

.qm-guest-btn {
    flex: 1;
    padding: 12px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
}

.qm-guest-btn.primary {
    background: linear-gradient(135deg, #009be0, #1C87B7 50%, #006390);
    color: #00121a;
    box-shadow: 0 4px 18px rgba(16, 158, 202, 0.4);
}

.qm-guest-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #eef3f5;
}

/* ─── Bölüm etiketi ─── */
.qm-section-lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(238, 243, 245, 0.35);
    margin: 4px 2px 10px;
}

/* ─── Hızlı erişim ikon grid'i ─── */
.qm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.qm-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qm-tile:hover, .qm-tile:active {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--qc, rgba(16, 158, 202, 0.3));
    transform: translateY(-2px);
}

.qm-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--qc, #1C87B7) 16%, transparent);
    color: var(--qc, #1C87B7);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--qc, #1C87B7) 22%, transparent);
    transition: box-shadow 0.2s;
}

.qm-tile:hover .qm-tile-icon {
    box-shadow: 0 0 16px color-mix(in srgb, var(--qc, #1C87B7) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--qc, #1C87B7) 40%, transparent);
}

.qm-tile-label {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(238, 243, 245, 0.72);
    text-align: center;
    line-height: 1.25;
}

.qm-tile:hover .qm-tile-label { color: #eef3f5; }

/* ─── Çıkış butonu ─── */
.qm-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 13px;
    background: rgba(255, 77, 109, 0.06);
    border: 1px solid rgba(255, 77, 109, 0.18);
    border-radius: 12px;
    color: rgba(255, 110, 140, 0.85);
    font-size: 13.5px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.qm-logout:hover {
    background: rgba(255, 77, 109, 0.12);
    border-color: rgba(255, 77, 109, 0.35);
    color: #ff6b88;
}

@media (min-width: 561px) {
    .qm-sheet { border-radius: 22px 22px 0 0; bottom: 12px; border-bottom: 1px solid rgba(16, 158, 202, 0.16); border-radius: 22px; max-height: 80vh; }
}
