* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    height: 100vh;
}

#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    backdrop-filter: blur(5px);
    margin-bottom: 30px;
}

.terminal-header {
    background: rgba(0, 255, 0, 0.2);
    padding: 10px 20px;
    border-bottom: 1px solid #00ff00;
    border-radius: 8px 8px 0 0;
}

.terminal-title {
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.terminal-body {
    padding: 20px;
    line-height: 1.6;
}

.command-line {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
}

.command {
    color: #ffffff;
    background: rgba(0, 255, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.output {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #cccccc;
}

.output p {
    margin: 5px 0;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.typing .command {
    animation: none;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff00;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.matrix-quote {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    backdrop-filter: blur(3px);
}

#quote-text {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ffffff;
    font-style: italic;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

#quote-btn {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00ff00;
}

#quote-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .terminal-window {
        width: 95%;
        font-size: 14px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .command-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .output {
        margin-left: 0;
    }
}