.swiper-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.4);
    transform: scale(1.1);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.swiper-card-stack {
    position: relative;
    width: 90%;
    max-width: 400px;
    height: 650px;
    z-index: 2;
}

.swiper-card-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    touch-action: none;
    user-select: none;
    transition: none;
}

.swiper-card-modern.animating {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.swiper-card-modern.behind {
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.5;
    filter: blur(2px);
}

.swiper-card-modern.active {
    z-index: 2;
}

.swiper-close {
    position: fixed;
    margin-top: 12px;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.swiper-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.swiper-card-inner {
    width: 100%;
    max-width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.swiper-title-modern {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
    line-height: 1.2;
}

.swiper-year-modern {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.swiper-poster-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 2/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: grab;
}

.swiper-poster-container.dragging {
    cursor: grabbing;
}

.swiper-poster-modern {
    width: 100%;
    height: 100%;
}

.swiper-poster-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/*Overlay de swipe */
.swipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease-out;
    pointer-events: none;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.swipe-overlay.left {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.9) 0%, rgba(59, 130, 246, 0) 100%);
    color: #fff;
}

.swipe-overlay.right {
    background: linear-gradient(270deg, rgba(34, 197, 94, 0.9) 0%, rgba(34, 197, 94, 0) 100%);
    color: #fff;
}

.swipe-overlay.up {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.9) 0%, rgba(168, 85, 247, 0) 100%);
    color: #fff;
}

.swipe-overlay.active {
    opacity: 1;
}

/* Indicateurs de swipe en bas */
.swiper-hints {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 3;
}

.swiper-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.swiper-hint:hover {
    opacity: 1;
}

.swiper-hint-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.swiper-hint-icon.watchlist {
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.swiper-hint-icon.watched {
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.swiper-hint-icon.skip {
    border-color: rgba(168, 85, 247, 0.5);
    color: #a855f7;
}

.swiper-hint-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.swiper-empty {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
}

/* Bouton d'aide du swiper */
.swiper-help-btn {
    margin-top: 12px;
    position: fixed !important;
    top: 24px !important;
    right: 80px !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1001 !important;
    padding: 0 !important;
    color: white !important;
}

.swiper-help-btn:hover {
    background: rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    transform: scale(1.1) !important;
}

.swiper-help-btn:active {
    transform: scale(0.95) !important;
}

.swiper-help-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke: white;
    stroke-width: 2;
}



@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.swiper-help-btn {
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Overlay d'aide*/
.swiper-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.swiper-help-content {
    position: relative;
    max-width: 90%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.swiper-help-arrows {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.swiper-help-arrow {
    position: absolute;
    font-size: 64px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

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

.swiper-help-arrow.left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-help-arrow.right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-help-arrow.up {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-help-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.swiper-help-label {
    position: absolute;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    padding: 1px 1px;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: fadeInBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.swiper-help-label.click {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.95));
}

.swiper-help-label-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.swiper-help-close {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #667eea;
    border: none;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10001;
    animation: fadeInBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.swiper-help-close:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.swiper-help-close:active {
    transform: translateX(-50%) translateY(-2px) scale(0.98);
}

@media (max-width: 768px) {
    .swiper-help-arrow {
        font-size: 48px;
    }
    
    .swiper-help-label {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .swiper-help-close {
        bottom: 30px;
        padding: 14px 40px;
        font-size: 16px;
    }
    
    .swiper-help-arrow.left {
        left: 5%;
    }
    
    .swiper-help-arrow.right {
        right: 5%;
    }
}

.swiper-movie-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    justify-content: center;
}

.swiper-info-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .swiper-movie-info {
        gap: 6px;
    }
    
    .swiper-info-item {
        font-size: 11px;
        padding: 3px 8px;
    }
}