* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-musgo: #2e4a3d;
    --verde-escuro: #22352c;
    --verde-claro: #3c6e52;
    --marrom: #5c3d2e;
    --marrom-claro: #8a5d43;
    --bege: #f2e3d5;
    --bege-escuro: #d9c7b3;
    --dourado: #d4af37;
    --verde-efeito: #4caf50; /* Verde vibrante para efeitos */
    --overlay-verde: rgba(46, 74, 61, 0.4); /* Verde discreto para overlay */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--bege);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* SOLUÇÃO: Elemento separado para background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('https://i.imgur.com/oXtH9oJ.jpeg') no-repeat center center;
    background-size: cover;
    background-position: center 30%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-verde);
    z-index: -1;
}

/* Efeito de aviões */
.airplanes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.airplane {
    position: absolute;
    animation: fly 20s infinite linear;
    z-index: 1;
}

.smoke {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: smokeFade 2.5s forwards;
    z-index: 0;
}

/* Neve caindo */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

.container {
    width: 100%;
    max-width: 550px;
    text-align: center;
    z-index: 1;
}

header {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
}

.logo-container {
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
}

.logo {
    max-width: 160px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 5px 15px rgba(46, 74, 61, 0.6));
}

.subtitle {
    font-size: 1.2rem;
    color: var(--bege);
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    animation: zoomIn 0.8s ease-out forwards;
}

.christmas-greeting {
    font-size: 1.1rem;
    color: var(--dourado);
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp 1s ease-in-out;
}

.hat-icon {
    width: 24px;
    height: 24px;
}

.description {
    color: var(--bege);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
    animation: fadeInUp 1.5s ease-in-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.description p {
    margin-bottom: 15px;
    animation: textFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.description p:nth-child(1) { animation-delay: 0.3s; }
.description p:nth-child(2) { animation-delay: 0.6s; }
.description p:nth-child(3) { animation-delay: 0.9s; }

.icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    animation: textFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    animation-delay: 1.2s;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    color: var(--dourado);
    display: flex;
    align-items: center;
    justify-content: center;
}

.links-container {
    width: 100%;
    animation: fadeIn 2s ease-in-out;
}

/* Link DESTACADO (Guia Completo) */
.highlighted-link {
    background: linear-gradient(135deg, rgba(46, 74, 61, 0.7), rgba(34, 53, 44, 0.85)); /* Verde Musgo/Escuro */
    backdrop-filter: blur(12px);
    color: var(--bege);
    padding: 18px 20px;
    margin: 12px 0 20px 0;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(34, 53, 44, 0.5);
    border: 1px solid rgba(60, 110, 82, 0.6); /* Verde claro sutil */
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.highlighted-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.7s ease;
}

.highlighted-link:hover, .highlighted-link.hover-active {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(46, 74, 61, 0.6);
    border-color: var(--bege);
    background: linear-gradient(135deg, rgba(46, 74, 61, 0.85), rgba(34, 53, 44, 0.95));
    animation: none;
}

.highlighted-link:hover::before, .highlighted-link.hover-active::before {
    left: 100%;
}

.highlighted-icon {
    width: 44px;
    height: 44px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlighted-link:hover .highlighted-icon, .highlighted-link.hover-active .highlighted-icon {
    transform: scale(1.15) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.highlighted-text {
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
    flex-grow: 1;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.highlighted-link:hover .highlighted-text, .highlighted-link.hover-active .highlighted-text {
    letter-spacing: 0.8px;
    color: #ffffff;
}

.highlighted-badge {
    background: var(--bege);
    color: var(--verde-escuro);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    display: inline-block;
    transform: translateY(-2px);
}

.highlighted-link:hover .highlighted-badge, .highlighted-link.hover-active .highlighted-badge {
    background: #ffffff;
    transform: translateY(-2px) scale(1.05);
}

/* Links normais */
.link-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--bege);
    padding: 16px 20px;
    margin: 12px 0;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-card:hover, .link-card.hover-active {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.link-card:hover::before, .link-card.hover-active::before {
    left: 100%;
}

.link-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.link-card:hover .link-icon, .link-card.hover-active .link-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Cores específicas para cada ícone */
.instagram-icon { color: #E4405F; }
.tiktok-icon { color: #69C9D0; }
.whatsapp-icon { color: #25D366; }
.hotel-icon { color: var(--dourado); }
.hiking-icon { color: var(--verde-claro); }
.guide-icon { color: var(--bege); }

.link-text {
    font-weight: 500;
    font-size: 1rem;
    text-align: left;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.link-card:hover .link-text, .link-card.hover-active .link-text {
    letter-spacing: 0.5px;
}

.link-arrow {
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: var(--dourado);
}

.link-card:hover .link-arrow, .link-card.hover-active .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

footer {
    margin-top: 40px;
    color: var(--bege);
    font-size: 0.9rem;
    animation: fadeIn 2.5s ease-in-out;
}

.footer-text {
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--dourado);
    font-size: 1.3rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-icon:hover, .social-icon.hover-active {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.credits {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--bege);
    opacity: 0.7;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(46, 74, 61, 0.5);
    display: inline-block;
}

.developer-contact {
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--bege);
    opacity: 0.6;
}

.developer-contact a {
    color: var(--dourado);
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Botão de Estatísticas */
.stats-toggle-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--bege);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 15px;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stats-toggle-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--dourado);
}

/* Modal de Estatísticas (Transparente/Glass) */
.modal-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo escurecido suave */
    backdrop-filter: blur(5px);
    display: flex; /* Mantém display flex mas invisível */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background: rgba(46, 74, 61, 0.85); /* Verde semi-transparente */
    margin: auto;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 350px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.close-modal {
    color: var(--bege);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dourado);
}

.modal-content h3 {
    color: var(--dourado);
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.stats-scroll-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    /* Scrollbar estilizada */
    scrollbar-width: thin;
    scrollbar-color: var(--dourado) rgba(255, 255, 255, 0.1);
}

.stats-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.stats-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.stats-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--dourado);
    border-radius: 6px;
}

/* Estilo para o widget do contador dentro do modal */
.counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    filter: sepia(0.5) contrast(1.1); /* Tenta integrar visualmente */
}

/* Tenta esconder links feios do widget se possível */
.counter-wrapper a {
    color: var(--bege) !important;
    text-decoration: none;
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}

/* Animações dos aviões - Esquerda para Direita */
@keyframes flyCurveUp {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(120vw, -30vh) rotate(-10deg); opacity: 0; }
}

@keyframes flyCurveDown {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(120vw, 30vh) rotate(10deg); opacity: 0; }
}

@keyframes flyZigZag {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    25% { transform: translate(30vw, -10vh) rotate(-5deg); }
    50% { transform: translate(60vw, 10vh) rotate(5deg); }
    75% { transform: translate(90vw, -5vh) rotate(-3deg); }
    100% { transform: translate(120vw, 15vh) rotate(8deg); opacity: 0; }
}

@keyframes flyIrregular {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translate(40vw, 15vh) rotate(5deg); }
    70% { transform: translate(80vw, -10vh) rotate(-5deg); }
    100% { transform: translate(120vw, 5vh) rotate(3deg); opacity: 0; }
}

/* Animações dos aviões - Direita para Esquerda (Invertido) */
@keyframes flyCurveUpRight {
    0% { transform: translate(0, 0) scaleX(-1) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-120vw, -30vh) scaleX(-1) rotate(-10deg); opacity: 0; }
}

@keyframes flyCurveDownRight {
    0% { transform: translate(0, 0) scaleX(-1) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-120vw, 30vh) scaleX(-1) rotate(10deg); opacity: 0; }
}

@keyframes flyZigZagRight {
    0% { transform: translate(0, 0) scaleX(-1) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    25% { transform: translate(-30vw, -10vh) scaleX(-1) rotate(-5deg); }
    50% { transform: translate(-60vw, 10vh) scaleX(-1) rotate(5deg); }
    75% { transform: translate(-90vw, -5vh) scaleX(-1) rotate(-3deg); }
    100% { transform: translate(-120vw, 15vh) scaleX(-1) rotate(8deg); opacity: 0; }
}

@keyframes flyIrregularRight {
    0% { transform: translate(0, 0) scaleX(-1) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translate(-40vw, 15vh) scaleX(-1) rotate(5deg); }
    70% { transform: translate(-80vw, -10vh) scaleX(-1) rotate(-5deg); }
    100% { transform: translate(-120vw, 5vh) scaleX(-1) rotate(3deg); opacity: 0; }
}

/* Animação de Colisão (Queda em Parafuso/Espiral) */
@keyframes crashSpiral {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    10% { transform: translate(40px, 10vh) rotate(45deg); }
    20% { transform: translate(-40px, 20vh) rotate(90deg); }
    30% { transform: translate(40px, 30vh) rotate(135deg); }
    40% { transform: translate(-40px, 40vh) rotate(180deg); }
    50% { transform: translate(40px, 50vh) rotate(225deg); }
    60% { transform: translate(-40px, 60vh) rotate(270deg); }
    70% { transform: translate(40px, 70vh) rotate(315deg); }
    80% { transform: translate(-40px, 80vh) rotate(360deg); }
    90% { transform: translate(40px, 90vh) rotate(405deg); }
    100% {
        transform: translate(0, 110vh) rotate(450deg); 
        opacity: 0;
    }
}

.airplane.crashed {
    animation: crashSpiral 6s linear forwards !important; /* Queda em espiral */
    filter: grayscale(1) sepia(1) saturate(5) hue-rotate(-50deg); /* Efeito de dano/fogo */
}

@keyframes smokeFade {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 5px 15px rgba(46, 74, 61, 0.6));
    }
    to {
        filter: drop-shadow(0 5px 20px rgba(212, 175, 55, 0.7));
    }
}

/* Animação de pulso para o link destacado */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-color: var(--dourado);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.6);
        border-color: #ffd700;
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-color: var(--dourado);
    }
}

/* --- NOVOS EFEITOS VISUAIS --- */

/* 1. Particle Trail (Fairy Dust) */
.particle {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px 1px rgba(255, 255, 200, 0.6); /* Brilho suave */
    animation: fairyFloat 0.8s ease-out forwards;
}

@keyframes fairyFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -20px) scale(0); /* Flutua para cima e some */
    }
}

/* 2. Progressive Fill (Barra de energia na base) */
.link-card::after, .highlighted-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--verde-efeito);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.link-card:hover::after, .link-card.hover-active::after,
.highlighted-link:hover::after, .highlighted-link.hover-active::after {
    transform: scaleX(1);
}

/* 3. Social Icons Enhanced */
.social-icon {
    overflow: hidden;
    position: relative;
}

.social-icon:hover, .social-icon.hover-active {
    transform: scale(1.1) translateY(-6px);
    box-shadow: 0 0 15px var(--verde-efeito); /* Glow Surround */
}

/* Shine Sweep */
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.social-icon:hover::before, .social-icon.hover-active::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% { left: 125%; }
}

/* Responsividade */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    .logo {
        max-width: 140px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .christmas-greeting {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .highlighted-link {
        padding: 16px 18px;
        margin: 10px 0 18px 0;
    }
    
    .highlighted-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .highlighted-text {
        font-size: 1rem;
    }
    
    .highlighted-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .link-card {
        padding: 14px 16px;
        margin: 10px 0;
    }
    
    .link-text {
        font-size: 0.95rem;
    }
    
    .link-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
