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

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #000000;
    color: #00ff41;
    overflow: hidden;
    min-height: 100vh;
}

#cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

canvas {
    display: block;
}

.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.terminal-container {
    position: relative;
    
    padding: 2.5rem 4rem;
    width: 90%;
    max-width: 900px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    animation: borderGlow 3s infinite alternate;
}

.terminal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #00ff41;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    pointer-events: none;
    animation: borderPulse 2s infinite;
}

.terminal-text {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    
    padding-right: 10px;
    text-transform: uppercase;
    width: 100%;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: #00ff41;
    animation: blink 1s infinite;
    margin-left: 2px;
    height: 1.2em;
    vertical-align: text-bottom;
    box-shadow: 0 0 10px #00ff41;
}

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

@keyframes borderGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    }
    100% {
        box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(0, 255, 65, 0.3);
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    }
    50% {
        border-color: rgba(0, 255, 65, 0.8);
        box-shadow: 0 0 25px rgba(0, 255, 65, 0.6);
    }
}

@media (max-width: 992px) {
    .terminal-container {
        width: 95%;
        padding: 2rem 3rem;
    }
    
    .terminal-text {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .terminal-container {
        padding: 1.5rem 2rem;
        width: 98%;
    }
    
    .terminal-text {
        font-size: 2.5rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 576px) {
    .terminal-container {
        padding: 1.2rem 1.5rem;
        min-height: 150px;
    }
    
    .terminal-text {
        font-size: 2rem;
        letter-spacing: 0.05em;
        border-right-width: 2px;
    }
    
    .cursor {
        width: 2px;
    }
}

@media (max-width: 400px) {
    .terminal-text {
        font-size: 1.6rem;
        letter-spacing: 0.03em;
    }
}
