/* ==========================================
   AI FLOATING MENU SYSTEM (DarkCry Edition)
   ========================================== */

/* 1. AI Menu Container */
.ai-menu-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* සියලුම elements වලට උඩින් */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* 2. Main AI Button Style */
.ai-main-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.ai-main-btn span {
    font-size: 10px;
    margin-top: 2px;
    letter-spacing: 1px;
}

.ai-main-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
}

/* 3. AI Options Panel (The Pop-up) */
.ai-options {
    display: none; /* මුලින් හංගලා තියෙන්නේ */
    flex-direction: column;
    gap: 10px;
    background: rgba(10, 10, 10, 0.8);
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    transform-origin: bottom right;
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-options.show {
    display: flex;
}

/* 4. Individual Option Buttons */
.ai-option-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: 0.3s all ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- HANA V1.3 (Pink Style) --- */
.hna-btn {
    background: linear-gradient(135deg, #ff0080, #ff85b2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hna-btn i {
    color: white;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.hna-btn:hover {
    transform: translateX(-8px);
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.6);
    filter: brightness(1.1);
}

/* --- CRYZON v1.0 (Dark Style) --- */
.cry-btn {
    background: #050505;
    color: #3b82f6 !important;
    border: 1px solid #1d4ed8;
}

.cry-btn i {
    color: #3b82f6;
}

.cry-btn:hover {
    transform: translateX(-8px);
    background: #0f172a;
    box-shadow: 0 0 25px rgba(29, 78, 216, 0.5);
    border-color: #3b82f6;
}

/* 5. Animations */
@keyframes popIn {
    from { 
        opacity: 0; 
        transform: scale(0.5) translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

/* 6. Mobile Responsiveness */
@media (max-width: 800px) {
    .ai-menu-container {
        bottom: 95px; /* Bottom Nav bar එකට උඩින් තිබීමට */
        right: 20px;
    }

    .ai-main-btn {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }

    .ai-option-item {
        padding: 12px 18px;
        font-size: 13px;
    }
}