* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">🐰</text></svg>') 4 4, auto;
}

body {
    font-family: 'Kalam', 'Comic Sans MS', 'Bradley Hand', 'Marker Felt', cursive;
    line-height: 1.8;
    color: #2c2c2c;
    background: linear-gradient(to bottom, #f9f6f0 0%, #f0ede5 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.letter {
    max-width: 750px;
    margin: 0 auto;
    background: #fffef8;
    padding: 4rem 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e4d8;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #5a4a3a;
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Kalam', 'Comic Sans MS', 'Bradley Hand', 'Marker Felt', cursive;
}

.greeting {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #5a4a3a;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-indent: 2em;
}

p.greeting,
p.closing,
p.signature {
    text-indent: 0;
}

.closing {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.signature {
    font-style: italic;
    margin-bottom: 3rem;
}

em {
    font-style: italic;
    color: #7a5a4a;
}

code {
    font-family: 'Monaco', 'Courier New', monospace;
    background: #f5f2eb;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.95em;
    color: #5a4a3a;
}

a {
    color: #7a5a4a;
    text-decoration: underline;
}

/* Polaroid photo styling */
.photo {
    position: relative;
    margin: 2.5rem auto;
    max-width: 500px;
    padding: 1rem 1rem 3rem 1rem;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-0.5deg);
}

.photo:nth-child(even) {
    transform: rotate(0.5deg);
}

.photo:nth-child(3n) {
    transform: rotate(-1deg);
}

.photo:nth-child(4n) {
    transform: rotate(1.5deg);
}

.photo:nth-child(5n) {
    transform: rotate(-1.5deg);
}

/* Tape effect on corners */
.photo::before,
.photo::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 30px;
    background: rgba(255, 250, 220, 0.7);
    border: 1px solid rgba(200, 190, 160, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.photo::before {
    top: -10px;
    left: 20px;
    transform: rotate(-5deg);
}

.photo::after {
    bottom: -10px;
    right: 20px;
    transform: rotate(5deg);
}

img {
    width: 100%;
    display: block;
    border: none;
}

.caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-style: normal;
    color: #3a3a3a;
    text-align: center;
    text-indent: 0;
    font-family: 'Marker Felt';
    font-weight: normal;
}


/* Responsive */
@media (max-width: 768px) {
    .letter {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
        text-indent: 1.5em;
    }

    .photo {
        padding: 0.75rem 0.75rem 2.5rem 0.75rem;
        margin: 2rem auto;
    }

    .photo::before,
    .photo::after {
        width: 60px;
        height: 25px;
    }

    .transport-section {
        flex-direction: column;
        gap: 0.75rem;
    }

    .transport-section .icon {
        font-size: 2rem;
    }
}
