/* Design System & Global Styles */
:root {
    --bg-primary: #FAF6F0;
    --bg-secondary: #FFF2E6;
    --text-primary: #473B3A;
    --text-secondary: #7C6D6C;
    --accent-primary: #EC9A7A; /* Peach */
    --accent-secondary: #E88383; /* Soft Rose */
    --accent-gold: #DCA842;
    --card-bg: rgba(255, 255, 255, 0.42);
    --card-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 12px rgba(224, 198, 185, 0.15);
    --shadow-md: 0 10px 25px rgba(224, 198, 185, 0.25);
    --shadow-lg: 0 20px 45px rgba(224, 198, 185, 0.35);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', sans-serif;
    --font-handwritten: 'Caveat', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(253, 230, 138, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(254, 205, 211, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(254, 215, 170, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(236, 252, 203, 0.15) 0px, transparent 50%);
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Canvas & Ambient Orbs */
#heartCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.45;
    animation: float-slow 25s infinite ease-in-out alternate;
}

.orb-1 {
    top: 10%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #FFE4E6 0%, rgba(255,228,230,0) 70%);
}

.orb-2 {
    bottom: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FFEDD5 0%, rgba(255,237,213,0) 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FAE8FF 0%, rgba(250,232,255,0) 70%);
    animation-delay: -10s;
}

@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.15); }
    100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Glassmorphism Section */
.glass-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 20;
}

.glass-section:hover {
    box-shadow: var(--shadow-lg);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 20;
}

.hero-content {
    max-width: 750px;
    animation: fade-in-up 1.2s ease-out;
}

.badge {
    background-color: #FFF1F2;
    border: 1px solid #FFE4E6;
    color: var(--accent-secondary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--accent-secondary);
    position: relative;
    font-family: var(--font-handwritten);
    font-size: 4.5rem;
    margin-left: 0.2rem;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -25px;
    font-size: 1.5rem;
    animation: heartbeat 2.5s infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(232, 131, 131, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 30px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.75;
}

.bounce-icon {
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Jar of Hearts Section */
.jar-wrapper {
    overflow: hidden;
}

.jar-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .jar-container {
        grid-template-columns: 2fr 3fr;
    }
}

.jar-visual-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.jar-svg-container {
    width: 200px;
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jar-svg-container:hover {
    transform: scale(1.08) rotate(2deg);
}

.jar-svg-container:active {
    transform: scale(0.95);
}

.glass-jar {
    filter: drop-shadow(0 15px 15px rgba(224, 198, 185, 0.35));
    width: 100%;
}

.jar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(254, 215, 170, 0.5) 0%, rgba(254,215,170,0) 70%);
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.jar-svg-container:hover .jar-glow {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Mini hearts inside jar animation */
.jar-heart-1 { animation: jar-float-1 3s infinite ease-in-out; transform-origin: center; }
.jar-heart-2 { animation: jar-float-2 4s infinite ease-in-out; transform-origin: center; }
.jar-heart-3 { animation: jar-float-3 2.5s infinite ease-in-out; transform-origin: center; }

@keyframes jar-float-1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05) rotate(5deg); }
}
@keyframes jar-float-2 {
    0%, 100% { transform: translateY(0) scale(1) rotate(0); }
    50% { transform: translateY(-6px) scale(0.95) rotate(-8deg); }
}
@keyframes jar-float-3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1) rotate(4deg); }
}

/* Shake animation triggered via JS */
.shake-animation {
    animation: shake 0.6s ease;
}

@keyframes shake {
    0%, 100% { transform: rotate(0) scale(1); }
    15% { transform: rotate(-10deg) scale(1.05); }
    30% { transform: rotate(12deg) scale(1.05); }
    45% { transform: rotate(-8deg) scale(1.05); }
    60% { transform: rotate(8deg) scale(1.05); }
    75% { transform: rotate(-3deg) scale(1.05); }
}

.message-display-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 2rem;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 8px rgba(224, 198, 185, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.click-instruction {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-style: italic;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.card-message {
    animation: pop-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-icon {
    color: var(--accent-secondary);
    opacity: 0.35;
    margin-bottom: 0.5rem;
}

.quote-icon svg {
    width: 32px;
    height: 32px;
}

.message-text {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: bold;
}

.message-signature {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--accent-secondary);
}

.hidden {
    display: none !important;
}

@keyframes pop-up {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Polaroid Gallery */
.polaroid-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1rem 0;
}

@media (min-width: 600px) {
    .polaroid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .polaroid-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.polaroid-card {
    background: #FFFFFF;
    padding: 1.2rem 1.2rem 2.2rem 1.2rem;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(210, 185, 175, 0.35), 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.polaroid-card:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.polaroid-card:nth-child(even) {
    transform: rotate(2deg);
}

.polaroid-card:hover {
    transform: scale(1.05) rotate(0) translateY(-10px);
    box-shadow: 0 15px 35px rgba(190, 160, 150, 0.45);
    z-index: 30;
}

.polaroid-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background-color: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.polaroid-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.polaroid-card:hover img {
    transform: scale(1.06);
}

.img-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.polaroid-card:hover .img-overlay {
    opacity: 1;
    transform: translateY(0);
}

.polaroid-caption {
    margin-top: 1.2rem;
    text-align: center;
}

.caption-quote {
    font-family: var(--font-handwritten);
    font-size: 1.45rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caption-tag {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Cozy Lofi Player Section */
.lofi-section {
    display: flex;
    flex-direction: column;
}

.player-container {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;
}

.cassette-tape {
    width: 260px;
    height: 160px;
    background: linear-gradient(135deg, #4A3E3D 0%, #302625 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-md), 0 0 0 4px #5A4E4D;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 2px solid #6A5E5D;
}

.tape-label {
    background: #FFF7ED;
    border-radius: 6px;
    padding: 8px;
    flex-grow: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 2px solid #E6A15C;
    border-bottom: 8px solid #E6A15C;
}

.label-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: bold;
    color: #C2410C;
}

.label-side {
    font-size: 0.7rem;
    font-weight: bold;
    color: #C2410C;
    background: #FEE2E2;
    padding: 1px 4px;
    border-radius: 3px;
}

.tape-windows {
    background: #201817;
    height: 38px;
    border-radius: 4px;
    margin-top: 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px;
    border: 2px solid #4A3E3D;
    position: relative;
}

.tape-spindle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px dashed #8B7E7D;
    background: #3A2E2D;
    transition: transform 0.1s linear;
}

.tape-window-center {
    width: 70px;
    height: 12px;
    background: rgba(224, 198, 185, 0.15);
    border-radius: 2px;
}

/* Tape Spindle Spin classes */
.spinning {
    animation: spin 3s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.btn-play {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 50px;
    color: white;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 131, 131, 0.3);
}

.btn-play svg {
    width: 16px;
    height: 16px;
}

.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    flex-grow: 1;
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(224, 198, 185, 0.3);
}

.visualizer .bar {
    width: 6px;
    height: 3px;
    background-color: var(--accent-secondary);
    border-radius: 3px 3px 0 0;
    transition: height 0.15s ease;
    opacity: 0.75;
}

/* Dynamic height updates will be handled by class toggles + custom keyframe animations */
.visualizing .bar {
    animation: bounce-bar 0.8s infinite ease-in-out alternate;
}

.visualizing .bar:nth-child(2) { animation-delay: 0.1s; animation-duration: 0.6s; }
.visualizing .bar:nth-child(3) { animation-delay: 0.25s; animation-duration: 0.9s; }
.visualizing .bar:nth-child(4) { animation-delay: 0.15s; animation-duration: 0.7s; }
.visualizing .bar:nth-child(5) { animation-delay: 0.3s; animation-duration: 0.8s; }
.visualizing .bar:nth-child(6) { animation-delay: 0.05s; animation-duration: 0.5s; }
.visualizing .bar:nth-child(7) { animation-delay: 0.2s; animation-duration: 0.75s; }
.visualizing .bar:nth-child(8) { animation-delay: 0.35s; animation-duration: 0.65s; }

@keyframes bounce-bar {
    0% { height: 3px; }
    100% { height: 26px; }
}

/* Sticky Note Board */
.board-section {
    display: flex;
    flex-direction: column;
}

.note-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.3);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.5);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(236, 154, 122, 0.15);
}

.input-group textarea {
    min-height: 70px;
    resize: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.color-picker {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-dot.active {
    transform: scale(1.15);
    border-color: var(--text-secondary);
}

.notes-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar for notes panel */
.notes-container::-webkit-scrollbar {
    width: 6px;
}
.notes-container::-webkit-scrollbar-track {
    background: transparent;
}
.notes-container::-webkit-scrollbar-thumb {
    background: rgba(224, 198, 185, 0.4);
    border-radius: 3px;
}

.sticky-note {
    padding: 1.2rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(224, 198, 185, 0.15);
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: scale-up-fade 0.4s ease;
    cursor: grab;
}

.sticky-note:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.sticky-note.peach { background-color: #FFEDD5; border: 1px solid #FED7AA; }
.sticky-note.rose { background-color: #FFE4E6; border: 1px solid #FECDD3; }
.sticky-note.lavender { background-color: #F3E8FF; border: 1px solid #E9D5FF; }
.sticky-note.mint { background-color: #ECFDF5; border: 1px solid #A7F3D0; }

.note-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
    word-break: break-word;
    font-weight: 500;
}

.note-meta {
    margin-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
}

.note-author {
    font-family: var(--font-handwritten);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: bold;
}

.btn-delete-note {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 2px;
}

.btn-delete-note:hover {
    opacity: 1;
    color: var(--accent-secondary);
}

.btn-delete-note svg {
    width: 14px;
    height: 14px;
}

@keyframes scale-up-fade {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 3rem 1.5rem 2rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(224, 198, 185, 0.15);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 20;
}

.footer p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer strong {
    color: var(--accent-secondary);
}

.footer .copyright {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Custom Floating heart particles */
.floating-heart {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    animation: heart-float-up 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    transform-origin: center;
}

@keyframes heart-float-up {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx)), calc(-50% - 120px)) scale(1.4) rotate(var(--rot));
    }
}
