body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ff2a2a;
    background: black;
    overflow-x: hidden;
}

/* Tron grid background */
.grid {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(#ff2a2a44 1px, transparent 1px),
        linear-gradient(90deg, #ff2a2a44 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    animation: moveGrid 2s linear infinite alternate;
    z-index: -1;
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    50% { background-position: 0 20px; }
    100% { background-position: 0 40px; }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    background: #000000cc;
    padding: 15px 0;
    border-bottom: 1px solid #ff2a2a;
    box-shadow: 0 0 15px #ff2a2a44;
    position: sticky;
    top: 0;
    z-index: 2;
}

.navbar a {
    color: #ff2a2a;
    text-decoration: none;
    padding: 0 20px;
    font-weight: bold;
    text-shadow: 0 0 10px #ff2a2a;
    transition: all 0.3s ease;
}

.navbar a:hover {
    color: #ff4a4a;
    text-shadow: 0 0 20px #ff4a4a;
}

/* Container */
.container {
    width: 600px;
    margin: 40px auto;
    background: #000000aa;
    padding: 20px;
    border: 1px solid #ff2a2a;
    box-shadow: 0 0 20px #ff2a2a44;
    position: relative;
    z-index: 1;
}

/* Leaderboard table */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ff2a2a33;
}

th { text-shadow: 0 0 10px #ff2a2a; }

td.player { text-shadow: 0 0 8px #ff2a2a; }

tr:hover { background: #ff2a2a11; }

/* Header */
header { text-align: center; padding: 40px 20px 20px 20px; z-index: 1; position: relative; }

h1 { font-size: 48px; text-shadow: 0 0 20px #ff2a2a; animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 20px #ff2a2a; }
    50% { text-shadow: 0 0 35px #ff4a4a; }
}

/* Footer */
footer { margin-top: 40px; text-align: center; font-size: 12px; color: #ff2a2a99; position: relative; z-index: 1; }