body {
    font-family: Inter, sans-serif;
    margin: 0;
    padding: 20px;
    text-align: center;
}
.site-title {
    color: #ff0000;
}
#map-container {
    width: 800px;
    height: 500px;
    margin: 20px auto;
    position: relative;
    border: 2px solid #ccc;
}
#game-controls {
    margin: 20px;
}
.difficulty-btn {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
}
#score {
    font-size: 20px;
    margin: 20px;
}
#target-country {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 20px 0;
    display: block;
}
.country {
    fill-opacity: 0.2;
    stroke: #444;
    stroke-width: 1;
    transition: fill-opacity 0.2s;
}

.country:hover {
    fill-opacity: 0.5;
    cursor: pointer;
}

.highlighted {
    fill-opacity: 0.7 !important;
}
.country-tooltip {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 3px;
    color: white;
    font-weight: bold;
}
.country-tooltip:before {
    border: none;
}
#message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.success-message {
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.error-message {
    background-color: #e74c3c;
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

#game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#start-menu {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.game-btn {
    padding: 12px 25px;
    margin: 10px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-btn:hover {
    transform: scale(1.05);
}

#timer {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px;
}

.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

#game-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px;
}

.mode-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mode-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.mode-description {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.difficulty-select {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #2c3e50;
    cursor: pointer;
}

.found-country {
    fill: #2ecc71 !important;
    fill-opacity: 0.6 !important;
}

#stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
    text-align: center;
}

.stat-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
}

.menu-btn {
    position: fixed;
    top: 70px;
    right: 50px;
    z-index: 900;
    background: #3498db;
}

#finish-btn {
    position: fixed;
    top: 20px;
    right: 50px;
    z-index: 900;
}

#next-country {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 10px;
}

.streak-counter {
    position: fixed;
    top: 190px;
    right: 100px;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    z-index: 900;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.streak-highlight {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.best-streak {
    position: fixed;
    top: 250px;
    right: 100px;
    font-size: 18px;
    color: #fffffffb;
    z-index: 900;
    background: rgba(255, 192, 19, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hint-btn, .surrender-btn {
    display: none;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hint-btn:hover, .surrender-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.hint-btn:disabled, .surrender-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.hint-container {
    position: fixed;
    bottom: 70px;
    right: 20px;
    max-width: 300px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hint-text {
    margin: 0;
    color: #2c3e50;
    font-size: 16px;
}

.hints-left {
    display: none;
}

.surrendered {
    fill: #f1c40f !important;  /* Yellow color */
    fill-opacity: 0.6 !important;
}

/* Add some spacing between icon and text */
.game-btn i {
    margin-right: 8px;
}

.back-to-home {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.back-to-home:hover {
    transform: scale(1.05);
    background: #2980b9;
}

.back-to-home i {
    margin-right: 8px;
}

#start-menu {
    text-align: center;
}

.version-info {
    position: fixed;
    bottom: 20px;  /* Adjust this value to position above the feedback button */
    right: 50px;
    font-size: 14px;
    color: #666;
}

.feedback-btn {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: none;
    opacity: 0.5;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    color: #000000;
}

/* Add new container for hint controls */
.hint-controls {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    width: fit-content;
}

.hint-btn {
    background: #3498db !important;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: inline-block !important;
}

.documentation-link {
    font-size: 16px; 
    font-family: Inter, sans-serif;
    font-weight: 300; 
    position: relative; 
    bottom: 10px; 
    cursor: pointer;
}

.documentation-link:hover{
    color: #a13636;
    font-weight: 900;
    transition: 0.5s;
}
    

.surrender-btn {
    background: #db3434 !important;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: inline-block !important;
}

/* Remove these buttons from hidden class control */
.hint-btn.hidden,
.surrender-btn.hidden {
    display: inline-block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.new-tag {
    position: absolute;
    top: -20px;
    right: -10px;
    background: #ff3e3e;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
    100% { transform: rotate(15deg) scale(1); }
}

/* Add these styles for the feedback image */
img[alt="Feedback"] {
    cursor: pointer;
}
