:root {
    --background: #1f1f2e;
    --primary-accent: #ff4d6d;
    --secondary-accent: #4cc9f0;
    --success-highlight: #caffbf;
    --error-warn: #ff9f1c;
    --card-background: #2a2a3e;
    --font-color: #f1f1f1;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--font-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

body.light-mode {
    --background: #fdfdfd;
    --primary-accent: #e63946;
    --secondary-accent: #3a86ff;
    --success-highlight: #38b000;
    --error-warn: #ff9f1c;
    --card-background: #ffffff;
    --font-color: #1a1a1a;
}

body.light-mode header {
    background-color: var(--primary-accent);
    color: white;
}

body.light-mode h1, 
body.light-mode h2 {
    text-shadow: none;
    color: var(--font-color);
}

body.light-mode #dark-mode-toggle {
    background: white;
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
}

body.light-mode section {
    background-color: #f5f5f5;
    color: var(--font-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode input,
body.light-mode select,
body.light-mode button {
    background-color: white;
    color: var(--font-color);
    border: 1px solid #ddd;
}

body.light-mode button {
    background-color: var(--primary-accent);
    color: white;
}

body.light-mode #lazy-mode {
    background-color: var(--error-warn);
    color: white;
    border: none;
}

body.light-mode ul li {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}


h1, h2 {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px var(--primary-accent);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--card-background);
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

#dark-mode-toggle {
    background: var(--secondary-accent);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--background);
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input, select, button {
    padding: 0.75rem;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--font-color);
    font-size: 1rem;
}

select[multiple] {
    height: 100px;
}

button {
    background-color: var(--primary-accent);
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
}

#lazy-mode {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: var(--error-warn);
    border-radius: 25px;
    font-size: 1.2rem;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.bounce {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    header {
        padding: 1rem;
    }
    section {
        padding: 1rem;
    }
    form {
        gap: 0.75rem;
    }
    input, select, button {
        width: 100%;
    }
}