/* Safari Greeting Popup Modal Styles */
.safari-greeting-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.safari-greeting-overlay.visible {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.safari-logo {
    width: 48px;        /* reduce size */
    height: 48px;       /* keep square */
    object-fit: contain;
    display: block;
    margin: 0 auto;     /* center it */
}

/* Popup Card */
.safari-greeting-popup {
    background: rgba(22, 22, 22, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    width: 92%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.45),
        0 0 25px rgba(255,255,255,0.05) inset;
    transform: translateY(12px);
    opacity: 0;
    animation: safariPopIn 0.35s ease-out forwards;
}

@keyframes safariPopIn {
    0% { transform: translateY(18px) scale(0.92); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Icon */
.safari-greeting-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 18px rgba(0,0,0,0.6),
        0 0 10px rgba(255,255,255,0.05) inset;
}

.safari-greeting-icon svg {
    width: 42px;
    height: 42px;
    fill: #fff;
    opacity: 0.92;
}

/* Text */
.safari-greeting-character-name {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.safari-greeting-message {
    font-size: 16px;
    color: rgba(240, 240, 240, 0.85);
    margin-bottom: 26px;
    line-height: 1.55;
}

/* Buttons */
.safari-greeting-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* Base Button */
.safari-greeting-btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 120px;
    border: none;
}

/* Yes: Solid Dark */
.safari-greeting-btn-yes {
    background: linear-gradient(135deg, #0c0c0c, #1a1a1a);
    color: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
}

.safari-greeting-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

/* No: Ghost Button */
.safari-greeting-btn-no {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
}

.safari-greeting-btn-no:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 480px) {
    .safari-greeting-popup {
        padding: 26px;
    }
    .safari-greeting-character-name {
        font-size: 20px;
    }
    .safari-greeting-message {
        font-size: 14px;
    }
    .safari-greeting-icon {
        width: 65px; height: 65px;
    }
    .safari-greeting-icon svg {
        width: 32px; height: 32px;
    }
    .safari-greeting-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}
