
:root {
    --bg-color: #050505; 
    --text-color: #f0f0f0; 
    --border-color: #333333;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-transform: lowercase; 
}

/* Rainbow Animation */
@keyframes rainbow {
    0%   { color: hsl(0, 100%, 70%); }
    20%  { color: hsl(72, 100%, 70%); }
    40%  { color: hsl(144, 100%, 70%); }
    60%  { color: hsl(216, 100%, 70%); }
    80%  { color: hsl(288, 100%, 70%); }
    100% { color: hsl(360, 100%, 70%); }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -1px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    animation: rainbow 10s linear infinite;
}

.logo:hover {
    opacity: 0.7;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    border-bottom: 1px solid var(--text-color);
}

/* Form Container for Register pages */
.form-container {
    padding: 4rem 3rem;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

.form-container h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-container h1::before {
    content: '↓';
    font-size: 2.5rem;
    font-weight: lighter;
}

.brutalist-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 1.25rem 1rem;
    font-family: inherit;
    font-size: 1.2rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--text-color);
}

.helper-text {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

.suggest-link {
    position: absolute;
    right: 0;
    bottom: -1.8rem;
    font-size: 0.85rem;
    color: var(--text-color);
    text-decoration: underline;
}

.suggest-link:hover {
    text-decoration: none;
}

.action-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
    font-family: inherit;
    cursor: pointer;
    text-transform: lowercase;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

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

.form-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
}

.form-footer a {
    color: var(--text-color);
    text-decoration: underline;
}

.form-footer a:hover {
    text-decoration: none;
}
