:root {
    --crema: #f7f3e9;
    --verde-suave: #b8d8ba;
    --verde-oscuro: #6b8f71;
    --texto: #4a4a4a;
}

/* Fondo con trama suave */
body {
    background-color: var(--crema);
    background-image: linear-gradient(135deg, #f7f3e9 0%, #f7f3e9 40%, #b8d8ba20 100%);
    font-family: "Segoe UI", sans-serif;
    color: var(--texto);
    margin: 0;
    padding: 0;
}

/* Header y logo */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: relative;
    z-index: 2;
}

.logo {
    height: 60px;
    filter: drop-shadow(0 0 10px #ffffff80) drop-shadow(0 0 20px #b8d8ba60);
}

.music-btn {
    background-color: var(--verde-suave);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
}

.music-btn:hover {
    background-color: var(--verde-oscuro);
    color: white;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.slide-in {
    animation: slideIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Títulos y texto */
h1 {
    color: var(--verde-oscuro);
    font-size: 2.6em;
    margin-bottom: 10px;
    position: relative;
}

h2 {
    color: var(--verde-oscuro);
    font-size: 1.6em;
    margin-bottom: 10px;
    position: relative;
}

h1::after, h2::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff80, transparent);
    transform: translateX(-50%);
    border-radius: 50%;
}
h1, h2, h3 {
    font-family: 'Fredoka One', sans-serif;
    color: #6b3f2a;
    text-shadow:
        4px 4px 0 #ffe0c8,
        -2px -2px 0 #ffe0c8,
        2px -2px 0 #ffe0c8,
        -2px 2px 0 #ffe0c8,
        2px 2px 0 #ffe0c8;
}


.intro {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Botones */
.button-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    background-color: var(--verde-suave);
    padding: 15px 25px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--texto);
    font-size: 1.1em;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--verde-oscuro);
    color: white;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, #ffffff60, transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* Tarjeta destacada en inicio */
.highlight-card {
    background-color: #ffffffc0;
    border-radius: 20px;
    padding: 20px 25px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
    animation: softPulse 6s infinite ease-in-out;
}

@keyframes softPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* BLÅHAJ */
.blahaj-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.blahaj {
    width: 260px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
    animation: blahajFloat 6s ease-in-out infinite;
}

@keyframes blahajFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.photo-card {
    background-color: #ffffffc0;
    border-radius: 18px;
    padding: 10px 10px 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.photo-card img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.photo-card img:hover {
    transform: scale(1.05);
}

/* Blog / timeline */
.blog-img {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0;
}

.timeline {
    margin-top: 20px;
    text-align: left;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #b8d8ba80;
}

.timeline-item {
    position: relative;
    margin-left: 60px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -45px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--verde-suave);
    box-shadow: 0 0 0 4px #ffffff, 0 0 8px rgba(0,0,0,0.1);
}

.timeline-content {
    background-color: #ffffffc0;
    border-radius: 18px;
    padding: 15px 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Mensaje especial */
.secret-card {
    margin-top: 30px;
    background-color: #b8d8ba20;
    border-radius: 20px;
    padding: 20px 25px;
    border: 1px solid #b8d8ba80;
}

/* Volver */
.back {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    color: var(--verde-oscuro);
    font-weight: bold;
}

/* ⭐ Estrellas flotantes */
.decor-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(#ffffff80 2px, transparent 2px),
                      radial-gradient(#ffffff60 2px, transparent 2px),
                      radial-gradient(#ffffff40 2px, transparent 2px);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    animation: starsMove 20s linear infinite;
    opacity: 0.6;
    z-index: 0;
}

@keyframes starsMove {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 500px 500px, -400px 300px, 300px -300px; }
}

/* ⭐ Estrellas grandes y pequeñas */
.decor-stars-layer2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(#ffffff90 3px, transparent 3px),
        radial-gradient(#ffffff60 2px, transparent 2px),
        radial-gradient(#ffffff40 1px, transparent 1px);
    background-size: 350px 350px, 250px 250px, 150px 150px;
    animation: starsMove2 35s linear infinite;
    opacity: 0.7;
    z-index: 0;
}

@keyframes starsMove2 {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: -600px 400px, 500px -300px, -300px 200px; }
}

/* ⭐ Estrella fugaz */
.shooting-star {
    position: fixed;
    top: -10px;
    left: -10px;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    opacity: 0.8;
    transform: rotate(45deg);
    animation: shootingStar 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shootingStar {
    0% { transform: translate(-200px, -200px) rotate(45deg); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(800px, 600px) rotate(45deg); opacity: 0.8; }
    100% { opacity: 0; }
}

/* 🫧 Burbujas pastel */
.decor-bubbles {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decor-bubbles::before,
.decor-bubbles::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, #b8d8ba40 10%, transparent 40%),
                radial-gradient(circle at 80% 20%, #f7f3e980 10%, transparent 40%),
                radial-gradient(circle at 50% 50%, #b8d8ba30 10%, transparent 40%);
    animation: bubblesFloat 25s linear infinite;
}

@keyframes bubblesFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-300px); }
}

/* 🌈 Fondo con círculos pastel */
.decor-circles {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, #b8d8ba30 100px, transparent 150px),
        radial-gradient(circle at 80% 70%, #f7f3e980 120px, transparent 180px),
        radial-gradient(circle at 50% 50%, #b8d8ba20 150px, transparent 200px);
    pointer-events: none;
    z-index: 0;
}

/* 🌿 Esquinas decorativas */
.decor-corners {
    position: fixed;
    width: 120px;
    height: 120px;
    background-image: url('img/hoja.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.decor-top-left { top: 0; left: 0; transform: rotate(-10deg); }
.decor-top-right { top: 0; right: 0; transform: rotate(10deg); }
.decor-bottom-left { bottom: 0; left: 0; transform: rotate(5deg); }
.decor-bottom-right { bottom: 0; right: 0; transform: rotate(-5deg); }

/* ✨ Partículas pastel */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particles span {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #b8d8ba60;
    border-radius: 50%;
    animation: floatParticle 12s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-80px) scale(1.3); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 0.6; }
}

/* 🌌 Constelaciones animadas */
.constellations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.constellations svg {
    position: absolute;
    width: 300px;
    opacity: 0.35;
    animation: constellationFloat 18s ease-in-out infinite;
}

@keyframes constellationFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.05); opacity: 0.5; }
    100% { transform: translateY(0) scale(1); opacity: 0.3; }
}

.constellation-1 { top: 10%; left: 15%; }
.constellation-2 { top: 60%; left: 70%; }
.constellation-3 { top: 30%; left: 50%; }

.constellations circle {
    animation: starPulse 3s infinite ease-in-out;
}

@keyframes starPulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}
/* ⭐ Columnas de estrellas con degradado atardecer cálido */
/* ⭐ Estrellas laterales con colores por fila */
.side-stars {
    position: fixed;
    top: 0;
    width: 160px;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    gap: 40px;
}

/* Contenedor interno para permitir hover */
.star-wrapper {
    pointer-events: auto;
    display: flex;
    justify-content: center;
}

/* Estrella base */
.star {
    width: 70px;
    height: 70px;
    transition: transform 0.8s ease;
}

/* Giro al pasar el cursor */
.star:hover {
    transform: rotate(360deg);
}

/* ⭐ Estrella melocotón */
.star-melocoton {
    background-image: url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="70" height="70">\
            <polygon points="35,5 45,25 67,25 50,40 57,65 35,50 13,65 20,40 3,25 25,25" \
            fill="%23ffb88c" stroke="%236b3f2a" stroke-width="4" stroke-linejoin="round"/>\
        </svg>');
    background-size: cover;
}

/* ⭐ Estrella rosada */
.star-rosada {
    background-image: url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="70" height="70">\
            <polygon points="35,5 45,25 67,25 50,40 57,65 35,50 13,65 20,40 3,25 25,25" \
            fill="%23ff8fb8" stroke="%236b3f2a" stroke-width="4" stroke-linejoin="round"/>\
        </svg>');
    background-size: cover;
}

/* ⭐ Estrella naranja */
.star-naranja {
    background-image: url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="70" height="70">\
            <polygon points="35,5 45,25 67,25 50,40 57,65 35,50 13,65 20,40 3,25 25,25" \
            fill="%23ff7a00" stroke="%236b3f2a" stroke-width="4" stroke-linejoin="round"/>\
        </svg>');
    background-size: cover;
}

/* ⭐ Estrella amarilla */
.star-amarilla {
    background-image: url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="70" height="70">\
            <polygon points="35,5 45,25 67,25 50,40 57,65 35,50 13,65 20,40 3,25 25,25" \
            fill="%23ffd93d" stroke="%236b3f2a" stroke-width="4" stroke-linejoin="round"/>\
        </svg>');
    background-size: cover;
}

/* Posición lateral */
.side-left { left: 0; }
.side-right { right: 0; }

/* 🕊️ Cielo superior decorativo */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #ffe0c8, transparent);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}
/* 🔙 Botón volver atrás */
.back-btn {
    display: inline-block;
    margin: 20px;
    padding: 12px 25px;
    background-color: #ffe0c8;
    border: 4px solid #6b3f2a;
    border-radius: 15px;
    font-family: 'Fredoka One', sans-serif;
    font-size: 1.2em;
    color: #6b3f2a;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #ffd1a3;
    transform: scale(1.05);
}
/* ✏️ Texto general con estilo suave y cálido */
body, p, li, a, span {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05em;
    color: #5a3a28;
    line-height: 1.6;
}
/* 🔘 Botones cartoon */
.btn {
    display: inline-block;
    padding: 14px 28px;
    margin: 15px;
    background-color: #ffe0c8;
    border: 4px solid #6b3f2a;
    border-radius: 18px;
    font-family: 'Fredoka One', sans-serif;
    font-size: 1.2em;
    color: #6b3f2a;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 6px 0 #c89b7a;
}

.btn:hover {
    background-color: #ffd1a3;
    transform: translateY(-4px);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #c89b7a;
}
/* 🎠 Carrusel estilo cartoon */
.carousel {
    position: relative;
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
    border: 5px solid #6b3f2a;
    border-radius: 20px;
    background-color: #ffe0c8;
    box-shadow: 0 10px 0 #c89b7a;
}

/* Contenedor de imágenes */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Imágenes */
.carousel-img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 15px;
    display: block;
}

/* Botones flecha */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffe0c8;
    border: 4px solid #6b3f2a;
    border-radius: 15px;
    font-family: 'Fredoka One', sans-serif;
    font-size: 1.5em;
    color: #6b3f2a;
    padding: 10px 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.prev { left: 10px; }
.next { right: 10px; }


