/* === Security Redirect Overlay === */
.security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    flex-direction: column;
}

.security-overlay.active {
    display: flex;
}

.security-loader {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-loader .fa-shield-halved {
    font-size: 4rem;
    color: #4ade80;
    animation: shield-pulse 1.5s infinite ease-in-out;
}

.security-loader .fa-circle-notch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6.2rem;
    color: rgba(74, 222, 128, 0.2);
}

@keyframes shield-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.5));
    }
}

.security-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: inherit;
    font-weight: 700;
}

.security-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.store-target {
    margin-top: 15px;
    font-weight: 800;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Titanium Assistant Chat Bubble === */
.titanium-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.assistant-bubble {
    background: white;
    color: #1e293b;
    padding: 15px 20px;
    border-radius: 18px 18px 2px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 280px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.assistant-bubble.active {
    transform: translateY(0);
    opacity: 1;
}

.assistant-bubble strong {
    color: #2563eb;
    display: block;
    margin-bottom: 4px;
}

.assistant-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
    border: 4px solid white;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.assistant-icon:hover {
    transform: scale(1.1);
}

.assistant-icon .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #2563eb;
    border-radius: 50%;
    animation: ring-pulse 2s infinite;
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}