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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background-color: #f0f0f0;
    overflow: hidden;
}

.screen {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#welcome-screen {
    background: #18181B;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2000;
}

#welcome-screen h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    background: #AA1732;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#game-screen {
    position: relative;
    height: 100vh;
}

#street-view {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.map-modal.active {
    opacity: 1;
    visibility: visible;
}

.map-container {
    width: 90%;
    height: 85%;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.map-modal.active .map-container {
    transform: scale(1);
}

#map {
    width: 100%;
    height: 100%;
}

.close-map {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    font-size: 20px;
    border: none;
    padding: 0;
}

#game-controls {
    backdrop-filter: blur(10px);
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1000;
    background: rgb(0 0 0 / 50%);
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#score {
    background: white;
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-title {
    font-weight: bold;
    color: #2c3e50;
}

.notification-message {
    color: #34495e;
}

.notification-score {
    color: #27ae60;
    font-weight: bold;
}

.notification-countdown {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.city-votes {
    position: fixed;
    top: 20%;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #00000061;
    backdrop-filter: blur(20px);
}

.city-vote-item {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #aa1732;
    color: white !important;!i;!;
    padding: 10px;
    border-radius: 7px;
    line-height: 1;
}

.city-rank {
    font-weight: bold;
    color: white;
}

.city-name {
    flex-grow: 1;
}

.city-votes-class {
    color: #666;
    font-size: 14px;
}

.city-votes-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: white;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.city-vote-item {
    margin: 8px 0;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.city-rank {
    font-weight: bold;
    color: #2c3e50;
}

.city-name {
    flex-grow: 1;
    font-weight: 500;
}

.city-vote-count {
    color: #666;
    font-size: 14px;
}
.hidden {
    display: none !important;
}