/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Particles background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Main container */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth container (login/register) */
.auth-container {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background-color: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 2px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #666;
}

/* Button styles */
.btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #444;
}

/* Register link */
.register-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.register-link a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #444;
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.register-link a:hover {
    border-color: #fff;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid #333;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* Forum content styles */
.forum-container {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.forum-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.forum-nav {
    display: flex;
    gap: 1rem;
}

.forum-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.forum-nav a:hover {
    color: #fff;
}

/* Error messages */
.error-message {
    color: #ff6b6b;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Success messages */
.success-message {
    color: #69db7c;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Invitation code field highlight */
.invitation-code-field {
    border: 1px solid #444;
    background-color: #222;
}

.invitation-code-field:focus {
    border-color: #666;
    background-color: #222;
}