/* Pływający przycisk bilet - Style */

.floating-ticket-button {
    position: fixed;
    bottom: 30px;
    color: #093a00;
    right: 30px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    animation: floatAnimation 4s ease-in-out infinite;
    background: #ffffff6e;
}

.floating-ticket-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.floating-ticket-button:active {
    transform: scale(0.95);
}

/* Animacja pływania */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Różne prędkości animacji */
.floating-ticket-button.animation-slow {
    animation-duration: 6s;
}

.floating-ticket-button.animation-medium {
    animation-duration: 4s;
}

.floating-ticket-button.animation-fast {
    animation-duration: 2s;
}

/* Ukrycie na urządzeniach mobilnych */
@media (max-width: 768px) {
    .floating-ticket-button.ftb-hide-mobile {
        display: none;
    }
    
    .floating-ticket-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Responsywność dla bardzo małych ekranów */
@media (max-width: 480px) {
    .floating-ticket-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animacja pojawienia się */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-ticket-button {
    animation: fadeInUp 0.5s ease-out, floatAnimation 4s ease-in-out 0.5s infinite;
}

/* Dodatkowy efekt pulsu przy hover */
.floating-ticket-button:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: inherit;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: pulse 1s ease-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Dostosowanie dla drukarek */
@media print {
    .floating-ticket-button {
        display: none;
    }
}
