/* Ko-fi Donation Widget for Nova OS */

.kofi-floater {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    box-shadow: var(--shadow-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-base) var(--curve-smooth);
    z-index: 9999;
    color: var(--text-primary);
}

.kofi-floater:hover {
    transform: scale(1.1) translateY(-2px);
    background: var(--surface-glass-hover);
    border-color: var(--border-glass-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.kofi-floater svg {
    width: 30px;
    height: 30px;
    transition: transform var(--duration-fast) var(--curve-smooth);
}

.kofi-floater:hover svg {
    transform: rotate(-5deg) scale(1.1);
}

.kofi-floater.hidden {
    display: none;
}

.kofi-panel {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 400px;
    height: 660px;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 120px);
    background: var(--surface-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-elevated);
    z-index: 9998;
    overflow: hidden;
    transition: all var(--duration-base) var(--curve-smooth);
    animation: novaFadeIn 0.3s var(--curve-smooth);
}

@keyframes novaFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.kofi-panel.hidden {
    display: none;
}

@media (max-width: 480px) {
    .kofi-panel {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .kofi-floater {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
