.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1607190074257-dd4b7af0309f');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.cover-content {
    text-align: center;
    color: white;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1.5s ease-out;
}

.cover-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 20px auto;
    border: 5px solid var(--accent-color);
    animation: pulseGlow 2s infinite;
    position: relative;
    overflow: hidden;
}

.cover-photo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

/* Countdown Styles */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item span {
    display: block;
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.countdown-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.music-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.music-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.music-button.playing {
    animation: rotate 3s linear infinite;
}

.open-invitation {
    margin-top: 40px;
    padding: 15px 40px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.open-invitation:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cover-content {
        padding: 1.5rem;
        width: 90%;
    }

    .cover-photo {
        width: 150px;
        height: 150px;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .music-control {
        bottom: 20px;
        right: 20px;
    }

    .music-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .open-invitation {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}