/* Matrix Background */
#matrix-alert-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Alert Container */
.matrix-alert-container {
    position: relative;
    z-index: 1000;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 20, 0, 0.85);
    border: 1px solid #00ff0080;
    border-radius: 4px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    transform: rotateX(5deg) rotateY(-3deg);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    animation: alert-entrance 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Alert Content */
.alert-content {
    position: relative;
    padding: 20px;
    border: 2px dashed #00ff0050;
}

.alert-message {
    font-size: 1.2rem;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
    margin: 0;
}

/* Status Elements */
.alert-status-bar {
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #00ff00 0%,
        #000 10%,
        #000 20%,
        #00ff00 30%
    );
    margin: 1rem 0;
    animation: status-scroll 20s linear infinite;
}

/* Animations */
@keyframes alert-entrance {
    from {
        transform: scale(0.5) rotateX(15deg) rotateY(-10deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotateX(5deg) rotateY(-3deg);
        opacity: 1;
    }
}

@keyframes status-scroll {
    from { background-position: 0 0; }
    to { background-position: 1000px 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .matrix-alert-container {
        margin: 1rem;
        padding: 1rem;
        transform: none;
    }
    
    .alert-message {
        font-size: 1rem;
    }
}