/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 0;
    overflow: hidden;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #a855f7;
    background-color: transparent;
    transform: scale(1.1);
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-info {
    padding: 20px;
    background-color: #1a1a1a;
    border-top: 1px solid #333333;
}

.modal-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

#modalTraits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#modalTraits .trait {
    background-color: #333333;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

/* Make artwork images clickable */
.artwork-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.artwork-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.artwork-image img {
    transition: all 0.3s ease;
}

.artwork-image:hover img {
    transform: scale(1.05);
}
