*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fefdfc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #585e49;
    /* Verde oliva de tu logo */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body,
html {
    overflow-x: hidden;
    /* Esto corta cualquier elemento rebelde que intente salirse por los lados */
    width: 100%;
}

/* ==========================================
   ESTRUCTURA DE OLAS ANIMADAS (SVG)
   ========================================== */
.waves-container {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    z-index: 1;
}

.top-waves {
    top: 0;
    transform: rotate(180deg);
}

.bottom-waves {
    bottom: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 12vh;
    min-height: 80px;
    max-height: 150px;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* ==========================================
   CONTENEDOR PRINCIPAL
   ========================================== */
.container {
    width: 100%;
    max-width: 360px;
    padding: 40px 24px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-container {
    width: 242px;
    height: auto;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatEtereo 5s ease-in-out infinite;
}

.logo-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #6b725c;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(88, 94, 73, 0.08);
    box-shadow: 0 2px 6px rgba(88, 94, 73, 0.01);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.link-card.whatsapp {
    background-color: #608066;
    color: #ffffff;
    border: none;
}

.link-card.whatsapp i {
    color: #ffffff !important;
}

.link-card.instagram i {
    color: #d95b7f;
}

.link-card.tiktok i {
    color: #4a4a4a;
}

.link-card.facebook i {
    color: #6281a6;
}

.icon-container {
    position: absolute;
    left: 16px;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   VISTA DE ESCRITORIO
   ========================================== */
@media (min-width: 769px) {
    .container {
        max-width: 460px;
        padding: 50px 30px;
    }

    .logo-container {
        width: 310px;
        margin-bottom: 38px;
    }

    .links-wrapper {
        gap: 15px;
    }

    .link-card {
        padding: 15px 22px;
        font-size: 14.5px;
        border-radius: 10px;
        transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }

    .icon-container {
        left: 22px;
        font-size: 18px;
    }

    .link-card:hover {
        border-color: #cda581;
        color: #cda581;
        background-color: #fffbfa;
    }

    .link-card.whatsapp:hover {
        background-color: #516d56;
        color: #ffffff;
    }
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes floatEtereo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card:nth-child(1) {
    animation-delay: 0.15s;
}

.link-card:nth-child(2) {
    animation-delay: 0.3s;
}

.link-card:nth-child(3) {
    animation-delay: 0.45s;
}

.link-card:nth-child(4) {
    animation-delay: 0.6s;
}