:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --correct-color: #00ff00;
    --wrong-color: #ff0000;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

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

.container {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    flex-basis: 30%;
}

.stat-box h2 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#text-display {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.8;
}

#text-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    border-radius: 10px;
    resize: none;
    margin-bottom: 1rem;
}

#reset-button {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s;
}

#reset-button:hover {
    background-color: var(--secondary-color);
}

.correct {
    color: var(--correct-color);
}

.wrong {
    color: var(--wrong-color);
    text-decoration: underline;
}
