/* ============================================
   MARNYL - Weapons Tab Styles
   ============================================ */

.marnyl-weapons-container {
    padding: 40px;
}

/* Header */
.marnyl-weapons-header {
    text-align: center;
    margin-bottom: 40px;
}

.marnyl-weapons-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.marnyl-weapons-header p {
    font-size: 1.1rem;
    color: #000;
    font-weight: 600;
}

/* Weapons Grid */
.marnyl-weapons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.marnyl-weapon-card {
    background: #fff;
    border: 4px solid #000;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.marnyl-weapon-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 #000;
}

.marnyl-weapon-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #2a2a2a 0%, #444 100%);
    border-bottom: 3px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.marnyl-weapon-info {
    padding: 15px;
    text-align: center;
}

.marnyl-weapon-info h3 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #000;
}

.marnyl-weapon-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* Weapon Modal */
.marnyl-weapon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.marnyl-weapon-modal.hidden {
    display: none;
}

.marnyl-weapon-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.marnyl-weapon-modal-content {
    position: relative;
    background: #fff;
    border: 6px solid #000;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.marnyl-weapon-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    color: #000;
    font-weight: 900;
    line-height: 1;
    z-index: 10;
}

.marnyl-weapon-modal-close:hover {
    color: #ff69b4;
}

.marnyl-weapon-modal-header {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #ff69b4;
    border-bottom: 5px solid #000;
    align-items: center;
}

.marnyl-weapon-modal-icon {
    width: 100px;
    height: 100px;
    background: #2a2a2a;
    border: 4px solid #000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.marnyl-weapon-modal-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: #000;
}

.marnyl-weapon-modal-title p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.marnyl-weapon-modal-body {
    padding: 30px;
}

.marnyl-weapon-modal-levels h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid #ff69b4;
    color: #000;
}

.marnyl-weapon-levels-grid {
    display: grid;
    gap: 15px;
}

.marnyl-weapon-level-card {
    background: #fff;
    border: 3px solid #000;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    transition: all 0.2s ease;
}

.marnyl-weapon-level-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.marnyl-weapon-level-card.level-max {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    border-width: 4px;
}

.marnyl-weapon-level-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
    min-width: 60px;
    text-align: center;
}

.marnyl-weapon-level-card.level-max .marnyl-weapon-level-num {
    color: #FFD700;
}

.marnyl-weapon-level-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.marnyl-weapon-level-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.marnyl-weapon-level-stat-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ff69b4;
}

.marnyl-weapon-level-card.level-max .marnyl-weapon-level-stat-value {
    color: #FFD700;
}

/* Responsive */
@media (max-width: 1200px) {
    .marnyl-weapons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .marnyl-weapons-container {
        padding: 20px;
    }

    .marnyl-weapons-header h2 {
        font-size: 2rem;
    }

    .marnyl-weapons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .marnyl-weapon-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .marnyl-weapon-level-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .marnyl-weapon-level-num {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .marnyl-weapons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marnyl-weapon-modal-content {
        max-width: 100%;
    }

    .marnyl-weapon-modal-body {
        padding: 20px;
    }
}
