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

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

#ar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    color: white;
    text-align: center;
}

.overlay-content {
    max-width: 320px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan-frame {
    width: 160px;
    height: 160px;
    border: 4px solid #5e17eb;
    border-radius: 24px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(94, 23, 235, 0.4);
    animation: pulseFrame 2s infinite ease-in-out;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #a29bfe, #5e17eb, #a29bfe, transparent);
    animation: scanAnimation 2s infinite linear;
    box-shadow: 0 0 10px #5e17eb;
}

@keyframes scanAnimation {
    0% {
        top: 0%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

@keyframes pulseFrame {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        box-shadow: 0 0 30px rgba(94, 23, 235, 0.6);
    }
}

h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 10px 0 5px 0;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #b2bec3;
    margin: 0;
}

/* Floating Bottom Navigation Overlay (Popup Blocker Bypass) */
#social-overlay-menu {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
}

#social-overlay-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.menu-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    background: linear-gradient(135deg, #5e17eb 0%, #a29bfe 100%);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(94, 23, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(94, 23, 235, 0.5);
}

.menu-social-icons {
    display: flex;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 16px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.social-circle svg {
    transition: transform 0.2s;
}

.social-circle:hover {
    background: #5e17eb;
    transform: scale(1.1);
}

.social-circle:hover svg {
    transform: scale(1.1);
}

/* Responsive Scaling for Small Mobile Screen Widths */
@media (max-width: 400px) {
    #social-overlay-menu {
        padding: 8px 12px;
        bottom: 16px;
        border-radius: 24px;
    }
    .menu-content {
        gap: 10px;
    }
    .menu-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .menu-social-icons {
        gap: 6px;
        padding-left: 10px;
    }
    .social-circle {
        width: 30px;
        height: 30px;
    }
    .social-circle svg {
        width: 14px;
        height: 14px;
    }
}
