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

body {
    font-family: 'Open Sans', sans-serif;
    background: url('1339089830.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.container {
    max-width: 800px;
    width: 100%;
}

.letter {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.letter-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.letter-content {
    margin: 40px 0;
}

.letter-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    text-align: justify;
    max-width: 600px;
    margin: 0 auto;
}

.letter-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.letter-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.letter-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.letter-footer p {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

/* Mobile background fix */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .letter {
        padding: 40px 30px;
        margin: 10px;
    }
    
    .letter-header h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .letter-content p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .letter-footer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .letter {
        padding: 30px 20px;
    }
    
    .letter-header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .letter-content p {
        font-size: 1rem;
    }
}
