body.contact-page {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.crt-frame.compact .crt-screen {
    width: clamp(320px, 85vw, 900px);
    height: clamp(550px, 85vh, 750px);
}

.contact-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 102, 0.3);
}

.contact-nav {
    display: flex;
    gap: 20px;
    font-size: 20px;
    letter-spacing: 2px;
}

.contact-nav .nav-link {
    color: #00ff66;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    text-shadow: 0 0 5px #00ff66;
}

.contact-nav .nav-link:hover {
    text-shadow: 0 0 10px #00ff66, 0 0 20px #00ff66;
}

.contact-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
}

.corner-logo {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.contact-page .crt-content {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

.contact-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 30px;
}

.contact-title {
    font-size: 24px;
    letter-spacing: 3px;
    text-align: center;
    animation: pulse 2s infinite;
    margin: 0;
}

.terminal-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #00ff66;
}

.form-label .prompt {
    display: inline-block;
    animation: pulse 2s infinite;
    margin-right: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(0, 255, 102, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.3);
    color: #00ff66;
    font-family: 'VT323', monospace;
    font-size: 16px;
    padding: 6px 10px;
    letter-spacing: 1px;
    outline: none;
    transition: all 0.3s;
    text-shadow: 0 0 3px #00ff66;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #00ff66;
    background: rgba(0, 255, 102, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-btn {
    background: transparent;
    border: 2px solid #00ff66;
    color: #00ff66;
    font-family: 'VT323', monospace;
    font-size: 20px;
    letter-spacing: 3px;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    text-shadow: 0 0 5px #00ff66;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00ff66;
    transition: left 0.3s;
    z-index: -1;
}

.submit-btn:hover {
    color: #0a0f0a;
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.5);
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover .btn-cursor {
    animation: blink-cursor 0.5s infinite;
}

.btn-cursor {
    margin-left: 10px;
    animation: blink-cursor 1s infinite;
}

.thank-you-message {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: pulse 1s infinite;
}

.success-text {
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.success-subtext {
    font-size: 20px;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.address-block {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 102, 0.3);
    background: rgba(0, 255, 102, 0.05);
    border-radius: 4px;
}

.address-header {
    font-size: 18px;
    letter-spacing: 2px;
    color: #00ff66;
    margin-bottom: 15px;
    text-decoration: underline;
}

.address-line {
    font-size: 20px;
    letter-spacing: 2px;
    color: #00ff66;
    margin: 5px 0;
    text-shadow: 0 0 3px #00ff66;
}

#status-text {
    transition: all 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-footer {
    margin-top: auto;
    padding: 10px 30px;
    border-top: 1px solid rgba(0,255,102,0.2);
}

.contact-footer .status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .crt-frame.compact .crt-screen {
        width: 90vw;
        height: 85vh;
    }

    .contact-header-bar {
        padding: 15px 20px;
    }

    .contact-nav {
        font-size: 18px;
        gap: 15px;
    }

    .contact-title {
        font-size: 20px;
    }

    .corner-logo {
        width: 50px;
        height: 50px;
    }

    .form-input,
    .form-textarea {
        font-size: 16px;
    }

    .submit-btn {
        font-size: 18px;
    }
}