* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        /* Fundo geral da tela */
        body, html {
            width: 100%;
            height: 100%;
            background-color: #0f1115;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: sans-serif;
            overflow: hidden;
        }

        /* Card Centralizado na proporção correta do celular (9:16) */
       
        .page {
            display: none;
            position: relative;
            width: 100%;
            max-width: 420px; /* Largura padrão de celular */
            height: 90vh;     /* MUDOU AQUI: De 100vh para 90vh para desgrudar das pontas */
            max-height: 746px; 
            background-position: center; /* ALTERADO: Mudou de 'center 110%' para 'center' para centralizar bem o He-Man */
            background-size: cover;      /* ALTERADO: Mudou de '190%' para 'cover' para encaixar perfeito */
            background-repeat: no-repeat;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            border-radius: 18px;    /* ADICIONADO: Arredonda as pontas do card */
            overflow: hidden;       /* ADICIONADO: Corta a imagem de fundo nas curvas do card */
            
        }

        /* Mostra a página atual */
        .active {
            display: block;
        }

        /* Ajustado para centralizar e caber perfeitamente no container do botão */
        /* Faz a imagem ocupar ABSOLUTAMENTE TODO o espaço do botão, sem sobras */
        .btn-img {
            width: 100%;        /* ALTERADO: Força a largura total */
            height: 100%;       /* ALTERADO: Força a altura total */
            object-fit: cover;  /* ALTERADO: De 'contain' para 'cover' para preencher e esticar até as bordas */
            display: block;
        }

        /* Elementos de texto da Página 1 */
        .titulo-convite {
            position: absolute;
            top: 25%;
            width: 100%;
            display: flex;            /* Ativa o Flexbox */
            flex-direction: column;   /* Joga uma palavra embaixo da outra */
            align-items: center;      /* Centraliza por padrão */
            text-align: center;
            color: #fff;
            font-size: 45px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
            color: gold;
        }

        /* Use este cara aqui para mexer SÓ na palavra CONVITE */
        .titulo-convite .palavra-convite {
            margin-right: 20px; /* Altere aqui! Se quiser puxar para a esquerda, use valores negativos, ex: -10px ou -15px */
        }

        .nome-aniversariante {
            position: relative;
            bottom: 12%;
            width: 100%;
            text-align: center;
            color: #fff;
            font-size: 45px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
            margin-top: 380px;
            color: gold;
        }

        /* ================= MARCADORES DOS BOTÕES (VISÍVEIS PARA TESTE) ================= */
        /* Mude o 'background' para 'transparent' quando finalizar os testes */
        
        /* Página 1: Botão em cima do Envelope */
        .btn-envelope {
            position: relative;
            left: 20%;
            top: 280px;
            width: 55%;
            height: 25%;
            cursor: pointer;
            text-decoration: none;
            background: transparent;          /* ALTERADO: Fundo invisível */
            border: 2px solid transparent;    /* ALTERADO: Borda invisível que mantém o tamanho exato */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Página 2: Alinhamento dos 3 botões redondos inferiores */
        .nav-buttons-p2 {
            position: absolute;
            bottom: 6%;         /* Mudou para encaixar a nova estrutura na posição certa da imagem */
            left: 6%;
            width: 88%;
            height: 140px;      /* Altura controlada para o botão + texto */
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        /* Bloco que une verticalmente o botão redondo e o texto em arco */
        .bloco-botao-texto {
            width: 30%;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        /* Ajuste do botão redondo dentro do bloco */
        .bloco-botao-texto .btn-interativo {
            width: 85px;        /* Tamanho fixo ideal para o círculo */
            height: 85px;       /* Mantém redondo proporcional */
            border-radius: 50%;
            cursor: pointer;
            text-decoration: none;
            background: transparent;
            border: 2px solid transparent;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Estilização e posicionamento do efeito do Texto Curvado */
        .texto-curvo-svg {
            width: 120px;         /* Aumentado levemente para acomodar as letras maiores */
            height: 55px;         /* Aumentado para o texto ter espaço para respirar e não cortar */
            position: absolute;
            top: 40px;            /* ALTERADO: Subiu de 72px para 62px para colar nos botões */
            pointer-events: none; /* Garante que o texto não atrapalhe o clique no botão */
            overflow: visible;    /* ADICIONADO: Impede terminantemente qualquer corte nas letras */
        }

        /* Configuração da Fonte do Arco (Igual à imagem) */
        .texto-curvo-svg text {
            font-size: 11px;      /* ALTERADO: Aumentado de 8px para 11px para ficar bem legível */
            font-weight: bold;
            fill: #ffffff;        /* Cor branca para destacar */
            font-family: sans-serif;
            letter-spacing: 0.2px;
            /* Sombra escura simulada para dar contorno igual ao da imagem */
            filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.9)) drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.9));
        }
        
        /* Cor de destaque se quiser mudar opcionalmente a palavra central ou do mapa */
        .texto-curvo-svg textPath {
            text-transform: none;
        }

        .btn-interativo {
            width: 28%;
            height: 100%;       
            border-radius: 50%;
            cursor: pointer;
            text-decoration: none;
            /* REMOVIDO: background e border de teste sumiram daqui! */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Página 3: Botão Voltar (Canto inferior direito, em cima do 'Voltar 1 página') */
        .btn-voltar-p3 {
            position: absolute;
            bottom: 18%;
            right: 8%;
            width: 70px;
            height: 70px;
            cursor: pointer;
            text-decoration: none;
            border-radius: 50%;
            background: transparent;          /* ALTERADO: Fundo invisível */
            border: 2px solid transparent;    /* ALTERADO: Borda invisível que mantém o tamanho exato */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* ================= ESTILOS EXCLUSIVOS DA PÁGINA 2 ================= */

        /* Alinhamento do Título no Topo da P2 */
        .nome-aniversariante-p2 {
            position: absolute;
            top: 5%;
            width: 100%;
            text-align: center;
            color: gold;
            font-size: 40px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
        }

        /* Texto do convite centralizado e com quebra suave */
        .texto-missao {
            position: absolute;
            top: 25%;
            width: 86%;
            left: 7%;
            text-align: center;
            color: #ffffff;
            font-size: 18px;
            line-height: 1.4;
            font-weight: bold;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
        }

        /* Caixinha cinza transparente de Data e Hora */
        .box-data-hora {
            position: absolute;
            top: 50%; /* Posiciona perfeitamente acima dos botões inferiores */
            left: 5%;
            width: 90%;
            height: 110px;
            background: rgba(255, 255, 255, 0.15); /* Efeito de vidro esfumaçado leve */
            backdrop-filter: blur(4px);            /* Suaviza o fundo do He-man atrás da caixa */
            -webkit-backdrop-filter: blur(4px);
            border-radius: 15px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 10px;
            box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.4);
        }

        /* Colunas internas da caixinha */
        .coluna-data, .coluna-hora {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #ffffff;
        }

        /* Texto do meio (Terça-feira) */
        .coluna-dia-semana {
            color: gold;
            font-size: 19px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            border-left: 1px solid rgba(255, 255, 255, 0.2);
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0 10px;
            text-align: center;
        }

        /* Números grandes (28 e 18:00) */
        .box-data-hora .numero-destaque {
            font-size: 32px;
            font-weight: bold;
            color: gold;
            line-height: 1;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }

        /* Textos pequenos (No dia, de Abril, Às, Horas) */
        .box-data-hora .label-pequeno {
            font-size: 11px;
            text-transform: none;
            color: #ffffff;
            font-weight: normal;
            opacity: 0.9;
        }

        /* ================= ESTILOS EXCLUSIVOS DA PÁGINA 3 ================= */

        /* Título Principal da P3 (Amarelo e Branco) */
        .titulo-sugestoes {
            position: absolute;
            top: 22%;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            font-family: sans-serif;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
            line-height: 1.1;
        }

        .titulo-sugestoes .palavra-sugestoes {
            color: gold;
            font-size: 38px;
            letter-spacing: 2px;
        }

        .titulo-sugestoes .palavra-presente {
            color: #ffffff;
            font-size: 32px;
            letter-spacing: 1px;
        }

        /* Texto de introdução centralizado */
        .texto-intro-p3 {
            position: absolute;
            top: 37%;
            width: 90%;
            left: 5%;
            text-align: center;
            color: #ffffff;
            font-size: 20px;
            line-height: 1.4;
            font-weight: bold;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
        }

        /* Container da lista vertical de itens */
        .lista-sugestoes-container {
            position: absolute;
            top: 55%;
            left: 5%;           /* ALTERADO: De 10% para 5% para dar mais espaço total na esquerda */
            width: 90%;         /* ALTERADO: De 80% para 90% para a fonte grande caber sem espremer */
            display: flex;
            flex-direction: column;
            gap: 15px; 
        }

        /* Alinhamento de cada linha */
        .item-sugestao {
            display: flex;
            align-items: center;
            gap: 20px;          /* ALTERADO: De 15px para 20px para afastar o texto do círculo */
        }

        /* Círculos das fotos: empurrados um pouco para a direita */
        .circulo-foto-p3 {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            background: #ffffff;
            border: 3px solid #b0b0b0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            margin-left: 15px;  /* ADICIONADO: Afasta o círculo para a direita, deixando livre o lado esquerdo */
        }

        .circulo-foto-p3 img {
            width: 80%;
            height: 80%;
            object-fit: contain;
        }

        /* Textos descritivos ao lado dos círculos */
        .texto-sugestao-p3 {
            color: #ffffff;
            font-size: 19px;    /* ALTERADO: Aumentado de 16px para 19px para destacar bem */
            font-weight: bold;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
            white-space: nowrap; /* ADICIONADO: Garante que o texto fique em uma linha só, igual à imagem */
        }

        /* Bloco que une o botão de voltar e seu texto arqueado */
        .bloco-voltar-p3 {
            position: absolute;
            bottom: 12%; /* Subiu a posição vertical para desgrudar da barra inferior */
            right: 8%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* O botão redondo em si */
        .btn-voltar-p3 {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            background: #ffffff;
            border: 2px solid transparent;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            cursor: pointer;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .btn-voltar-p3 img {
            width: 70%;
            height: 70%;
            object-fit: contain;
        }

        /* SVG do arco de texto do botão Voltar */
        .texto-curvo-voltar {
            width: 90px;
            height: 40px;
            position: absolute;
            top: 48px; /* Colado perfeitamente na parte de baixo do círculo */
            pointer-events: none;
            overflow: visible;
        }

        /* Configuração da Fonte do arco "VOLTAR" (Nítida e Visível) */
        .texto-curvo-voltar text {
            font-size: 11px; /* Tamanho ajustado para perfeita leitura */
            font-weight: bold;
            fill: #00ffff; /* Ciano/Azul claro para combinar com o layout da imagem original */
            font-family: sans-serif;
            letter-spacing: 0.5px;
            filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.9)) drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.9));
        }