body {
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
}

h1 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#gameCanvas {
    border: 3px solid #fff;
    border-radius: 15px;
    background-color: #a8d5e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.level-display {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.level-info {
    font-size: 1.4em !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    letter-spacing: 1px;
}

.game-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 400px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.info-box {
    font-family: 'Orbitron', monospace;
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#restartButton {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    padding: 12px 25px;
    cursor: pointer;
    border: none;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#restartButton:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Language selector styles */
.language-selector {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.flag-container {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flag {
    width: 45px;
    height: 32px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.flag:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.flag.active {
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.brazil-flag.active {
    border-color: #FEDD00;
    box-shadow: 0 0 15px rgba(254, 221, 0, 0.6);
}

.usa-flag.active {
    border-color: #B22234;
    box-shadow: 0 0 15px rgba(178, 34, 52, 0.6);
}

/* Version display in bottom right corner */
.version {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.version:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}