:root {
    --bg-black: #0a0a0a;
    --card-dark: #141414;
    --blood-red: #8b0000;
    --bright-red: #ff3131;
    --text-white: #e0e0e0;
    --text-gray: #757575;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background: radial-gradient(circle, #1a0505 0%, #0a0a0a 100%);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.container {
    background: var(--card-dark);
    padding: 3rem;
    border-radius: 4px;
    border-left: 4px solid var(--blood-red);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}

.container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.2;
    pointer-events: none;
}

h1 {
    font-size: 2.5rem;
    color: var(--bright-red);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px #000;
}

.user-name {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

button {
    padding: 15px;
    border: 1px solid var(--blood-red);
    background: transparent;
    color: var(--bright-red);
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--blood-red);
    color: white;
    box-shadow: 0 0 15px var(--blood-red);
}

button[onclick*="createLobby"] {
    background: var(--blood-red);
    color: white;
}

.player-button {
    border-color: #333;
    color: var(--text-white);
}

.player-button:hover {
    border-color: var(--bright-red);
    background: rgba(255, 49, 49, 0.1);
}

.timer-component {
    color: var(--bright-red);
    font-family: 'Courier', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dead-screen {
    border: 2px solid var(--bright-red);
    background: rgba(139, 0, 0, 0.1);
    padding: 20px;
}

.dead-screen h1 {
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 22%, 24%, 55% { opacity: 0.5; }
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}