/* Country Selection Page - Black Theme with Circular Flags */

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

body {
    background-color: #000000;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.country-select-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.country-select-title {
    color: #ffffff;
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 80px;
    letter-spacing: 1px;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 80px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.country-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.country-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

    .country-link:hover {
        transform: scale(1.1);
    }

.country-flag-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #404040;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.country-link:hover .country-flag-circle {
    border-color: #606060;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.country-flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Other Countries Circle */
.country-flag-circle.other-countries {
    background: linear-gradient(135deg, #606060 0%, #404040 100%);
    border-color: #404040;
}

    .country-flag-circle.other-countries span {
        color: #000000;
        font-size: 1.3rem;
        font-weight: bold;
        text-align: center;
        line-height: 1.4;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .country-select-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .country-grid {
        gap: 40px 60px;
    }

    .country-flag-circle {
        width: 150px;
        height: 150px;
        border-width: 6px;
    }
}

@media (max-width: 768px) {
    .country-select-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 0 20px;
    }

    .country-flag-circle {
        width: 140px;
        height: 140px;
    }

        .country-flag-circle.other-countries span {
            font-size: 1.1rem;
        }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .country-select-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 10px;
    }

    .country-flag-circle {
        width: 120px;
        height: 120px;
        border-width: 5px;
    }

        .country-flag-circle.other-countries span {
            font-size: 1rem;
        }
}
