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

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    background: linear-gradient(135deg, #ffb6c1 0%, #ffc0cb 50%, #ffb6c1 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 192, 203, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 182, 193, 0.2) 0%, transparent 50%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Flower decorations */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23ff69b4" opacity="0.3"/><circle cx="30" cy="30" r="15" fill="%23ff1493" opacity="0.4"/><circle cx="70" cy="30" r="15" fill="%23ff1493" opacity="0.4"/><circle cx="30" cy="70" r="15" fill="%23ff1493" opacity="0.4"/><circle cx="70" cy="70" r="15" fill="%23ff1493" opacity="0.4"/><circle cx="50" cy="50" r="20" fill="%23ffb6c1" opacity="0.5"/></svg>') no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

body::before {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

body::after {
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

.music-control-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.6);
}

.music-control-btn:active {
    transform: scale(0.95);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.bee-icon {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

header h1 {
    color: #d63384;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

section {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 192, 203, 0.5);
    overflow: hidden;
}

section h2 {
    color: #c2185b;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.date-section {
    text-align: center;
}

.event-date {
    font-size: 1.5em;
    color: #d63384;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-time {
    font-size: 1.3em;
    color: #d63384;
    font-weight: bold;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.countdown-item {
    background: linear-gradient(135deg, #f0ff69, #fffb00);
    color: rgb(0, 0, 0);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.countdown-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
}

.countdown-complete {
    text-align: center;
    margin-top: 20px;
    animation: celebrate 1s ease-in-out infinite;
}

.celebration-bee {
    width: 200px;
    height: 200px;
    animation: spin 2s linear infinite, bounce 1s ease-in-out infinite;
}

@keyframes celebrate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.location-section {
    text-align: center;
}

.location-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin: 20px 0;
}

.map-select {
    padding: 12px 20px;
    font-size: 1.1em;
    border: 2px solid #ff69b4;
    border-radius: 10px;
    background: white;
    color: #c2185b;
    cursor: pointer;
    min-width: 250px;
    font-family: inherit;
}

.map-select:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

.location-btn {
    padding: 12px 30px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #f0ff69, #fffb00);
    color: black;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.location-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.location-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.location-hint {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

#iframe-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio (450/600) */
    margin: 20px 0;
}

#iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    max-width: 100%;
}

.map-image-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.map-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gift-section,
.pool-section,
.sports-section {
    text-align: center;
}

.gift-info,
.pool-info,
.sports-info {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 1.3em;
    color: #d63384;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }
    
    .bee-icon {
        width: 100px;
        height: auto;
    }
    
    section h2 {
        font-size: 1.5em;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px 15px;
    }
    
    .countdown-number {
        font-size: 1.5em;
    }
    
    .music-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        top: 15px;
        right: 15px;
    }
    #iframe-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 75%; /* 4:3 Aspect Ratio (450/600) */
        margin: 0 auto;
    }
    #iframe-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        border: 0;
        max-width: 100%;
    }
}


