:root {
    --bg-color: #1a1c2c;
    --text-color: #f4f4f4;
    --primary-color: #f41456;
    --secondary-color: #29adff;
    --accent-color: #00e436;
    --box-border: 4px solid var(--text-color);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* CRT Scanline Effect */
.crt::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

#app-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 10;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: var(--primary-color);
    text-shadow: 4px 4px 0px #000;
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

nav a.btn, nav button, .btn {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-color);
    background: var(--bg-color);
    border: var(--box-border);
    box-shadow: 4px 4px 0px #000;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    margin: 5px;
    text-transform: uppercase;
    transition: all 0.1s;
}

.btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn:active {
    box-shadow: 0px 0px 0px #000;
    transform: translate(4px, 4px);
}

.highlight {
    color: var(--accent-color);
}

.pixel-card {
    background: #23253b;
    border: var(--box-border);
    box-shadow: 8px 8px 0px #000;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.user-name {
    color: var(--secondary-color);
    margin-bottom: 10px;
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 5px;
    font-size: 16px;
    word-break: break-all;
}

.user-text {
    font-size: 12px;
    color: #ffd700;
    white-space: pre-wrap;
    word-break: break-all;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    color: var(--secondary-color);
}

input[type="text"], input[type="password"], textarea {
    background: #000;
    color: var(--text-color);
    border: var(--box-border);
    padding: 15px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: inset 4px 4px 0px rgba(0,0,0,0.5);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 10px;
    color: #888;
}

.error-msg {
    color: var(--primary-color);
    background: #000;
    padding: 10px;
    border: 2px solid var(--primary-color);
    margin-bottom: 15px;
    display: none;
}

.success-msg {
    color: var(--accent-color);
    background: #000;
    padding: 10px;
    border: 2px solid var(--accent-color);
    margin-bottom: 15px;
    display: none;
}