/* Add to bottom of style.css */

/* Entrance Animations */
.animate-in {
    animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
}

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

/* Delay modifiers */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }

/* Support Button Pulse */
.donate-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(139, 69, 19, 0.39);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.5);
}

.donate-btn svg {
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.2); }
    70% { transform: scale(1); }
}
/* Background Textures */
.bg-canvas {
    position: fixed;
    inset: 0;
    background-color: #f5f0e8;
    z-index: -2;
}

.paper-texture {
    position: fixed;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.paper-sheet {
    position: relative;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 0 40px rgba(139, 69, 19, 0.03);
}

/* Upload Hover Effect */
.upload-zone:hover {
    border-color: #8b4513;
    background-color: #f5f0e8;
}

/* Markdown Rendering Styles */
.prose-planner {
    line-height: 1.7;
}

.prose-planner h1, .prose-planner h2, .prose-planner h3 {
    color: #8b4513;
    font-family: "Cormorant Garamond", serif;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.prose-planner table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    background-color: #faf8f4;
}

.prose-planner th {
    background-color: #ebe5da;
    text-align: left;
    padding: 0.875rem 1rem;
    border-bottom: 2px solid #8b4513;
}

.prose-planner td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #d4cfc6;
    vertical-align: top;
}