/* Importação de fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Parisienne&display=swap');

/* Variáveis de cores */
:root {
    --primary-color: #ff6f61; /* Um tom de rosa/vermelho vibrante */
    --secondary-color: #6a0572; /* Um tom de roxo profundo */
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --bg-light: #fdf6f7;
    --bg-dark: #2a2a2a;
    --card-bg: #ffffff;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--bg-light), #ffe0e6);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.container:hover {
    box-shadow: var(--hover-shadow);
}

/* Header */
.header {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 30px;
}

.title {
    font-family: 'Parisienne', cursive;
    font-size: 3.5em;
    color: var(--secondary-color);
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hero Section (Foto e Contador) */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 0 8px rgba(255, 111, 97, 0.3);
    transition: transform 0.3s ease-in-out;
}

.image-wrapper:hover {
    transform: scale(1.05) rotate(2deg);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-content {
    text-align: center;
}

.name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.love-counter {
    font-size: 1.4em;
    color: var(--text-color);
    font-weight: 400;
    background-color: #fce4ec; /* Um rosa claro */
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block; /* Para o background ficar certinho */
}

.love-counter p {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.love-counter span {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1em;
}

/* About Her Section (Texto sobre a namorada) */
.about-her {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #fffaf0; /* Um creme suave */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-her h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.description {
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.8;
    text-align: justify;
}

/* Spotify Section */
.spotify-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #e0f2f7; /* Um azul claro */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.spotify-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.spotify-embed {
    width: 100%;
    max-width: 500px; /* Limita a largura do player */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden; /* Garante que o iframe siga o border-radius */
}

.spotify-embed iframe {
    width: 100%;
    height: 352px; /* Altura padrão do player de faixa do Spotify */
    border: none;
}

/* Footer */
.footer {
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
    margin-top: 30px;
    font-size: 0.9em;
    color: var(--text-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .title {
        font-size: 2.8em;
    }

    .name {
        font-size: 2em;
    }

    .love-counter {
        font-size: 1.2em;
    }

    .hero {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2em;
    }

    .name {
        font-size: 1.6em;
    }

    .love-counter {
        font-size: 1em;
        padding: 10px 15px;
    }

    .about-her h3,
    .spotify-section h3 {
        font-size: 1.5em;
    }

    .description {
        font-size: 1em;
    }
}