* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #030303; /* Fundo mais escuro, luxuoso */
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none; /* Não interfere no clique */
}

#app-container {
    width: 100%;
    max-width: 480px; /* Formato celular na web */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: relative;
    /* Sombreamento muito sutil no desktop */
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.05); 
    background: transparent;
}

#gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding-bottom: 40px;
}

/* Imagem principal sem efeito de clique ou botão */
.hero-image-wrapper {
    width: 100%;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    /* Degradê suave da primeira foto */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

/* Botões baseados nas imagens (alta resolução, animação sutil) */
.image-btn {
    display: block;
    position: relative;
    width: 92%; /* Margem lateral sutil para não colar na tela */
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden; /* Mantém a imagem contida no border-radius */
    text-decoration: none;
    /* Animação suave e fluida de flutuação (breathing) */
    animation: floating 6s ease-in-out infinite;
    /* Transição fina para o clique */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Adicionando delays diferentes para as imagens não flutuarem todas juntas */
.image-btn:nth-child(2) { animation-delay: 0s; }
.image-btn:nth-child(3) { animation-delay: 1s; }
.image-btn:nth-child(4) { animation-delay: 2s; }
.image-btn:nth-child(5) { animation-delay: 3s; }

.image-btn img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Nitidez máxima para telas 4K / Retina */
    image-rendering: -webkit-optimize-contrast;
}

/* Efeito ao clicar/tocar */
.image-btn:active {
    transform: scale(0.96) translateY(2px);
    filter: brightness(0.8);
}

/* Overlay sutil para indicar que é clicável ao passar o mouse (desktop) */
.btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.image-btn:hover .btn-overlay {
    opacity: 1;
}

/* Animação de Flutuação (Movimento constante) */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
