* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --racing-gradient: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    --dark-overlay: rgba(0, 0, 0, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-glow: 0 0 20px rgba(255, 255, 255, 0.5);
    --neon-blue: #00d4ff;
    --neon-pink: #ff0080;
    --neon-green: #00ff88;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: url('background.png') center center / cover no-repeat;
    color: white;
    overflow: hidden;
    min-height: 100vh;
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Screen Management */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.screen.active {
    display: flex;
}

.screen-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 3px solid #ffdd00;
    box-shadow: 0 4px 20px rgba(255, 221, 0, 0.3);
}

/* Hero Container */
.hero-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%);
}

/* Background Animation - Removed glowing lines */
.bg-animation {
    display: none; /* Disabled racing lines */
}

/* Header */
.game-header {
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: -2rem;
}

.game-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 0rem;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5))
            drop-shadow(0 0 40px rgba(78, 205, 196, 0.3));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5))
                drop-shadow(0 0 40px rgba(78, 205, 196, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 107, 107, 0.7))
                drop-shadow(0 0 60px rgba(78, 205, 196, 0.5));
    }
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: var(--text-glow);
    margin-bottom: 1rem;
}

.game-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0rem;
    margin-top: -0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    flex: 1;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.left-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.menu-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.menu-btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
}

.menu-btn.primary {
    background: linear-gradient(45deg, #ff4500, #ff6b00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.6);
    border: 3px solid #ffdd00;
}

.menu-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.8);
    border-color: #fff200;
}

.menu-btn.primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.menu-btn.primary:hover .btn-glow {
    left: 100%;
}

.menu-btn.secondary {
    background: linear-gradient(45deg, rgba(0, 200, 0, 0.8), rgba(0, 150, 50, 0.8));
    color: white;
    border: 3px solid #00ff00;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 200, 0, 0.4);
}

.menu-btn.secondary:hover {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.9), rgba(0, 200, 50, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.6);
    border-color: #88ff88;
}

/* Contract Card */
.contract-card {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #ffdd00;
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 221, 0, 0.3);
}

.contract-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.5);
    border-color: #fff200;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.network-badge {
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.contract-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contract-field label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contract-field span {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    color: white;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.copy-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.explorer-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explorer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.social-btn {
    padding: 0.8rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.connection-status {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contract-card {
        max-width: 500px;
        margin: 0 auto 1.5rem;
    }
    
    .game-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .game-tagline {
        font-size: 1.2rem;
    }
    
    .menu-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }
    
    .contract-card {
        padding: 1rem;
    }
    
    .address-text {
        font-size: 0.7rem;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* About Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #ffdd00;
    border-radius: 20px;
    padding: 0;
    backdrop-filter: blur(20px);
    max-width: 600px;
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(255, 221, 0, 0.4);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #ffdd00;
    background: rgba(255, 69, 0, 0.2);
}

.modal-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffdd00;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-close {
    background: none;
    border: 2px solid #ffdd00;
    color: #ffdd00;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 221, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 221, 0, 0.5);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

/* Player Name Modal Styles */
.name-input-section {
    text-align: center;
    padding: 1rem 0;
}

.name-input-section p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 1rem;
}

.input-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.name-input, .wallet-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: 'Orbitron', monospace;
    text-align: center;
    transition: all 0.3s ease;
}

.name-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(64, 224, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.name-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.name-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.name-buttons .menu-btn {
    min-width: 140px;
}

.about-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffdd00;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.about-features .feature-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.8rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 221, 0, 0.3);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.about-features .feature-item:hover {
    background: rgba(255, 221, 0, 0.15);
    transform: translateY(-2px);
    border-color: #ffdd00;
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3);
}

.blockchain-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border: 2px solid rgba(255, 221, 0, 0.3);
}

.info-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.coming-soon {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(255, 221, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-preview:hover {
    background: rgba(255, 221, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 221, 0, 0.4);
    border-color: #ffdd00;
}

.preview-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ff4500, #ffdd00);
    border-radius: 15px;
    flex-shrink: 0;
    border: 2px solid #ffdd00;
}

.preview-text {
    flex: 1;
}

.preview-text strong {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 0.3rem;
}

.preview-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.built-with {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
}

.version {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin: 0;
    opacity: 0.8;
}

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

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-preview {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .preview-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Game Screen */
#gameScreen {
    background: #1a1a1a;
    flex-direction: column;
}

#gameUI {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
}

.race-info {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

#gameCanvas {
    border: 2px solid #333;
    background: #2a2a2a;
}

#gameControls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
}

.controls-info p {
    margin: 0;
    font-size: 0.9rem;
}

/* Leaderboard */
.leaderboard-list {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    border: 3px solid #ffdd00;
    padding: 15px;
    margin: 20px 0;
    min-width: 500px;
    max-width: 600px;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 20px rgba(255, 221, 0, 0.3);
}

/* Custom scrollbar */
.leaderboard-list::-webkit-scrollbar {
    width: 8px;
}

.leaderboard-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffdd00, #ff8800);
    border-radius: 4px;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #fff200, #ffaa00);
}

.leaderboard-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border-left: 4px solid #ffdd00;
    border: 2px solid rgba(255, 221, 0, 0.3);
    transition: all 0.3s ease;
    min-height: 50px;
}

.leaderboard-entry:hover {
    background: rgba(255, 221, 0, 0.2);
    transform: translateX(5px);
    border-color: #fff200;
}

.leaderboard-entry.top {
    border-left-color: #ff4500;
    background: rgba(255, 69, 0, 0.3);
    font-size: 1.1rem;
    border-color: #ff4500;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.leaderboard-entry.top .leaderboard-rank {
    color: #fff200;
}

.leaderboard-rank {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 50px;
    color: #ffdd00;
}

.leaderboard-name {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.leaderboard-stats .wins {
    color: #00ff88;
    font-weight: bold;
}

.leaderboard-stats .races {
    color: #aaa;
    font-size: 0.9rem;
}

.leaderboard-stats .winrate {
    color: #ff8800;
    font-size: 0.9rem;
    font-weight: 600;
}

.leaderboard-wins {
    font-weight: bold;
    color: #00ff88;
}

/* Waiting Screen */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Race Results */
.race-results {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    min-width: 400px;
}

.result-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.result-entry.winner {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
}

.result-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }
    
    .menu-container, .screen-container {
        padding: 20px;
        margin: 20px;
    }
    
    #gameCanvas {
        width: 100%;
        height: auto;
        max-height: 60vh;
    }
    
    .race-info {
        font-size: 0.9rem;
        padding: 10px;
    }
}