/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500&display=swap');

/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fdf6f0;
    --secondary-color: #ff6b6b;
    --accent-color: #d4af37;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--text-color);
}

/* Tela de Boas-vindas */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #fff5eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease-in-out;
    padding: 20px;
}

.welcome-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.4;
}

.welcome-button {
    padding: 20px 40px;
    font-size: 1.2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-family: 'Poppins', sans-serif;
}

.welcome-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background-color: #ff5252;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Título Principal */
h1 {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Contagem Regressiva */
.countdown {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.countdown-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    min-width: 140px;
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Player de Música */
.audio-player {
    margin: 40px auto;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
    width: 100%;
    max-width: 400px;
}

.audio-container {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.music-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

/* Botão Próxima Música */
.next-song-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.next-song-button:hover {
    transform: translateY(-2px) scale(1.05);
    background-color: #ff5252;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Coração Animado */
.heart {
    color: var(--secondary-color);
    font-size: 4rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards, pulse 1.5s ease infinite;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .welcome-overlay h2 {
        font-size: 2rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: 120px;
        padding: 20px;
    }

    .number {
        font-size: 2.5rem;
    }

    .label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 100px;
        padding: 15px;
    }

    .number {
        font-size: 2rem;
    }

    .welcome-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
} 