/* papel/css/aniversario/aniversario_15.css
   "Floral Garden" — Jardin floral con marco dorado y centro luminoso. */

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

.aniv15-card {
    --aniv15-c1: #3d5c32;
    --aniv15-c2: #c8e8b0;
    --aniv15-tinta: #243818;
    --aniv15-sub: #243818;
    --aniv15-metal: #b8944f;
    --aniv15-bg: #f4faf0;
    isolation: isolate;
    color: var(--aniv15-tinta);
    background: var(--aniv15-bg);
}

.aniv15-fondo {
    object-position: center center;
    transform: scale(1.05);
    filter: saturate(0.94) brightness(1.02);
}

.aniv15-titulo,
.aniv15-nombres,
.aniv15-divisor,
.aniv15-fecha,
.aniv15-hora,
.aniv15-lugar,
.aniv15-mensaje {
    opacity: 0;
    animation: aniv15Texto 660ms ease both;
}

.aniv15-titulo {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 7px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--aniv15-tinta);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.99), rgba(255, 246, 228, 0.95));
    border: 1px solid rgba(184, 148, 79, 0.5);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 0 18px rgba(255, 210, 140, 0.18),
        0 3px 12px rgba(36, 56, 24, 0.12);
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.98),
        0 1px 3px rgba(36, 56, 24, 0.22);
    animation-delay: 280ms;
}

.aniv15-nombres {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 100%;
    font-family: 'Cardo', 'Cormorant Garamond', serif;
    font-size: clamp(32px, 7.6vw, 42px);
    font-weight: 700;
    line-height: 1.04;
    color: var(--aniv15-tinta);
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.98),
        0 3px 18px rgba(255, 210, 140, 0.22),
        0 1px 5px rgba(36, 56, 24, 0.34);
    animation-delay: 380ms;
}

.aniv15-divisor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 76%;
    margin: 2px 0;
    animation-delay: 460ms;
}

.aniv15-divisor span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aniv15-c1), transparent);
}

.aniv15-corazon { width: 10px; height: 10px; display: block; background: var(--aniv15-c1); transform: rotate(45deg); flex: 0 0 auto; }

.aniv15-fecha {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    letter-spacing: 0.07em;
    color: var(--aniv15-tinta);
    animation-delay: 540ms;
}

.aniv15-hora,
.aniv15-lugar {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--aniv15-tinta);
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.96),
        0 1px 3px rgba(36, 56, 24, 0.2);
}

.aniv15-hora { animation-delay: 600ms; }
.aniv15-lugar { animation-delay: 660ms; max-width: 250px; }

.aniv15-mensaje {
    position: relative;
    z-index: 1;
    max-width: 248px;
    margin: 8px 0 0;
    padding: 12px 14px;
    font-family: 'Cardo', 'Cormorant Garamond', serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.48;
    color: var(--aniv15-tinta);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(255, 246, 232, 0.94));
    border: 1px solid rgba(184, 148, 79, 0.42);
    border-radius: 6px;
    box-shadow:
        inset 0 0 20px rgba(255, 210, 140, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 14px rgba(36, 56, 24, 0.1);
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.98),
        0 1px 3px rgba(36, 56, 24, 0.16);
    animation-delay: 740ms;
}

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

.aniv15-card { overflow: hidden; }

.aniv15-velo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255, 0.35), rgba(255,255,255,0.08) 72%);
}








.aniv15-decor {
    position: absolute;
    z-index: 4;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.14));
    opacity: 0;
    animation: aniv15DecorIn 900ms ease 160ms both, aniv15Float 6s ease-in-out 1.1s infinite;
}

.aniv15-decor--uno {
    left: -24px;
    top: 36px;
    width: 200px;
    --aniv15-rot: -10deg;
    transform: rotate(-10deg);
}

.aniv15-decor--dos {
    right: 12px;
    bottom: 20px;
    width: 150px;
    --aniv15-rot: -6deg;
    transform: rotate(-6deg);
    animation-delay: 280ms, 1.1s;
    opacity: 0.88;
}

.aniv15-contenido {
    position: absolute;
    z-index: 7;
    left: 50%;
    top: 88px;
    width: 278px;
    min-height: 0;
    max-height: 62%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 24px 20px 20px;
    text-align: center;
    background: transparent;
    transform: translateX(-50%);
}





.aniv15-fecha,
.aniv15-divisor {
    position: relative;
    z-index: 1;
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.96),
        0 2px 14px rgba(255, 255, 255, 0.88),
        0 1px 4px rgba(36, 56, 24, 0.28);
}

.aniv15-card .aniv15-titulo.papel-editable,
.aniv15-card .aniv15-mensaje.papel-editable {
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.98),
        0 1px 3px rgba(36, 56, 24, 0.16);
}

@keyframes aniv15DecorIn {
    from { opacity: 0; translate: 0 14px; }
    to { opacity: 0.94; translate: 0 0; }
}

@keyframes aniv15Float {
    0%, 100% { transform: translateY(0) rotate(var(--aniv15-rot, -10deg)); }
    50% { transform: translateY(-10px) rotate(calc(var(--aniv15-rot, -10deg) + 2deg)); }
}

/* Segunda pasada premium: marco visible y textura de papel realista. */
.aniv15-marco {
    position: absolute;
    inset: 26px;
    z-index: 3;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--aniv15-metal, #d4af37) 78%, transparent);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 30%, rgba(255, 255, 255, 0.10) 68%, transparent),
        linear-gradient(90deg, transparent, color-mix(in srgb, var(--aniv15-metal, #d4af37) 10%, transparent), transparent);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.12),
        inset 0 0 0 7px color-mix(in srgb, var(--aniv15-metal, #d4af37) 30%, transparent),
        inset 0 0 34px color-mix(in srgb, var(--aniv15-ink, #2d261c) 12%, transparent),
        0 18px 42px rgba(0, 0, 0, 0.10);
}

.aniv15-card .aniv15-contenido::before {
    content: '';
    position: absolute;
    inset: -18px -16px;
    z-index: 0;
    border: 1px solid rgba(184, 148, 79, 0.5);
    border-radius: 8px;
    pointer-events: none;
    background: linear-gradient(165deg, rgba(255, 252, 245, 0.99), rgba(255, 246, 232, 0.97));
    box-shadow:
        inset 0 0 28px rgba(255, 210, 140, 0.16),
        inset 0 0 0 3px rgba(255, 252, 248, 0.82),
        inset 0 0 0 4px rgba(184, 148, 79, 0.24),
        0 14px 32px rgba(36, 56, 24, 0.14);
    opacity: 0.98;
}

.aniv15-decor {
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.18));
}

.aniv15-decor--uno {
    left: auto;
    right: 32px;
    top: 30px;
    bottom: auto;
    width: 104px;
    max-width: 24%;
    transform: rotate(8deg);
    transform-origin: 100% 0;
    opacity: 0.86;
}

.aniv15-decor--dos {
    right: auto;
    left: 32px;
    top: auto;
    bottom: 34px;
    width: 94px;
    max-width: 22%;
    transform: rotate(-7deg);
    transform-origin: 0 100%;
    opacity: 0.84;
}
