/* Weapon EXP Event Styles */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.server-time {
    background: rgba(255, 204, 0, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    border: 1px solid #ffcc00;
    color: #ffcc00;
    font-weight: 600;
}

.server-time i {
    margin-right: 0.5rem;
}

/* Weapons Grid */
.weapons-grid {
    margin-bottom: 3rem;
}

.weapon-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid #444;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.weapon-card:hover,
.weapon-card.hovered {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #ffcc00;
}

.weapon-card.active {
    border-left: 4px solid #4caf50;
}

.weapon-card.pending {
    border-left: 4px solid #2196F3;
}

.weapon-card.expired {
    border-left: 4px solid #f44336;
    opacity: 0.7;
}

.weapon-card.empty-card {
    opacity: 0.5;
    border-style: dashed;
}

/* Weapon Header */
.weapon-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-bottom: 1px solid #444;
}

.weapon-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weapon-title h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.exp-bonus {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.3);
}

.exp-bonus.empty {
    background: #666;
    color: #ccc;
}

.bonus-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.exp-bonus small {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Weapon Image */
.weapon-image-container {
    position: relative;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.weapon-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.weapon-image:hover {
    transform: scale(1.1);
}

.no-image {
    color: #666;
    text-align: center;
    padding: 2rem;
}

.no-image i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.weapon-image-container:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 0.5rem;
}

.image-overlay span {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

/* Weapon Details */
.weapon-details {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #ccc;
    font-size: 0.9rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: #ffcc00;
}

.status-active {
    color: #4caf50 !important;
    font-weight: 600;
}

.status-pending {
    color: #2196F3 !important;
    font-weight: 600;
}

.status-expired {
    color: #f44336 !important;
    font-weight: 600;
}

.countdown {
    background: rgba(255, 204, 0, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.countdown span {
    color: #ffcc00 !important;
    font-weight: 600;
}

/* Event Info Section */
.event-info-section {
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.info-card, .stats-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid #444;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.info-card h3, .stats-card h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-card h3 i, .stats-card h4 i {
    color: #ffcc00;
    margin-right: 0.5rem;
}

.info-card ol {
    color: #ccc;
    line-height: 1.6;
}

.info-card ol li {
    margin-bottom: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #444;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #ccc;
    font-weight: 500;
}

.stat-value {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal-content {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #444;
    background: rgba(255, 255, 255, 0.05);
}

.modal-title {
    color: #fff;
    font-weight: 700;
}

.modal-body {
    background: #1e1e1e;
}

.close {
    color: #fff;
    opacity: 0.8;
}

.close:hover {
    color: #ffcc00;
    opacity: 1;
}

#modalImage {
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .server-time {
        margin-top: 1rem;
        display: inline-block;
    }
    
    .weapon-title {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .weapon-title h4 {
        font-size: 1.1rem;
    }
    
    .weapon-image-container {
        height: 150px;
    }
    
    .info-card, .stats-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .weapon-card {
        margin-bottom: 1rem;
    }
    
    .weapon-header {
        padding: 1rem;
    }
    
    .weapon-details {
        padding: 1rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .page-header {
        margin-bottom: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.weapon-card {
    animation: fadeInUp 0.6s ease forwards;
}

.weapon-card:nth-child(1) { animation-delay: 0.1s; }
.weapon-card:nth-child(2) { animation-delay: 0.2s; }
.weapon-card:nth-child(3) { animation-delay: 0.3s; }
.weapon-card:nth-child(4) { animation-delay: 0.4s; }
.weapon-card:nth-child(5) { animation-delay: 0.5s; }
.weapon-card:nth-child(6) { animation-delay: 0.6s; }

/* Alert Styles */
.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid #2196F3;
    color: #fff;
    border-radius: 10px;
}

.alert-info i {
    color: #2196F3;
}
