/* ========== FLOATING DOWNLOAD APP BUTTON ========== */
.floating-dl-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px 18px 20px;
    background: linear-gradient(135deg, #6C3FD3 0%, #A78BFA 50%, #EC4899 100%);
    color: #fff;
    border-radius: 64px;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(108, 63, 211, 0.5);
    z-index: 9999;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 360px;
    overflow: hidden;
    font-family: inherit;
}

.floating-dl-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 56px rgba(108, 63, 211, 0.6);
    color: #fff;
    text-decoration: none;
}

.floating-dl-btn:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: 0 8px 28px rgba(108, 63, 211, 0.45);
}

.floating-dl-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.floating-dl-btn:hover .floating-dl-btn__icon {
    background: rgba(255, 255, 255, 0.28);
}

.floating-dl-btn__icon .material-symbols-outlined {
    font-size: 30px;
    color: #fff;
}

.floating-dl-btn__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.floating-dl-btn__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-dl-btn__sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-dl-btn__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-dl-btn:hover .floating-dl-btn__arrow {
    opacity: 1;
    transform: translateY(3px);
}

.floating-dl-btn__arrow .material-symbols-outlined {
    font-size: 26px;
    color: #fff;
}

/* ===== PULSE ANIMATION ===== */
.floating-dl-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 64px;
    background: linear-gradient(135deg, #6C3FD3 0%, #A78BFA 50%, #EC4899 100%);
    z-index: -1;
    animation: floatingBtnPulse 2.4s ease-in-out infinite;
}

@keyframes floatingBtnPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .floating-dl-btn {
        bottom: 20px;
        right: 16px;
        left: 16px;
        max-width: none;
        gap: 14px;
        padding: 16px 18px 16px 16px;
    }
    .floating-dl-btn__icon {
        width: 52px;
        height: 52px;
    }
    .floating-dl-btn__icon .material-symbols-outlined {
        font-size: 26px;
    }
    .floating-dl-btn__title {
        font-size: 16px;
    }
    .floating-dl-btn__arrow .material-symbols-outlined {
        font-size: 22px;
    }
}
