/* ============================== */
/* VARIABLES Y RESET              */
/* ============================== */
:root {
    --color-primary: #e74c6f;
    --color-primary-dark: #c0392b;
    --color-primary-light: #f8a5b8;
    --color-accent: #ff6b9d;
    --color-bg: #fff5f7;
    --color-bg-dark: #1a0a10;
    --color-text: #4a2030;
    --color-text-light: #8a5070;
    --color-white: #ffffff;
    --color-gold: #f0c27f;
    --font-display: 'Dancing Script', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-soft: 0 4px 20px rgba(231, 76, 111, 0.15);
    --shadow-card: 0 8px 32px rgba(231, 76, 111, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

/* ============================== */
/* CORAZONES FLOTANTES            */
/* ============================== */
#floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -10%;
    animation: floatUp linear infinite;
    opacity: 0;
    font-size: 1.5rem;
    user-select: none;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-110vh) rotate(720deg) scale(1.2);
    }
}

/* ============================== */
/* HERO / PORTADA                 */
/* ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a10 0%, #3d1225 30%, #6b1d3f 60%, #e74c6f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center,
        rgba(255, 107, 157, 0.15) 0%,
        transparent 60%);
    animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" x="50" font-size="60" text-anchor="middle" dominant-baseline="central" opacity="0.03">❤</text></svg>');
    background-size: 60px;
    animation: patternDrift 30s linear infinite;
}

@keyframes patternDrift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: var(--color-white);
}

.hero-date {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(231, 76, 111, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 4px 30px rgba(231, 76, 111, 0.5); }
    50% { text-shadow: 0 4px 50px rgba(231, 76, 111, 0.8), 0 0 80px rgba(255, 107, 157, 0.3); }
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}

.btn-scroll:hover {
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================== */
/* SECCIONES GENERALES            */
/* ============================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

/* ============================== */
/* CARTA DE AMOR                  */
/* ============================== */
.carta-section {
    background: var(--color-bg);
}

.carta {
    max-width: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

.carta-inner {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(231, 76, 111, 0.1);
    position: relative;
    overflow: hidden;
}

.carta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-gold));
}

.carta-inner p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.9;
    color: var(--color-text);
    text-align: justify;
}

.carta-inner p:first-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.carta-firma {
    font-family: var(--font-display) !important;
    font-size: 1.4rem !important;
    text-align: right;
    color: var(--color-primary) !important;
    margin-top: 1.5rem;
}

/* ============================== */
/* CONTADOR                       */
/* ============================== */
.contador-section {
    background: linear-gradient(135deg, #1a0a10, #3d1225, #6b1d3f);
    color: var(--color-white);
}

.contador-section .section-header h2 {
    color: var(--color-white);
}

.contador-section .section-header h2::after {
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

.contador-label {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contador-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contador-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contador-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
}

.contador-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* ============================== */
/* GALERÍA DE FOTOS               */
/* ============================== */
.galeria-section {
    background: var(--color-white);
}

/* Tabs de categorías */
.galeria-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.galeria-tab {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-primary-light);
    background: transparent;
    color: var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.galeria-tab:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
}

.galeria-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.galeria-item.galeria-hidden {
    display: none;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.galeria-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.galeria-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(231, 76, 111, 0.25);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover img {
    transform: scale(1.08);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(231, 76, 111, 0.5),
        rgba(255, 107, 157, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    backdrop-filter: blur(2px);
}

.galeria-overlay span {
    font-size: 1.1em;
    color: var(--color-white);
    text-align: center;
    padding: 20px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform var(--transition);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-item:hover .galeria-overlay span {
    transform: scale(1);
}

/* Placeholder para fotos faltantes */
.galeria-item img {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    min-height: 200px;
}

/* ============================== */
/* RAZONES POR LAS QUE TE AMO    */
/* ============================== */
.razones-section {
    background: var(--color-bg);
}

.razones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.razon-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(231, 76, 111, 0.08);
}

.razon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.razon-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.razon-card p {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* ============================== */
/* VIDEOS                         */
/* ============================== */
.video-section {
    background: var(--color-white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--color-bg);
}

.video-wrapper {
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.video-caption {
    padding: 1rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text);
    text-align: center;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================== */
/* SORPRESA                       */
/* ============================== */
.sorpresa-section {
    background: linear-gradient(135deg, #fff5f7, #ffe0e8, #fff5f7);
    position: relative;
    overflow: hidden;
}

.sorpresa-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.btn-sorpresa {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(231, 76, 111, 0.4);
    transition: all var(--transition);
    animation: giftPulse 2s ease-in-out infinite;
}

.btn-sorpresa:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(231, 76, 111, 0.5);
}

@keyframes giftPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(231, 76, 111, 0.4); }
    50% { box-shadow: 0 8px 50px rgba(231, 76, 111, 0.6), 0 0 80px rgba(255, 107, 157, 0.2); }
}

.btn-sorpresa-icon {
    font-size: 3rem;
    animation: shake 1.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.sorpresa-content {
    animation: revealSurprise 0.8s ease-out;
}

@keyframes revealSurprise {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.sorpresa-reveal {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--color-primary-light);
}

.sorpresa-reveal h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.sorpresa-desc {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

/* Reproductor de audio personalizado */
.audio-player-custom {
    background: linear-gradient(135deg, #1a0a10, #3d1225);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-play {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-play:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.audio-progress-container {
    flex: 1;
    min-width: 0;
}

.audio-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.4rem;
}

/* Suno embed */
.suno-embed {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
}

/* ============================== */
/* TIMELINE                       */
/* ============================== */
.timeline-section {
    background: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 4px solid var(--color-bg);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    z-index: 1;
}

.timeline-content {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(231, 76, 111, 0.08);
}

.timeline-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================== */
/* FOOTER                         */
/* ============================== */
.footer {
    background: linear-gradient(135deg, #1a0a10, #3d1225);
    color: var(--color-white);
    text-align: center;
    padding: 3rem 0;
}

.footer-hearts {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-message {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* ============================== */
/* MODAL DE FOTOS                 */
/* ============================== */
.foto-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.foto-modal.active {
    opacity: 1;
    visibility: visible;
}

.foto-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.foto-modal-content {
    position: relative;
    z-index: 2;
    max-width: 95vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalZoomIn 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

@keyframes modalZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.foto-modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    background: rgba(0, 0, 0, 0.3);
}

.foto-modal-caption {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-top: 1rem;
    text-align: center;
    max-width: 500px;
    opacity: 0.9;
}

.foto-modal-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    letter-spacing: 2px;
}

.foto-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    z-index: 3;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    line-height: 1;
}

.foto-modal-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.foto-modal-prev,
.foto-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.foto-modal-prev { left: 1.2rem; }
.foto-modal-next { right: 1.2rem; }

.foto-modal-prev:hover,
.foto-modal-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 768px) {
    .foto-modal-prev,
    .foto-modal-next {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 1.5rem;
        transform: none;
    }
    .foto-modal-prev { left: 1rem; }
    .foto-modal-next { right: 1rem; }
    .foto-modal-close { top: 0.5rem; right: 0.5rem; }
    .foto-modal-content {
        padding: 1rem;
        max-width: calc(100% - 2rem);
        max-height: calc(100vh - 4rem);
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }
    .foto-modal-content img {
        max-width: 100%;
        max-height: 50vh;
        width: auto;
        height: auto;
    }
    .foto-modal-caption {
        max-width: 90%;
        font-size: 0.9rem;
    }
}

/* ============================== */
/* RESPONSIVE                     */
/* ============================== */
@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .contador-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .razones-grid {
        grid-template-columns: 1fr;
    }

    .carta-inner {
        padding: 2rem 1.5rem;
    }

    .btn-sorpresa {
        padding: 2rem 2.5rem;
    }

    .sorpresa-reveal {
        padding: 2rem 1.2rem;
    }

    .galeria-tabs {
        gap: 0.5rem;
    }

    .galeria-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .contador-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audio-controls {
        flex-direction: column;
    }

    .audio-progress-container {
        width: 100%;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-dot {
        left: 6px;
        width: 20px;
        height: 20px;
    }
}

/* ============================== */
/* CONFETI / ANIMACIÓN SORPRESA   */
/* ============================== */
.confetti-piece {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(-10vh) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(110vh) rotate(720deg);
    }
}
