/* Color Palette: "Echoes of Silence" */
:root {
        --bg-color: #0f172a;       /* Slate 900 */
        --text-main: #cbd5e1;      /* Slate 300 */
        --text-muted: #64748b;     /* Slate 500 */
        --accent: #94a3b8;         /* Slate 400 */
}

body {
        background-color: var(--bg-color);
        color: var(--text-main);
        font-family: 'Montserrat', sans-serif;
        overflow-x: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        /* Fixed background so it doesn't move or cut off when scrolling */
        background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 25%);
        background-attachment: fixed;
        min-width: 1024px; /* Ensure body doesn't shrink below desktop width */
}

/* Subtle noise grain overlay - Fixed to screen */
body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: -1;
}

.name-display {
        background: transparent;
        border: none;
        color: #f1f5f9;
        text-align: center;
        font-family: 'Cormorant Garamond', serif;
        font-size: 5rem; /* Large size */
        font-weight: 400;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 2rem;
        display: block;
}

.message-display {
        width: 100%;
        color: var(--text-main);
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.35rem; /* Slightly larger for readability */
        line-height: 1.8;
        padding: 2rem;
        background: rgba(15, 23, 42, 0.3);
        border-radius: 24px; /* Smooth curved edges */
        white-space: pre-wrap; /* Keeps your paragraphs/formatting exactly as you type it */
}

.fade-in {
        animation: fadeIn 2s ease-in-out forwards;
        opacity: 0;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.0s; }
.delay-3 { animation-delay: 2.0s; }

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