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

body {
    font-family: 'Courier New', monospace;
    background-color: #0c0c0c;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 40px;
    z-index: 2;
}

.text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 80%;
}

.main-text {
    font-size: 28px;
    padding: 15px 25px;
    color: #4dd0ff;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 3px solid #00b4db;
    border-right: 3px solid #00b4db;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.main-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #4dd0ff;
    animation: pulse 2s infinite;
}

.main-text::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background-color: #4dd0ff;
    animation: pulse 2s infinite;
}

.main-text .bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #4dd0ff, transparent);
}

.ascii-art {
    font-size: 28px;
    color: #4dd0ff;
    letter-spacing: -1px;
    font-weight: bold;
    text-shadow: 0 0 10px #00b4db, 0 0 20px #00b4db;
    position: relative;
    white-space: pre;  
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rune {
    position: absolute;
    color: #4dd0ff;
    font-size: 20px;
    text-shadow: 0 0 5px #00b4db;
    opacity: 0.8;
    font-family: monospace;
}

.language-indicator {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 14px;
    color: #00b4db;
    opacity: 0.7;
}

.geometric-particle {
    position: absolute;
    background-color: #4dd0ff;
    opacity: 0.3;
    pointer-events: none;
    transform-origin: center center;
    box-shadow: 0 0 10px #00b4db;
}

.glitch-effect {
    animation: glitch 2s infinite;
    position: relative;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes glitch {
    0% { transform: translateX(0); }
    2% { transform: translateX(3px) skewX(2deg); }
    4% { transform: translateX(-3px) skewX(-2deg); filter: hue-rotate(0deg); }
    6% { transform: translateX(0); }
    8% { transform: translateY(-2px); filter: hue-rotate(30deg); }
    10% { transform: translateY(0); }
    90% { filter: hue-rotate(0deg); }
    98% { transform: translateX(-2px) skewX(1deg); filter: hue-rotate(-30deg); }
    100% { transform: translateX(0); filter: hue-rotate(0deg); }
}

@media (max-width: 600px) {
    .ascii-art {
        font-size: 16px;
        transform: scale(0.8);
        transform-origin: center center;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .main-text {
        font-size: 18px;
        padding: 10px 15px;
        width: 90%;
        max-width: 300px;
    }
    
    .header {
        top: 20px;
    }
}

@media (max-width: 400px) {
    .ascii-art {
        font-size: 12px;
        transform: scale(0.7);
    }
    
    .main-text {
        font-size: 16px;
        padding: 8px 12px;
    }
}

@media (max-height: 600px) {
    .header {
        top: 10px;
    }
    
    .ascii-art {
        transform: scale(0.7);
        transform-origin: center top;
    }
}