/* Instructions Modal */
.instructions-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.instructions-modal.active {
    display: flex;
}

.modal-content {
    background: var(--container-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4757;
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.modal-content ul {
    list-style: none;
    padding-left: 0;
}

.modal-content li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1em;
    line-height: 1.5;
}

.modal-content li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.instructions ul {
    list-style: none;
    padding-left: 0;
}

.instructions li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 1em;
}

.instructions li::before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}
