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

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    background: #ffffff;
    color: #000000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.nav {
    background: #000000;
    padding: 1rem 0;
}

.brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border: 2px solid #ffffff;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.coming-soon-section {
    flex: 1;
    display: grid;
    grid-template-columns: calc(50% - 2px) calc(50% + 2px);
    gap: 0;
    overflow: hidden;
}

.coming-soon-main {
    background: #ffffff;
    color: #000000;
    padding: 4rem;
    border-right: 4px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.coming-soon-accent {
    background: #ff0000;
    color: #ffffff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.coming-soon-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 4rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.coming-soon-title .red {
    color: #ff0000;
}

.coming-soon-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.error-code {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 8rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ff0000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.error-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000000;
}

.error-description {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 500px;
    color: #000000;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.error-btn {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.5rem 3rem;
    border: 3px solid #000000;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease;
    user-select: none;
}

.error-btn.primary {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}

.error-btn.primary:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.error-btn.secondary {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
}

.error-btn.secondary:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.ascii-art {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    line-height: 1.1;
    white-space: pre-wrap;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.contact {
    height: 200px;
    background: #000000;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.contact h3 {
    color: white;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info {
    color: white;
    font-family: 'JetBrains Mono', monospace;
}

.coming-soon-section {
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    .coming-soon-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .coming-soon-main,
    .coming-soon-accent {
        border-right: none;
        border-bottom: 4px solid #000000;
        padding: 3rem 2rem;
    }
    
    .coming-soon-title {
        font-size: 3rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .ascii-art {
        font-size: 0.5rem;
    }

    .coming-soon-accent img {
        height: auto !important;
        width: clamp(260px, 55vw, 520px);
        max-width: 100%;
    }
    
    .contact {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .coming-soon-main,
    .coming-soon-accent {
        padding: 2rem 1rem;
    }
    
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .error-code {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .error-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .error-description {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }
    
    .error-btn {
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
    }
    
    .ascii-art {
        font-size: 0.4rem;
    }

    .coming-soon-accent img {
        width: clamp(220px, 60vw, 420px);
    }
    
    .contact {
        height: 160px;
    }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-hover:hover {
    animation: glitch 0.3s ease-in-out;
}