/* ==================== ARSENAL PAGE ==================== */
/* Hero uses the shared .page-hero / .page-hero-split components. */

/* Page Background */
.arsenal-page {
    min-height: 100vh;
}

.arsenal-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 50px,
            rgba(127, 194, 66, 0.02) 50px,
            rgba(127, 194, 66, 0.02) 100px);
    pointer-events: none;
    z-index: 0;
}

.arsenal-page > * {
    position: relative;
    z-index: 1;
}

/* Weapon Carousel */
.arsenal-carousel {
    position: relative;
    border: 5px solid var(--block-green);
    background: rgba(0,0,0,0.3);
    box-shadow:
        0 0 60px rgba(127, 194, 66, 0.3),
        inset 0 0 40px rgba(127, 194, 66, 0.1);
}

.arsenal-carousel-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.arsenal-slide {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-height: 400px;
}

.arsenal-slide.active {
    display: flex;
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.arsenal-slide img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 15px 50px rgba(127, 194, 66, 0.6));
    transition: transform 0.3s ease;
}

.arsenal-slide:hover img {
    transform: scale(1.05);
}

.arsenal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--block-green) 0%, #5a8030 100%);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 6px 0 rgba(0,0,0,0.4);
}

.arsenal-nav:hover {
    background: linear-gradient(135deg, var(--laser-orange) 0%, #d65a00 100%);
    transform: translateY(-52%);
}

.arsenal-nav:active {
    transform: translateY(-48%);
}

.arsenal-nav.prev {
    left: -30px;
}

.arsenal-nav.next {
    right: -30px;
}

.arsenal-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
}

.arsenal-dot {
    width: 16px;
    height: 16px;
    padding: 0;
    appearance: none;
    background: rgba(255,255,255,0.3);
    border: 3px solid var(--block-green);
    cursor: pointer;
    transition: all 0.3s;
}

.arsenal-dot:hover {
    background: rgba(127, 194, 66, 0.6);
}

.arsenal-dot.active {
    background: var(--laser-orange);
    border-color: var(--laser-orange);
    transform: scale(1.3);
}

/* Categories */
.categories-section {
    padding: 40px 40px 96px;
    position: relative;
    z-index: 10;
}

.categories-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.category-box {
    padding: 3rem 4rem;
    background: rgba(255,255,255,0.03);
    border: 4px solid rgba(127, 194, 66, 0.4);
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(127, 194, 66, 0.15),
        0 8px 0 rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    transform: translateX(-100px);
}

/* Alternate alignment */
.category-box:nth-child(odd) {
    align-self: flex-start;
    transform: translateX(-100px);
    margin-left: max(40px, calc((100% - 1400px) / 2));
}

.category-box:nth-child(even) {
    align-self: flex-end;
    transform: translateX(100px);
    margin-right: max(40px, calc((100% - 1400px) / 2));
}

/* Slide in when visible */
.category-box.visible {
    opacity: 1;
    transform: translateX(0) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-box:hover {
    border-color: var(--laser-orange);
    transform: translateX(0) translateY(-8px) !important;
    box-shadow:
        0 0 50px rgba(255, 107, 0, 0.4),
        0 12px 0 rgba(0,0,0,0.4);
}

.category-box h3 {
    font-family: var(--font-game);
    font-size: 1.4rem;
    color: var(--block-green);
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
    letter-spacing: 2px;
}

.category-box p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .arsenal-carousel {
        border-width: 3px;
    }

    .arsenal-carousel-wrapper {
        min-height: 300px;
    }

    .arsenal-slide {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .arsenal-slide img {
        max-height: 250px;
    }

    .arsenal-nav {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .arsenal-nav.prev {
        left: 5px;
    }

    .arsenal-nav.next {
        right: 5px;
    }

    .arsenal-dots {
        bottom: 10px;
        gap: 10px;
    }

    .arsenal-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .categories-section {
        padding: 30px 20px 64px;
    }

    .categories-grid {
        gap: 2rem;
    }

    .category-box {
        padding: 2rem 1.5rem;
        max-width: 100%;
        align-self: stretch !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .category-box h3 {
        font-size: 1.2rem;
    }

    .category-box p {
        font-size: 0.9rem;
    }
}
