/* START OF FILE style.css --- (MODIFICADO NOVAMENTE) --- */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f8c8dc, #e0bbe4, #957dad);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
}

.container {
    background:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url('imagemdefundo.jpg') /* <= CONFIRME O NOME DO SEU ARQUIVO! */
        center center / cover no-repeat;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 10;
    color: #333;
}

/* Estilo do Título Principal (Link) */
.title a {
    font-family: 'Pacifico', cursive;
    color: #a0527e;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: fadeInDown 1s ease-out;
    text-decoration: none;
    font-weight: normal;
    display: inline-block;
    line-height: 1.2;
}

.foto-casal {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    animation: zoomIn 1.2s ease-out;
}

/* --- ALTERAÇÃO: IMAGEM MAIOR --- */
.foto-casal img {
    /* Tamanho base da imagem aumentado */
    max-width: 340px; /* <<< AUMENTADO de 300px */
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid #fff; /* Mantido */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: opacity 0.4s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease, border-width 0.3s ease;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.foto-casal img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(160, 82, 126, 0.4);
}

#contador {
    margin-top: 20px;
    animation: fadeInUp 1.5s ease-out;
}

.texto-inicio {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 18px;
    display: none;
}

/* --- ALTERAÇÃO: CONTADOR MENOR (Grid e Blocos) --- */
.tempo-grid {
    display: grid;
    /* Ajustado minmax para acomodar blocos potencialmente menores */
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr)); /* <<< AJUSTADO de 90px */
    /* Gap ligeiramente menor */
    gap: 10px; /* <<< REDUZIDO de 12px */
    margin-bottom: 25px;
}

.tempo-bloco {
    background-color: #f8e0e8;
    /* Padding ligeiramente menor */
    padding: 10px 6px; /* <<< REDUZIDO de 12px 8px */
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tempo-bloco:hover {
    transform: translateY(-4px);
    background-color: #f4d4de;
}

/* --- ALTERAÇÃO: CONTADOR MENOR (Fontes) --- */
.tempo-valor {
    display: block;
    /* Fonte do contador reduzida */
    font-size: 2.0em; /* <<< REDUZIDO de 2.2em */
    font-weight: 700;
    color: #a0527e;
    line-height: 1.1;
}

.tempo-label {
    display: block;
    /* Fonte da label reduzida */
    font-size: 0.75em; /* <<< REDUZIDO de 0.8em */
    color: #666;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Mensagens de espera e rodapé (sem alteração significativa) */
.mensagem-espera-visivel {
    font-size: 1.05em;
    color: #a0527e;
    margin-top: 15px;
    font-style: italic;
    display: block;
}

.mensagem-espera-oculta { display: none; }

footer .mensagem-romantica {
    margin-top: 25px;
    font-size: 1.05em;
    color: #a0527e;
    font-style: italic;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
    animation: fadeInUp 1.8s ease-out;
}

/* Animações de Entrada (sem alteração) */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
/* --- FIM DAS ANIMAÇÕES --- */


/* --- ### RESPONSIVIDADE COM AJUSTES ### --- */

/* Telas Médias (Tablets, celulares maiores em paisagem) */
@media (max-width: 768px) {
    .container {
        padding: 25px 30px;
        max-width: 90%;
    }

    .title a {
        font-size: 2.2em;
    }

    /* --- ALTERAÇÃO: IMAGEM MAIOR --- */
    .foto-casal img {
         max-width: 310px; /* <<< AUMENTADO de 280px */
         border-width: 4px;
    }

    /* --- ALTERAÇÃO: CONTADOR MENOR (Fontes) --- */
    .tempo-valor {
        font-size: 1.8em; /* <<< REDUZIDO de 2em */
    }
     /* Label já pequena, pode manter ou reduzir para 0.7em se necessário */
     /* .tempo-label { font-size: 0.7em; } */
}


/* Telas Pequenas (Celulares em modo retrato) */
@media (max-width: 600px) {
    body { padding: 10px; }
    .container { padding: 20px 15px; }

    .title a {
        font-size: 2em;
        margin-bottom: 15px;
    }

    /* --- ALTERAÇÃO: IMAGEM MAIOR --- */
    .foto-casal img {
        max-width: 260px; /* <<< AUMENTADO de 220px */
        border-width: 4px;
    }

    .tempo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px; /* <<< REDUZIDO de 10px */
    }

    .tempo-bloco {
        padding: 8px 5px; /* <<< REDUZIDO de 10px 5px */
    }

    /* --- ALTERAÇÃO: CONTADOR MENOR (Fontes) --- */
    .tempo-valor {
        font-size: 1.6em; /* <<< REDUZIDO de 1.8em */
    }

    .tempo-label {
        font-size: 0.7em; /* <<< REDUZIDO de 0.75em */
    }

     .texto-inicio {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    footer .mensagem-romantica {
        font-size: 1em;
        margin-top: 20px;
    }
}

/* Telas Muito Pequenas */
@media (max-width: 420px) {
    .container {
        padding: 15px 10px;
        border-radius: 10px;
    }

     .title a { font-size: 1.8em; }

    /* --- ALTERAÇÃO: IMAGEM MAIOR --- */
    .foto-casal img {
        max-width: 220px; /* <<< AUMENTADO de 180px */
        border-width: 3px;
    }

    .tempo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px; /* <<< REDUZIDO de 8px */
    }

    .tempo-bloco {
        padding: 6px 4px; /* <<< REDUZIDO de 8px 5px */
        border-radius: 8px;
    }

    /* --- ALTERAÇÃO: CONTADOR MENOR (Fontes) --- */
    .tempo-valor {
        font-size: 1.4em; /* <<< REDUZIDO de 1.6em */
    }

    .tempo-label {
        font-size: 0.65em; /* <<< REDUZIDO de 0.7em */
    }
}

/* Código da Animação de Corações (opcional) permanece o mesmo */
/* ... */
/* --- END OF FILE style.css --- (MODIFICADO NOVAMENTE) --- */