.road-fighter-game-container {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    border: 2px solid #333;
    border-radius: 10px;
}

.road-fighter-game-container canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.road-fighter-game-container .ui-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100000;
}

.road-fighter-game-container .joystick {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: auto;
    touch-action: none;
}

.road-fighter-game-container .joystick-knob {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s;
}

.road-fighter-game-container .button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 50, 50, 0.3);
    border: 3px solid rgba(255, 50, 50, 0.6);
    border-radius: 50%;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
    pointer-events: auto;
    touch-action: manipulation;
}

.road-fighter-game-container .button.active {
    background: rgba(255, 50, 50, 0.6);
}

.road-fighter-game-container .hud {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    text-align: center;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.road-fighter-game-container .game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 32px;
    text-align: center;
    pointer-events: none;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    display: none;
}

.road-fighter-game-container .restart-btn {
    margin-top: 20px;
    padding: 15px 40px;
    background: rgba(255, 50, 50, 0.8);
    border: 3px solid white;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

.road-fighter-game-container .leaderboard {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #fff;
    border-radius: 8px;
    width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.road-fighter-game-container .leaderboard h3 {
    margin: 0 0 10px 0;
    color: #ffff00;
    text-decoration: underline;
    font-size: 20px;
}

.road-fighter-game-container .leaderboard ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.road-fighter-game-container .leaderboard li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    font-size: 16px;
}

/* Social Media Sharing Styles */
.road-fighter-game-container .share-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #fff;
    border-radius: 8px;
    width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.road-fighter-game-container .share-section h3 {
    margin: 0 0 10px 0;
    color: #ffff00;
    text-decoration: underline;
    font-size: 20px;
}

.road-fighter-game-container .share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.road-fighter-game-container .share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: transform 0.2s;
    pointer-events: auto;
}

.road-fighter-game-container .share-btn:hover {
    transform: scale(1.1);
}

.road-fighter-game-container .twitter-share {
    background-color: #1DA1F2;
}

.road-fighter-game-container .facebook-share {
    background-color: #4267B2;
}

.road-fighter-game-container .whatsapp-share {
    background-color: #25D366;
}

.road-fighter-game-container .copy-share {
    background-color: #6c757d;
}

.road-fighter-game-container .share-message {
    font-size: 14px;
    margin-top: 10px;
    color: #00ff00;
    display: none;
}

/* Start Screen Styles */
.road-fighter-game-container .start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 314748364700;
    color: white;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.road-fighter-game-container .start-screen img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    display: block;
}

.road-fighter-game-container .play-now-btn {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 50, 50, 0.8);
    border: 3px solid white;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    transition: all 0.3s;
}

.road-fighter-game-container .play-now-btn:hover {
    background: rgba(255, 50, 50, 1);
    transform: scale(1.05);
}

.road-fighter-game-container .start-instruction {
    margin-top: 20px;
    font-size: 16px;
    color: #ffff00;
    opacity: 0.8;
}

/* Audio Controls */
.road-fighter-game-container .audio-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2147483649;
}

.road-fighter-game-container .audio-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}