
h1 {
    margin-top: 30px;
    color: #003366;
    text-align: center;
}

body.dark-mode h1 {
    color: white;
}

.main-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countries-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.country-box {
    background: #f0f9ff;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
    /* Removed cursor: pointer; */
}

.country-box h3 a {
    text-decoration: none;
    color: black;
    cursor: pointer; /* Hand cursor only on the link */
}


.country-box:hover {
           
            transform: translateY(-5px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
.country-box h3 {
            margin-bottom: 10px;
            color: #003366;
        }

.country-box .time {
    font-family: 'Lucida Console', Monaco, monospace;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    letter-spacing: 0px;
    text-align: center;
}

body.dark-mode .country-box {
    background: rgba(40, 40, 40, 0.9);
    color: white;
}

body.dark-mode .country-box h3 a {  
    color: white;
}

body.dark-mode .time {
    color: #00ff00;
}

.country-link:hover {
    cursor: pointer;
}

/* ✅ Ad slot style */
.ad-slot {
    width: 100%;
    max-width: 728px;
    margin: 30px auto;
    text-align: center;
    padding: 10px 0;
}

.info-note {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

body.dark-mode .info-note {
    color: #ccc;
}

.back-btn-wrapper {
    margin: 15px 0;
    text-align: center;
}

.back-btn {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #0056b3;
}

/* Responsive for mobile screens */
@media (max-width: 900px) {
    .country-box {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .country-box {
        width: 100%;
    }

    .ad-slot {
        max-width: 300px;
    }
}