/*
Theme Name: Liebe-lesen
Theme URI: https://liebe-lesen.de/
Author: Loopus
Author URI: https://loopus.tech
Description: Theme for the promotion of the Friesenkuss book - Liquid Design
Version: 1.0.0
License: Proprietary
Text Domain: liebelesen
*/

:root {
    /* Romantic color palette */
    --romantic-rose: #ff6b9d;
    --romantic-pink: #ffc0cb;
    --romantic-purple: #c882ff;
    --romantic-lavender: #e4b5ff;
    --romantic-coral: #ff8fa3;
    --romantic-cream: #fff5f5;

    /* Glassmorphic gradients */
    --glass-gradient-1: linear-gradient(135deg, rgba(255, 107, 157, 0.25) 0%, rgba(200, 130, 255, 0.25) 100%);
    --glass-gradient-2: linear-gradient(135deg, rgba(255, 143, 163, 0.3) 0%, rgba(228, 181, 255, 0.3) 100%);
    --glass-gradient-3: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%);

    --blob-size: clamp(250px, 35vw, 450px);
    --animation-duration: 25s;
    --brand-ink: #1c1733;
    --brand-ink-soft: #4a3d66;
    --brand-muted: #6f6583;
    --brand-rose: #c74d7b;
    --brand-rose-soft: #f7d5e4;
    --brand-sand: #fff9f3;
    --brand-sky: #f3f0ff;
    --surface-glass: rgba(255, 255, 255, 0.82);
    --surface-card: rgba(255, 255, 255, 0.95);
    --border-soft: rgba(81, 69, 104, 0.16);
    --shadow-soft: 0 25px 60px rgba(28, 23, 51, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Playfair Display', serif;
    background: radial-gradient(circle at 20% 0%, rgba(228, 181, 255, 0.25), transparent 55%),
        radial-gradient(circle at 80% 15%, rgba(255, 192, 203, 0.18), transparent 60%),
        var(--brand-sand);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    color: var(--brand-ink);
    line-height: 1.6;
}


.liquid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg,
        rgba(255, 107, 157, 0.1) 0%,
        rgba(255, 192, 203, 0.1) 25%,
        rgba(200, 130, 255, 0.1) 50%,
        rgba(228, 181, 255, 0.1) 100%),
        url('assets/img/backgroundImg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: brightness(1.1) contrast(0.95);
}

.liquid-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: url(#gooey);
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0;
    will-change: transform;
    animation: morphing var(--animation-duration) ease-in-out infinite;
    transition: opacity 0.8s ease-out, transform 0.1s ease-out;
}

.blob-1 {
    width: var(--blob-size);
    height: var(--blob-size);
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 107, 157, 0.4) 0%,
        rgba(255, 192, 203, 0.2) 50%,
        transparent 70%);
    top: 10%;
    left: 10%;
    animation-duration: 30s;
    filter: blur(40px);
}

.blob-2 {
    width: calc(var(--blob-size) * 0.8);
    height: calc(var(--blob-size) * 0.8);
    background: radial-gradient(circle at 50% 50%,
        rgba(200, 130, 255, 0.4) 0%,
        rgba(228, 181, 255, 0.2) 50%,
        transparent 70%);
    top: 60%;
    right: 10%;
    animation-duration: 25s;
    animation-delay: -5s;
    filter: blur(45px);
}

.blob-3 {
    width: calc(var(--blob-size) * 1.2);
    height: calc(var(--blob-size) * 1.2);
    background: radial-gradient(circle at 70% 70%,
        rgba(255, 143, 163, 0.3) 0%,
        rgba(255, 192, 203, 0.15) 50%,
        transparent 70%);
    bottom: 10%;
    left: 50%;
    animation-duration: 35s;
    animation-delay: -10s;
    filter: blur(50px);
}

@keyframes morphing {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: translate(10px, -15px) rotate(270deg) scale(1.05);
    }
}


.site-header {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 192, 203, 0.3) 100%);
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    padding: 0px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.1);
}

.site-header .logo {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-header .logo:hover {
    transform: scale(1.05);
}


.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 5;
}

.content-panel {
    background: linear-gradient(160deg, var(--surface-card) 0%, rgba(255, 245, 250, 0.2) 100%);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    padding: clamp(36px, 4vw, 72px);
    border-radius: 36px;
    max-width: 820px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
    color: var(--brand-ink);
}

.content-panel::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -35%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 25% 50%, rgba(199, 77, 123, 0.18) 0%, rgba(88, 61, 122, 0.12) 45%, transparent 75%);
    animation: liquidRotate 20s linear infinite;
    pointer-events: none;
    opacity: 0.85;
}

@keyframes liquidRotate {
    to { transform: rotate(360deg); }
}

.content-panel h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    color: var(--brand-ink);
    margin-bottom: clamp(28px, 6vw, 46px);
    text-align: center;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: 0.4px;
}

.format-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
    justify-content: center;
}

.format-btn {
    padding: 18px 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 240, 255, 0.85) 100%);
    color: var(--brand-ink);
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    box-shadow: 0 20px 40px rgba(28, 23, 51, 0.12);
    text-shadow: none;
}

.format-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(199, 77, 123, 0.2), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.format-btn:hover::before {
    opacity: 1;
}

.format-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(199, 77, 123, 0.14) 0%, rgba(243, 212, 226, 0.9) 100%);
    border-color: rgba(199, 77, 123, 0.4);
    box-shadow: 0 24px 48px rgba(28, 23, 51, 0.18);
    color: var(--brand-ink);
}

.format-btn:focus-visible {
    outline: 3px solid rgba(199, 77, 123, 0.4);
    outline-offset: 4px;
    transform: translateY(-2px);
}

.format-btn.active {
    background: linear-gradient(135deg, rgba(199, 77, 123, 0.22) 0%, rgba(243, 212, 226, 0.95) 100%);
    border-color: rgba(199, 77, 123, 0.4);
    box-shadow: 0 22px 45px rgba(199, 77, 123, 0.22);
    color: var(--brand-ink);
}

.format-btn.liquid-ripple {
    animation: liquidRipple 0.6s ease-out;
}

@keyframes liquidRipple {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.email-form {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 24px 50px rgba(28, 23, 51, 0.15);
    padding: clamp(24px, 4vw, 36px);
}

.email-form.active {
    display: block;
    animation: liquidSlideIn 0.6s ease-out forwards;
}

@keyframes liquidSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-form label {
    display: block;
    margin-bottom: 18px;
    color: var(--brand-ink-soft);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

.email-form input[type="email"] {
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(81, 69, 104, 0.18);
    border-radius: 20px;
    font-size: 16px;
    color: var(--brand-ink);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 24px rgba(28, 23, 51, 0.08);
}

.email-form input[type="email"]::placeholder {
    color: rgba(81, 69, 104, 0.6);
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(199, 77, 123, 0.45);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(199, 77, 123, 0.12), 0 10px 24px rgba(60, 43, 104, 0.18);
}

.submit-btn {
    width: 100%;
    padding: 20px 28px;
    background: linear-gradient(135deg, #3c2b68 0%, #c74d7b 100%);
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 24px 50px rgba(60, 43, 104, 0.35);
}

.submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
}

.submit-btn:hover::after {
    transform: translateX(100%);
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #4a357c 0%, #d3688d 100%);
    box-shadow: 0 28px 56px rgba(60, 43, 104, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: linear-gradient(135deg, #e6e0f2 0%, #f0d8e4 100%);
    color: #a28fad;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn.liquid-pulse {
    animation: liquidPulse 1s ease-out;
}

@keyframes liquidPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.message {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 22px;
    text-align: center;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-soft);
    color: var(--brand-ink);
    animation: liquidMessageIn 0.5s ease-out;
    box-shadow: 0 18px 40px rgba(28, 23, 51, 0.12);
}

@keyframes liquidMessageIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.message.success {
    background: linear-gradient(135deg, rgba(199, 77, 123, 0.12) 0%, rgba(243, 212, 226, 0.35) 100%);
    color: var(--brand-rose);
    border: 1px solid rgba(199, 77, 123, 0.28);
    box-shadow: 0 12px 32px rgba(199, 77, 123, 0.18);
}

.message.error {
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.12) 0%, rgba(255, 196, 188, 0.32) 100%);
    color: #d16055;
    border: 1px solid rgba(231, 111, 81, 0.24);
    box-shadow: 0 12px 32px rgba(231, 111, 81, 0.18);
}


.site-footer {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.55) 100%);
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    color: #fff;
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -8px 32px rgba(255, 107, 157, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 107, 157, 0.6) 25%,
        rgba(200, 130, 255, 0.6) 50%,
        rgba(255, 192, 203, 0.6) 75%,
        transparent 100%
    );
    animation: liquidFooterLine 10s linear infinite;
}

@keyframes liquidFooterLine {
    to {
        background-position: 200% 0;
    }
}

.site-footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.site-footer a {
    color: #f8bcd0;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.site-footer a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b9d 0%, #c882ff 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.site-footer a:hover {
    color: #c882ff;
    text-shadow: 0 2px 8px rgba(200, 130, 255, 0.3);
}

.site-footer a:hover::after {
    width: 100%;
}


.liquid-cursor {
    position: fixed;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(255, 107, 157, 0.8) 0%,
        rgba(200, 130, 255, 0.5) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.08s ease-out;
    filter: blur(1px);
    box-shadow:
        0 0 20px rgba(255, 107, 157, 0.4),
        0 0 40px rgba(200, 130, 255, 0.2);
}

/* Cursor heart particles */
.cursor-heart {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    animation: floatHeartCursor var(--duration, 2000ms) ease-out forwards;
}

.cursor-heart::before,
.cursor-heart::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 9px;
    background: linear-gradient(135deg,
        rgba(255, 107, 157, 0.8) 0%,
        rgba(200, 130, 255, 0.6) 100%);
    border-radius: 6px 6px 0 0;
}

.cursor-heart::before {
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    left: 6px;
}

.cursor-heart::after {
    transform: rotate(45deg);
    transform-origin: 100% 100%;
    left: 0;
}

@keyframes floatHeartCursor {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(var(--scale, 1));
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate(var(--offsetX, 0), calc(-1 * var(--offsetY, 30px))) scale(0);
    }
}

/* Cursor sparkle particles */
.cursor-sparkle {
    position: fixed;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 192, 203, 0.7) 50%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    animation: sparkleFloat 1s ease-out forwards;
    box-shadow: 0 0 6px rgba(255, 192, 203, 0.6);
}

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    20% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(-20px);
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .blob {
        display: none;
    }
}


@media (max-width: 768px) {
    :root {
        --blob-size: clamp(150px, 40vw, 250px);
        --animation-duration: 30s;
    }

    .format-buttons {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .content-panel {
        padding: 28px 20px;
        margin: 20px;
    }

    .content-panel h1 {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
    }

    .blob {
        filter: blur(60px);
    }
}

@media (hover: none) {
    .format-btn:hover::before {
        width: 0;
        height: 0;
    }

    .submit-btn:hover::after {
        transform: translate(-50%, -50%) scale(0);
    }
}


.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 23, 51, 0.88) 0%, rgba(199, 77, 123, 0.65) 100%);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.success-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 213, 228, 0.94) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border-soft);
    border-radius: 32px;
    padding: 48px clamp(24px, 4vw, 56px);
    max-width: 520px;
    width: min(92%, 520px);
    text-align: center;
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 32px 60px rgba(28, 23, 51, 0.22);
    color: var(--brand-ink);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #4a357c 0%, #d3688d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2.5s ease-in-out infinite;
    box-shadow: 0 14px 28px rgba(60, 43, 104, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 25px rgba(255, 107, 157, 0);
    }
}

.modal-icon::after {
    content: '\2713';
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
}


.modal-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
    color: var(--brand-ink);
}

.modal-message {
    color: var(--brand-ink-soft);
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 32px;
    font-weight: 400;
}

.modal-close {
    background: linear-gradient(135deg, #3c2b68 0%, #c74d7b 100%);
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    letter-spacing: 0.4px;
    box-shadow: 0 22px 40px rgba(60, 43, 104, 0.28);
}

.modal-close:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #4a357c 0%, #d3688d 100%);
    box-shadow: 0 26px 50px rgba(60, 43, 104, 0.35);
}

/* Glassmorphic enhancement with romantic theme */
.glass-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Romantic floating hearts animation */
.floating-hearts {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    animation: floatHeart 10s linear infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.4) 0%, rgba(200, 130, 255, 0.4) 100%);
    border-radius: 20px 20px 0 0;
}

.heart::before {
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    left: 10px;
}

.heart::after {
    transform: rotate(45deg);
    transform-origin: 100% 100%;
    left: 0;
}

@keyframes floatHeart {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(80px) scale(1.2);
    }
}

/* Enhanced glassmorphic panels */
.glass-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 192, 203, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(255, 107, 157, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-radius: 24px;
}

/* Shimmer effect for buttons */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.format-btn::after,
.submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0) 100%);
    border-radius: inherit;
    pointer-events: none;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.format-btn:hover::after,
.submit-btn:hover::after {
    transform: translateX(100%);
    opacity: 1;
}

/* Soft glow for focus states */
:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 107, 157, 0.2),
        0 0 20px rgba(255, 107, 157, 0.15);
}

/* Romantic gradient text animation */
@keyframes romanticGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.romantic-text {
    background: linear-gradient(
        90deg,
        #ff6b9d 0%,
        #c882ff 25%,
        #ff8fa3 50%,
        #e4b5ff 75%,
        #ff6b9d 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: romanticGradient 5s ease infinite;
}