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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    font-family: 'Arial', sans-serif;
    overflow-y: hidden; /* Prevent scrolling */
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px; /* Use gap for consistent spacing */
}

#spotify-player {
    margin: 5px 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    width: 90%;
    max-width: 400px;
}

#spotify-player:hover {
    opacity: 1;
}

#spotify-player iframe {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

#dropdown {
    padding: 10px 25px;
    font-size: 1.1rem;
    border: 2px solid #e2e2e2;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    animation: pulse 2s infinite;
    margin: 5px 0;
}

#dropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

#dropdown option {
    background: #16213e;
    color: #fff;
    padding: 10px;
}

#image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: calc(100vh - 160px); /* Account for player and dropdown height */
    overflow: hidden;
}

#moon-image {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    display: none;
    border-radius: 20px;
}

#moon-image.visible {
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Add some stars to the background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}