/* ===== STYLE DLA POWIADOMIEŃ UDOSTĘPNIANIA ===== */
.share-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.share-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.share-notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.share-notification i {
    font-size: 16px;
}

/* ===== STYLE DLA MOTYWACYJNYCH KOMUNIKATÓW ===== */
.motivational-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.motivational-popup.show {
    opacity: 1;
    visibility: visible;
}

.motivational-popup.closing {
    opacity: 0;
    visibility: hidden;
}

.motivational-content {
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(52, 152, 219, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.motivational-popup.show .motivational-content {
    transform: scale(1) translateY(0);
}

.motivational-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motivational-close:hover {
    color: #333;
}

.motivational-text {
    font-size: 18px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 500;
}

.motivational-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.motivational-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.motivational-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Różne typy motywacyjnych komunikatów */
.motivational-popup.welcome .motivational-content {
    background: linear-gradient(145deg, #e8f5e8, #c8e6c9);
    border-color: rgba(76, 175, 80, 0.2);
}

.motivational-popup.congratulations .motivational-content {
    background: linear-gradient(145deg, #fff3e0, #ffe0b2);
    border-color: rgba(255, 152, 0, 0.2);
}

.motivational-popup.congratulations .motivational-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.motivational-popup.educational .motivational-content {
    background: linear-gradient(145deg, #f3e5f5, #e1bee7);
    border-color: rgba(156, 39, 176, 0.2);
}

.motivational-popup.educational .motivational-btn {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.motivational-popup.fitness .motivational-content {
    background: linear-gradient(145deg, #ffebee, #ffcdd2);
    border-color: rgba(244, 67, 54, 0.2);
}

.motivational-popup.fitness .motivational-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* ===== EFEKTY WIZUALNE KROPLI WODY ===== */
.water-drop-effect {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 8888;
    animation: waterDropFall 2s ease-out forwards;
}

@keyframes waterDropFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100px) rotate(360deg);
        opacity: 0;
    }
}

.special-water-effect {
    position: fixed;
    font-size: 16px;
    pointer-events: none;
    z-index: 8888;
    animation: specialWaterEffect 3s ease-out forwards;
    letter-spacing: 2px;
}

@keyframes specialWaterEffect {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-60px) scale(0.8);
        opacity: 0;
    }
}

.motivate-button {
    background: linear-gradient(145deg, #4CAF50, #66BB6A);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    margin: 15px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 90%;
    justify-content: center;
}

.motivate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.motivate-button:hover::before {
    left: 100%;
}

.motivate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.motivate-button:active {
    transform: translateY(1px);
}

.motivate-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.motivate-button:hover i {
    transform: scale(1.2);
}

/* Animacja pulsowania */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.motivate-button.pulse {
    animation: pulse 2s infinite;
}



/* ===== ANIMACJE DODATKOWE ===== */
@keyframes pulse-water {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.main-button:hover {
    animation: pulse-water 2s infinite;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .share-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        font-size: 13px;
        padding: 12px 15px;
    }
    
    .share-notification.show {
        transform: translateY(0);
    }
    
    .motivational-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .motivational-text {
        font-size: 16px;
    }
    
    .water-drop-effect {
        font-size: 16px;
    }
    
    .special-water-effect {
        font-size: 14px;
    }
}

/* ===== ANIMACJE DODATKOWE DLA ATMOSFERY ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.motivational-popup.show .motivational-text {
    animation: float 3s ease-in-out infinite;
}

/* Efekt dla tekstu nagłówka aplikacji */
.water-icon {
    animation: float 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* ===== DODATKOWE MICRO-INTERAKCJE ===== */
.motivational-btn:active {
    transform: translateY(-2px) scale(0.95);
}

.share-notification:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.motivate-button {
            background: linear-gradient(145deg, #4CAF50, #66BB6A);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .motivate-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }

        .motivate-button:hover::before {
            left: 100%;
        }

        .motivate-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }

        .motivate-button:active {
            transform: translateY(1px);
        }

        .motivate-button i {
            font-size: 1.3rem;
            transition: transform 0.3s ease;
        }

        .motivate-button:hover i {
            transform: scale(1.2);
        }

        /* Animacja pulsowania */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .motivate-button.pulse {
            animation: pulse 2s infinite;
        }