/* RESET E DEFINIÇÕES GERAIS */
* {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Evita que a página role no celular */
}

.bg {
    position: absolute;
    inset: 0;
     background: #f20a82;
    background: linear-gradient(301deg, rgba(242, 10, 130, 1) 21%, rgba(253, 29, 29, 1) 42%, rgba(219, 110, 88, 1) 60%, rgba(204, 142, 55, 1) 88%);
    z-index: -1;
}

/* CARD WRAPPER - RESPONSIVO */
.card-wrapper {
    width: 90%;
    max-width: 360px;
    height: 92vh;
    max-height: 650px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px;

    background: #fff3ea;
    border-radius: 48px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;

    /* sombra forte */
    box-shadow:
        0 40px 80px rgba(0,0,0,0.25);

    z-index: 1;
}


.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        180deg,
        rgba(199, 121, 12, 0.148),
        rgba(170, 27, 84, 0.102)
    );
    pointer-events: none;
}


/* CAPA */
.cover {
    position: absolute;
    inset: 0;
    background: #fff7ee;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 10;
}

.card.open .cover {
    transform: translateY(-110%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.emoji { font-size: 45px; display: block; margin-bottom: 10px; }
.save { letter-spacing: 3px; font-size: 11px; font-weight: 600; color: #888; }

h1 {
    font-size: 32px;
font-weight: 900;
margin: 15px 0 25px;
line-height: 1.1;

background: linear-gradient(90deg, #ff0291, #ff7a00);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;

}

h1 span { font-size: 24px; color: #ff6b6b; }

.cover button {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 45px;
    border-radius: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* CONTEÚDO INTERNO */
.subtitle {
    font-size: 10px;
    letter-spacing: 4px;
    color: #ff9f67;
    font-weight: 800;
    margin-bottom: 5px;
}

.name {
    font-size: 30px;
    color: #ff6b6b;
    margin: 0;
    font-weight: 900;
}

.badge {
    background: #ff9100;
    color: #ffffff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 14px;
    font-size: 10px;
    margin: 10px auto;
}

.info div {
    background: #fff;
    padding: 12px;
    border-radius: 20px;
    margin: 8px 0;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.info .ref {
    background: rgba(255,255,255,0.5);
    border: 1px dashed #ff9f67;
    font-size: 11px;
}

.phrase {
    font-style: italic;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    padding: 0 10px;
}

/* BOTÕES DE AÇÃO */
.btn {
    display: block;
    padding: 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    margin-top: 9px;
    transition: transform 0.2s;
}

.whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.maps {
    border: 1px solid #333;
    color: #333;
    background: transparent;
}

.btn:active { transform: scale(0.96); }

/* Botão de Avisos */
.info-extra {
    background: linear-gradient(135deg, #a00171fe, #7a0156); /* Gradiente para dar volume */
    padding: 11px 18px;
    border-radius: 999px;
    margin: 9px auto; /* Centraliza o botão se necessário */
    font-weight: 200; /* Mais peso na fonte para leitura rápida */
    font-size: 12px;
    color: #ffffff; /* Garante que o texto seja branco */
    text-transform: uppercase; /* Estilo comum em botões de ação */
    letter-spacing: 0.4px;
    cursor: pointer; /* Muda o cursor para a "mãozinha" */
    border: none;
    outline: none;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height:33px; /* Aumentei levemente para melhor área de toque */
    width: 90%;
    max-width: 250px;

    /* Sombra para dar elevação (o "pulo do gato") */
    box-shadow: 0 4px 15px rgba(160, 1, 113, 0.3);
    transition: all 0.3s ease; /* Suaviza as mudanças */
}

/* Efeito ao passar o mouse (Hover) */
.info-extra:hover {
    transform: translateY(-2px); /* Eleva o botão levemente */
    box-shadow: 0 6px 20px rgba(160, 1, 113, 0.4);
    filter: brightness(1.1); /* Brilha um pouco mais */
}

/* Efeito ao clicar (Active) */
.info-extra:active {
    transform: translateY(1px); /* Simula o botão sendo pressionado */
    box-shadow: 0 2px 10px rgba(160, 1, 113, 0.2);
}      /* controla o tamanho */

@keyframes pulsar {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.info-extra {
    /* ... seu código anterior ... */
    animation: pulsar 2s infinite ease-in-out;
}

/* Fundo escurecido do Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 100;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Caixa de Texto do Pop-out */
.modal-content {
    background: rgb(255, 255, 255);
    width: 100%;
    max-width: 300px;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    transform: translateY(20px);
    transition: 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    margin-top: 0;
    color: #ff6b6b;
    font-size: 20px;
}

.modal-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.modal-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Botão de Voltar dentro do Modal */
.btn-close {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
}
.sun-wrapper {
  position: relative;      /* fica dentro do fluxo do texto */
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;     /* centralizado e em cima do texto */
  z-index: 5;
}

.sun {
  width: 90%;
  height: 90%;
  background: url("sol.png") no-repeat center;
  background-size: contain;
  animation: sunWiggle 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sunWiggle {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(3deg) scale(1.05);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
  75% {
    transform: rotate(-3deg) scale(1.05);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.contador {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  font-family: Arial;
}

.tempo {
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 10px;
  border-radius: 12px;
  min-width: 60px;

  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
}

.tempo span {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #ff3d81;
}

.tempo small {
  font-size: 11px;
  color: #555;
}
/* =========================
   BOTÃO VOLTAR PORTFÓLIO
========================= */

.back-button{

    position: fixed;

    top: 20px;
    left: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 24px;

    border-radius: 40px;

    text-decoration: none;

    color: white;

    font-size: 15px;

    font-weight: 600;

    background: linear-gradient(to right, #ff00c8, #7b2cff);

    box-shadow: 0 0 20px rgba(255,0,200,0.35);

    transition: 0.3s ease;

    z-index: 999;
}

/* Efeito hover */

.back-button:hover{

    transform: translateY(-4px);

    box-shadow: 0 0 30px rgba(255,0,200,0.6);
}

/* Responsividade */

@media(max-width: 600px){

    .back-button{

        top: 15px;
        left: 15px;

        padding: 10px 18px;

        font-size: 13px;
    }

}