/* styles.css */
:root {
    --bg-light: #ffffff;
    --text-light: #333333;
    --accent-light: #4a6cf7;
    --bg-dark: #1a1a1a;
    --text-dark: #f0f0f0;
    --accent-dark: #7289da;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 0;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

#themeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-theme nav {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(0,0,0,0.1);
}

body.dark-theme nav a:hover {
    background: rgba(255,255,255,0.1);
}

.page {
    display: none;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    background: rgba(0,0,0,0.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

body.dark-theme .auth-container {
    background: rgba(255,255,255,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#discordLogin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #7289da;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    gap: 10px;
    transition: background 0.3s;
}

#discordLogin:hover {
    background: #5a6ec7;
}

#discordLogin img {
    height: 24px;
}

.download-btn {
    background-color: var(--accent-light);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

body.dark-theme .download-btn {
    background-color: var(--accent-dark);
}

.download-btn:hover {
    opacity: 0.9;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

body.dark-theme .divider::before {
    background: rgba(255,255,255,0.1);
}

.divider span {
    background: var(--bg-light);
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

body.dark-theme .divider span {
    background: var(--bg-dark);
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

body.dark-theme form input, 
body.dark-theme form textarea {
    border: 1px solid #444;
    background: rgba(255,255,255,0.05);
    color: white;
}

form button {
    background: var(--accent-light);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

body.dark-theme form button {
    background: var(--accent-dark);
}
