@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    line-height: 1.4;
    color: #00ff41;
    background: #000000;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Matrix-style scanning lines effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Flickering screen effect */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

body {
    animation: flicker 0.15s infinite linear alternate;
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff4444;
    text-shadow: 0 0 15px #ff4444, 0 0 30px #ff0000;
    letter-spacing: 3px;
    animation: title-pulse 2s infinite ease-in-out;
}

@keyframes title-pulse {
    0%, 100% { text-shadow: 0 0 15px #ff4444, 0 0 30px #ff0000; }
    50% { text-shadow: 0 0 25px #ff4444, 0 0 50px #ff0000, 0 0 75px #ff6666; }
}

header p {
    font-size: 1.2rem;
    color: #ff6666;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ff4444;
}

#terminal-output {
    max-width: none;
    width: 100%;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

.terminal-line {
    margin-bottom: 10px;
    color: #00ff41;
}

.prompt {
    color: #ff4444;
    font-weight: 700;
}

.command {
    color: #ffff00;
    margin-left: 5px;
}

#roast-content {
    margin-top: 20px;
}

.roast-item {
    margin: 8px 0;
    padding: 0;
    border: none;
    display: block;
    line-height: 1.6;
    animation: roast-appear 0.3s ease-out;
}

@keyframes roast-appear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.roast-prompt {
    color: #ff6666;
    font-weight: 700;
    margin-right: 10px;
    text-shadow: 0 0 8px #ff4444;
    font-size: 1rem;
}

.roast-text {
    color: #ffcccc;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255, 204, 204, 0.5);
    font-size: 1rem;
    line-height: 1.5;
}

.roast-loading {
    color: #ff6666;
    margin: 10px 0;
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #ff4444;
}

.roast-loading::after {
    content: ' █';
    animation: blink 1s infinite;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #ff4444;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6666;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    header p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .roast-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 15px 0;
    }
    
    .roast-prompt {
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .roast-text {
        font-size: 0.9rem;
    }
    
    .final-burn {
        font-size: 1rem;
        letter-spacing: 2px;
        padding: 15px;
    }
}

/* Matrix rain effect (subtle) */
@keyframes matrix-rain {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.matrix-char {
    position: fixed;
    color: #660000;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    animation: matrix-rain 4s linear infinite;
    pointer-events: none;
    z-index: 0;
} 