body {
    background-color: #0d0d0d;
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
}

.screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.screen.active {
    display: flex;
}

.title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
}

input[type="text"] {
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 0 10px #00ffff;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 20px #00ffff;
}

button {
    background-color: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    padding: 0.5rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #ff00ff;
}

button:hover {
    background-color: #ff00ff;
    color: #0d0d0d;
    box-shadow: 0 0 20px #ff00ff;
}

#game-container {
    position: relative;
    width: 600px;
    height: 400px;
    border: 2px solid #00ffff;
    background-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    overflow: hidden;
}

#word-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.word {
    position: absolute;
    color: #00ff00;
    font-size: 1.5rem;
    white-space: nowrap;
    text-shadow: 0 0 5px #00ff00;
}

.word.exploding {
    animation: explode 0.5s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: scale(1);
        color: #00ff00;
        text-shadow: 0 0 5px #00ff00;
        opacity: 1;
    }
    100% {
        transform: scale(2);
        color: #ff0000;
        text-shadow: 0 0 20px #ff0000;
        opacity: 0;
    }
}

#game-info {
    display: flex;
    justify-content: space-between;
    width: 600px;
    font-size: 1.2rem;
}

#leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

#leaderboard-table th, #leaderboard-table td {
    border: 1px solid #00ffff;
    padding: 0.5rem 1rem;
}

#leaderboard-table th {
    color: #ff00ff;
}