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

body {
    font-family: 'Crimson Text', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #ffffff;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(184, 144, 75, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 144, 75, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(184, 144, 75, 0.04) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23b8904b" opacity="0.01"/><circle cx="75" cy="75" r="0.5" fill="%23b8904b" opacity="0.01"/><circle cx="50" cy="10" r="0.3" fill="%23b8904b" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 2rem;
    background: #ffffff;
    border: 1px solid rgba(184, 144, 75, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(184, 144, 75, 0.03) 50%, transparent 51%);
    pointer-events: none;
}

header {
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
    color: #2c2c2c;
    padding: 3rem 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(184, 144, 75, 0.2);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(184, 144, 75, 0.05) 2px,
            rgba(184, 144, 75, 0.05) 4px
        );
    pointer-events: none;
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    color: #b8904b;
    position: relative;
    z-index: 1;
    margin: 0;
}

.letter {
    padding: 4rem 3rem;
    background: #ffffff;
    position: relative;
}

.letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3rem;
    right: 3rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184, 144, 75, 0.4), transparent);
}

.letter-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #2c2c2c;
    font-style: italic;
    text-align: center;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.greeting::after {
    content: '✦';
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: rgba(184, 144, 75, 0.8);
    font-size: 1rem;
}

p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-align: justify;
    text-indent: 2rem;
    position: relative;
}

blockquote {
    background: rgba(184, 144, 75, 0.08);
    border-left: 4px solid rgba(184, 144, 75, 0.6);
    border-right: 4px solid rgba(184, 144, 75, 0.6);
    padding: 2rem;
    margin: 3rem 0;
    font-style: italic;
    text-align: center;
    position: relative;
    font-size: 1.1rem;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(184, 144, 75, 0.4);
    font-family: 'Playfair Display', serif;
}

blockquote::after {
    content: '"';
    position: absolute;
    bottom: -1rem;
    right: 1rem;
    font-size: 4rem;
    color: rgba(184, 144, 75, 0.4);
    font-family: 'Playfair Display', serif;
}

blockquote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

.farewell {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 1.3rem;
    text-align: center;
    font-style: italic;
    margin: 3rem 0;
    position: relative;
}

.farewell::before,
.farewell::after {
    content: '✦ ✦ ✦';
    display: block;
    color: rgba(184, 144, 75, 0.8);
    font-size: 0.8rem;
    margin: 1rem 0;
}

.signature {
    margin-top: 4rem;
    text-align: right;
    font-size: 1.3rem;
    color: #2c2c2c;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        margin: 1rem;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    header h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .letter {
        padding: 2rem 1.5rem;
    }
    
    p {
        font-size: 1rem;
        text-align: left;
    }
    
    .greeting {
        font-size: 1.1rem;
    }
    
    .farewell {
        font-size: 1.1rem;
    }
    
    .signature {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0.5rem;
    }
    
    header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .letter {
        padding: 1.5rem 1rem;
    }
    
    blockquote {
        padding: 1rem;
    }
}