/* Misafir kullanıcı "Ücretsiz Kayıt Ol" pop-up'ı */
html.gm-lock, html.gm-lock body { overflow: hidden; }

.gm-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(30, 20, 60, 0.65);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.gm-overlay[hidden] { display: none; }
.gm-overlay.gm-open { opacity: 1; }

.gm-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 60px rgba(76, 29, 149, 0.35);
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
    outline: none;
}
.gm-overlay.gm-open .gm-dialog { transform: none; }

.gm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f3f0ff;
    color: #4c3d99;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gm-close:hover, .gm-close:focus-visible { background: #e4dcff; }

.gm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.gm-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.3;
    color: #1f2937;
}

.gm-desc {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 15px;
}

.gm-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}
.gm-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #faf9ff;
    color: #374151;
    font-size: 15px;
    line-height: 1.4;
}
.gm-icon {
    flex: 0 0 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 17px;
}

.gm-cta {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gm-cta:hover, .gm-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(109, 40, 217, 0.45);
    color: #fff;
}

.gm-login {
    margin: 14px 0 0;
    font-size: 14px;
    color: #6b7280;
}
.gm-login a { color: #6d28d9; font-weight: 700; }

/* Mobil: alttan açılan panel (içeriği tamamen kapatmaz, Google mobil pop-up kurallarıyla uyumlu) */
@media (max-width: 768px) {
    .gm-overlay { align-items: flex-end; padding: 0; }
    .gm-dialog {
        max-width: none;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        padding: 30px 18px calc(20px + env(safe-area-inset-bottom));
        transform: translateY(100%);
    }
    .gm-title { font-size: 20px; padding: 0 36px; }
    .gm-features li { font-size: 14px; padding: 8px 10px; }
    .gm-icon { flex-basis: 34px; height: 34px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .gm-overlay, .gm-dialog, .gm-cta { transition: none; }
}
