/* ===== FIXED CTA STYLES ===== */

/* CSS Variables for Fixed CTA */
:root {
    --cta-bg: var(--secondary-color);
    --cta-text: white;
    --cta-hover: var(--primary-color);
    --cta-shadow: 0 2px 8px rgba(0,0,0,0.15);
    --cta-shadow-hover: 0 4px 12px rgba(0,0,0,0.25);
    --cta-border-radius: 8px;
    --cta-transition: all 0.3s ease;
    --cta-transition-fast: 0.2s ease;
    --cta-z: 1000;
    --cta-close-size: 24px;
    --cta-close-size-mobile: 20px;
}

/* ===== FIXED CTA CONTAINER ===== */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--cta-z);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 200px;
    transition: var(--cta-transition);
    opacity: 1;
    visibility: visible;
}

/* ===== CTA BUTTONS ===== */
.fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--cta-text);
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: var(--cta-border-radius);
    box-shadow: var(--cta-shadow);
    transition: var(--cta-transition-fast);
    overflow: hidden;
    position: relative;
}

.fixed-cta a:hover {
    transform: translateY(-3px);
    box-shadow: var(--cta-shadow-hover);
    text-decoration: none;
    color: var(--cta-text);
}

.fixed-cta a:active {
    transform: translateY(-1px);
}

/* ===== CTA BUTTON TYPES ===== */
.cta-ticket {
    background: linear-gradient(135deg, #2b6cb0, #3182ce);
}

.cta-ticket:hover {
    background: linear-gradient(135deg, #2c5282, #2b6cb0);
}

.cta-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.cta-instagram:hover {
    background-size: 100% 100%;
    animation-play-state: paused;
}

/* ===== INSTAGRAM ICON ===== */
.cta-instagram svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== CLOSE BUTTON ===== */
.close-cta {
    position: absolute;
    top: -8px;
    right: -8px;
    width: var(--cta-close-size);
    height: var(--cta-close-size);
    background: var(--cta-bg);
    color: var(--cta-text);
    border: 2px solid var(--cta-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--cta-transition-fast);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1;
    z-index: calc(var(--cta-z) + 1);
}

.close-cta:hover {
    background: var(--cta-hover);
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.close-cta:active {
    transform: scale(0.95);
}

/* ===== ANIMATIONS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .fixed-cta {
        bottom: 15px;
        right: 15px;
        max-width: 180px;
        gap: 8px;
    }

    .fixed-cta a {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .close-cta {
        width: var(--cta-close-size-mobile);
        height: var(--cta-close-size-mobile);
        font-size: 14px;
        top: -6px;
        right: -6px;
    }

    .cta-instagram svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .fixed-cta a,
    .close-cta {
        transition: none;
    }
    
    .cta-instagram {
        animation: none;
        background: #405DE6;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .fixed-cta a {
        border: 2px solid var(--cta-text);
    }
    
    .close-cta {
        border-width: 3px;
    }
}