html {
  height: 100%;
  width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #1E1E1E;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo {
    width: 300px;
    height: auto;
    max-width: 90%;
    margin: 0 auto 30px;
    display: block;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 10px;
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

#countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    width: 100%;
}

.countdown-display {
    color: white;
    text-align: center;
    font-size: 2.5em;
    margin: 20px 0 40px;
    animation: swing 2s ease-in-out infinite;
    transform-origin: top;
    display: inline-block;
}

.countdown-display span {
    font-weight: bold;
    padding: 0 5px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.country-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    background-color: #2D2D2D;
}

.country-card:hover {
    background-color: #3D3D3D;
    transform: translateY(-2px);
}

.flag {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    border-radius: 50%;
}

.country-name {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.popup-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;
}

.popup-content {
    width: 90%;
    max-width: 600px;
    height: 90vh;
    max-height: 600px;
    position: relative;
    background: #1E1E1E;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content img {
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px 12px;
    border-radius: 50%;
    z-index: 1001;
}

.close-popup:hover {
    background: rgba(0, 0, 0, 0.8);
}