@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Poppins:ital,wght@0,500;0,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: azure;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #030308;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}

#dew-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90vw;
    width: 100%;
}

.greetings {
    font-size: clamp(2.4rem, 8.5vw, 6.5rem);
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    margin-bottom: clamp(1rem, 3vh, 2rem);
}

.greeting-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Efecto glow animado por letra */
.greetings span {
    display: inline-block;
    animation: glowCyan 2.5s ease-in-out infinite;
}

/* Nombre Tatiana con brillo dorado floral */
.greeting-name span {
    animation: glowGold 2.5s ease-in-out infinite;
}

/* Retardo escalonado de animación */
.greeting-word span:nth-child(1) { animation-delay: 0.1s; }
.greeting-word span:nth-child(2) { animation-delay: 0.2s; }
.greeting-word span:nth-child(3) { animation-delay: 0.3s; }
.greeting-word span:nth-child(4) { animation-delay: 0.4s; }
.greeting-word span:nth-child(5) { animation-delay: 0.5s; }
.greeting-word span:nth-child(6) { animation-delay: 0.6s; }

.greeting-name span:nth-child(1) { animation-delay: 0.7s; }
.greeting-name span:nth-child(2) { animation-delay: 0.8s; }
.greeting-name span:nth-child(3) { animation-delay: 0.9s; }
.greeting-name span:nth-child(4) { animation-delay: 1.0s; }
.greeting-name span:nth-child(5) { animation-delay: 1.1s; }
.greeting-name span:nth-child(6) { animation-delay: 1.2s; }
.greeting-name span:nth-child(7) { animation-delay: 1.3s; }
.greeting-name span:nth-child(8) { animation-delay: 1.4s; }

@keyframes glowCyan {
    0%, 100% {
        color: #fff;
        text-shadow: 0 0 10px #39c6d6, 0 0 35px #39c6d6, 0 0 70px #39c6d6;
    }
    15%, 85% {
        color: #222;
        text-shadow: none;
    }
}

@keyframes glowGold {
    0%, 100% {
        color: #fffde7;
        text-shadow: 0 0 12px #ffc107, 0 0 35px #ff9800, 0 0 75px #ffa000;
    }
    15%, 85% {
        color: #222;
        text-shadow: none;
    }
}

.description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 2.6vw, 1.4rem);
    font-weight: 500;
    letter-spacing: clamp(2px, 0.8vw, 5px);
    margin-bottom: clamp(1.8rem, 4vh, 3rem);
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sparkle-icon {
    display: inline-flex;
    align-items: center;
    color: #ffca28;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15) rotate(15deg);
        opacity: 1;
    }
}

.button {
    display: flex;
    justify-content: center;
}

.botones {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a2be9, #39c6d6);
    color: #ffffff;
    padding: clamp(12px, 2vh, 16px) clamp(24px, 6vw, 40px);
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 8px 24px rgba(10, 43, 233, 0.4), 0 0 15px rgba(57, 198, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.botones:hover, .botones:active {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(10, 43, 233, 0.6), 0 0 25px rgba(57, 198, 214, 0.5);
    background: linear-gradient(135deg, #133bf8, #45e0f1);
}

.botones svg {
    transition: transform 0.3s ease;
}

.botones:hover svg, .botones:active svg {
    transform: translateX(4px);
}

/* Optimización específica para teléfonos tipo Samsung Galaxy S26 Ultra (pantallas altas y estrechas) */
@media screen and (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .greetings {
        font-size: clamp(2.2rem, 11vw, 3.8rem);
    }

    .description {
        letter-spacing: 2px;
        flex-direction: row;
    }

    .botones {
        padding: 13px 30px;
        font-size: 0.95rem;
    }
}