﻿/* =========================
    WARRIORS SHOWCASE
========================= */

.warriors-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 5%;
    position: relative;
}

.warriors-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 10px 0;
}

    /* مخفی‌سازی نوار اسکرول */
    .warriors-wrapper::-webkit-scrollbar {
        display: none;
    }

.warriors-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.warrior-card {
    flex: 0 0 280px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

    .warrior-card:hover {
        transform: scale(1.03);
    }

    .warrior-card img {
        width: 100%;
        height: 380px;
        object-fit: cover;
    }

    .warrior-card h3 {
        font-size: 20px;
        font-weight: 600;
        padding: 16px 12px;
    }


.warrior-level {
    width: 45px;
    height: 45px;
    border-radius: 50% 0;
    background: rgba(7,11,20,1);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 3px 0 8px -2px rgba(139, 92, 246, 0.8), 0 3px 8px -2px rgba(139, 92, 246, 0.8), 0 0 15px rgba(139, 92, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.2), inset 0 0 10px rgba(139, 92, 246, 0.15);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 6px rgba(139, 92, 246, 0.9), 0 0 15px rgba(139, 92, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.3);
    pointer-events: none
}



/* دکمه‌ها */
.scroll-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 28px;
    width: 40px;
    height: 100px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
}

    .scroll-btn.show {
        display: flex; 
    }

    .scroll-btn:hover {
        background: rgba(255,255,255,0.25);
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .warriors-section {
        padding: 60px 4%;
        gap: 12px;
    }

    .warrior-card {
        flex: 0 0 220px;
    }

        .warrior-card img {
            height: 280px;
        }

        .warrior-card h3 {
            font-size: 16px;
        }

    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .warrior-card {
        flex: 0 0 180px;
    }

        .warrior-card img {
            height: 220px;
        }

        .warrior-card h3 {
            font-size: 14px;
        }

    .scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}
