/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kalam', cursive;
    background: linear-gradient(135deg, #F8F8FF 0%, #FFE4E1 30%, #B0E0E6 70%, #D8BFD8 100%);
    min-height: 100vh;
    color: #5a4a6b;
    line-height: 1.6;
}

/* Lock Screen.photo-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 600px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}*/
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #F8F8FF 0%, #FFE4E1 30%, #B0E0E6 70%, #D8BFD8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lock-container {
    text-align: center;
    padding: 40px;
    background: rgba(248, 248, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(216, 191, 216, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 228, 225, 0.5);
}

.lock-hearts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.lock-hearts i {
    font-size: 2rem;
    color: #D8BFD8;
    animation: heartPulse 2s ease-in-out infinite;
}

.lock-hearts i:nth-child(2) {
    animation-delay: 0.3s;
}

.lock-hearts i:nth-child(3) {
    animation-delay: 0.6s;
}

.lock-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #B0E0E6;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(216, 191, 216, 0.3);
}

.lock-message {
    font-size: 1.2rem;
    color: #8a7a9a;
    margin-bottom: 30px;
    font-weight: 400;
}

.date-input-container {
    margin-bottom: 20px;
}

.date-label {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: #B0E0E6;
    margin-bottom: 15px;
    font-weight: 600;
}

.date-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #D8BFD8;
    border-radius: 15px;
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    background: rgba(240, 255, 240, 0.9);
    color: #5a4a6b;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #B0E0E6;
    box-shadow: 0 0 20px rgba(176, 224, 230, 0.4);
    transform: scale(1.02);
    background: rgba(248, 248, 255, 0.95);
}

/* Special styling for password input */
.date-input[type="password"] {
    letter-spacing: 0.1em;
    font-family: 'Kalam', cursive;
}

.date-input[type="password"]::placeholder {
    letter-spacing: normal;
    font-style: italic;
}

.unlock-btn {
    background: linear-gradient(135deg, #D8BFD8, #B0E0E6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(216, 191, 216, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.unlock-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(216, 191, 216, 0.5);
    background: linear-gradient(135deg, #E6D3E6, #C0E6EA);
}

.unlock-btn:active {
    transform: translateY(-1px);
}

.error-message {
    background: linear-gradient(135deg, #FFB6C1, #DDA0DD);
    color: white;
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.lock-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 30px;
}

.floating-heart {
    position: absolute;
    font-size: 1.5rem;
    animation: floatAround 8s ease-in-out infinite;
    opacity: 0.6;
}

.floating-heart:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-heart:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-heart:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.floating-heart:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 6s;
}

/* Lock Screen Animations */
@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes fadeOutUp {
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #B0E0E6;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(216, 191, 216, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

.welcome-message {
    font-size: 1.3rem;
    color: #8a7a9a;
    font-weight: 400;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Photo Section - Full Width */
.photo-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin: 50px calc(-50vw + 50%);
    padding: 0;
    position: relative;
}

.photo-container {
    position: relative;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: none;
    width: 100%;
    animation: none;
}

.main-illustration {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(216, 191, 216, 0.2);
}

.main-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Photo styles */
.photo-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(216, 191, 216, 0.3);
}

/* Circular Rotation Slides */
.photo-banner .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    /* Responsive Grid Layout */
    display: grid;
    gap: 5px;
    padding: 5px;
}

/* Responsive grid layouts based on photo count */
.photo-banner .slide[data-photos-count="1"] {
    grid-template-columns: 1fr;
    place-items: center;
}

.photo-banner .slide[data-photos-count="2"] {
    grid-template-columns: 1fr 1fr;
}

.photo-banner .slide[data-photos-count="3"] {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Ensure single photo on mobile fills the space nicely */
@media (max-width: 480px) {
    .photo-banner .slide[data-photos-count="1"] img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }
}

.photo-banner .slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.photo-banner .slide.slide-out-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.photo-banner .slide.slide-out-right {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.photo-banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-banner:hover .slide-overlay {
    transform: translateY(0);
}

.slide-number {
    color: white;
    font-family: 'Kalam', cursive;
    font-size: 14px;
    text-align: right;
    opacity: 0.9;
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(248, 248, 255, 0.5);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #D8BFD8, #B0E0E6);
    border-radius: 2px;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Hover Controls */
.hover-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.photo-banner.hover-active .hover-controls {
    opacity: 1;
    pointer-events: auto;
}

.hover-controls .nav-btn {
    background: rgba(248, 248, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #D8BFD8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(216, 191, 216, 0.3);
    border: 1px solid rgba(255, 228, 225, 0.5);
}

.hover-controls .nav-btn:hover {
    background: #F0FFF0;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(216, 191, 216, 0.4);
    color: #B0E0E6;
}

.photo-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(216, 191, 216, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Kalam', cursive;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 228, 225, 0.3);
}

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.photo-slide.active {
    opacity: 1;
}

.banner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

.photo-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(216, 191, 216, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(216, 191, 216, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: #D8BFD8;
    border-color: #B0E0E6;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(216, 191, 216, 0.5);
}

.photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(248, 248, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #D8BFD8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(216, 191, 216, 0.3);
    z-index: 10;
    border: 1px solid rgba(255, 228, 225, 0.5);
}

.photo-nav:hover {
    background: rgba(216, 191, 216, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(216, 191, 216, 0.4);
}

.photo-nav.prev {
    left: 15px;
}

.photo-nav.next {
    right: 15px;
}

.main-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    filter: brightness(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

.main-photo:hover {
    transform: scale(1.02);
    filter: brightness(1.1) saturate(1.2);
}

.photo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-container:hover .photo-overlay {
    opacity: 1;
}

/* Love Letter Section */
.love-letter-section {
    padding: 60px 20px;
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(248, 248, 255, 0.8), rgba(240, 255, 240, 0.8));
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.love-letter-section::before {
    content: '';
    position: absolute;
    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"><text y="50" font-size="100" opacity="0.03">💕</text></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.letter-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.letter-header {
    text-align: center;
    margin-bottom: 40px;
}

.letter-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #B0E0E6;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(216, 191, 216, 0.3);
    animation: fadeInDown 1s ease-out;
}

.letter-decoration {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.letter-heart {
    font-size: 1.5rem;
    color: #D8BFD8;
    animation: heartPulse 2s ease-in-out infinite;
}

.letter-heart:nth-child(2) {
    animation-delay: 0.3s;
}

.letter-heart:nth-child(3) {
    animation-delay: 0.6s;
}

.letter-paper {
    background: #FEFEFE;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 60px rgba(216, 191, 216, 0.15),
        0 8px 25px rgba(255, 228, 225, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    margin-bottom: 30px;
    border: 1px solid rgba(216, 191, 216, 0.1);
    /* Enhanced graph paper pattern for better Netlify compatibility */
    background-image: 
        repeating-linear-gradient(90deg, rgba(176, 224, 230, 0.15) 0px, rgba(176, 224, 230, 0.15) 1px, transparent 1px, transparent 30px),
        repeating-linear-gradient(0deg, rgba(176, 224, 230, 0.15) 0px, rgba(176, 224, 230, 0.15) 1px, transparent 1px, transparent 30px);
    background-size: 30px 30px, 30px 30px;
    background-position: 40px 0, 40px 0;
}

/* Fallback for browsers that don't support complex gradients */
@supports not (background-image: repeating-linear-gradient(90deg, transparent, transparent)) {
    .letter-paper {
        background: #FEFEFE;
        background-image: none;
        border-left: 3px solid rgba(176, 224, 230, 0.3);
    }
    
    .letter-paper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            linear-gradient(0deg, rgba(176, 224, 230, 0.1) 1px, transparent 1px) 0 0/100% 30px,
            linear-gradient(90deg, rgba(176, 224, 230, 0.1) 1px, transparent 1px) 40px 0/30px 100%;
        pointer-events: none;
    }
}

.letter-paper::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FFB6C1, #DDA0DD);
    border-radius: 1px;
}

.letter-content {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a4a6b;
    min-height: 400px;
    position: relative;
    margin-left: 20px;
}

.letter-paragraph {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    position: relative;
    padding-left: 30px;
}

.letter-paragraph.visible {
    opacity: 1;
    transform: translateY(0);
}

.letter-paragraph::before {
    content: attr(data-emoji);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    animation: bounceIn 0.6s ease 0.3s both;
}

.letter-paragraph strong {
    color: #D8BFD8;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(216, 191, 216, 0.2);
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #D8BFD8;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.letter-footer {
    margin-top: 40px;
    text-align: right;
}

.signature-line {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, #D8BFD8);
    margin: 20px 0 15px auto;
    animation: drawLine 2s ease forwards 4s;
    transform: scaleX(0);
    transform-origin: left;
}

.letter-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #B0E0E6;
    opacity: 0;
    animation: fadeIn 1s ease forwards 4.5s;
    font-style: italic;
}

.letter-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.letter-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(216, 191, 216, 0.3);
}

.replay-btn {
    background: linear-gradient(135deg, #B0E0E6, #D8BFD8);
    color: white;
}

.replay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(176, 224, 230, 0.4);
}

/* Letter Animations */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes drawLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #F8F8FF, #FFE4E1);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 30px rgba(216, 191, 216, 0.05);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.heart-icon {
    font-size: 3rem;
    color: #D8BFD8;
    margin-bottom: 15px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.footer p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #B0E0E6;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-hearts i {
    font-size: 1.2rem;
    color: #D8BFD8;
    animation: sparkle 2s ease-in-out infinite;
}

.footer-hearts i:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-hearts i:nth-child(3) {
    animation-delay: 0.6s;
}

/* Animations */
@keyframes titleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes photoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
}

@keyframes heartPulse {
    0%, 100% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.2); }
}

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

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .welcome-message {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .reasons-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reason-card {
        padding: 25px 20px;
    }

    .reason-card h3 {
        font-size: 1.6rem;
    }

    .photo-container {
        padding: 20px;
        margin: 20px 0;
    }

    .photo-banner {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
    }

    .photo-banner .slide {
        gap: 3px;
        padding: 3px;
    }

    .photo-caption {
        font-size: 1.1rem;
        padding: 15px;
    }

    .photo-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .photo-nav.prev {
        left: 10px;
    }

    .photo-nav.next {
        right: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .lock-title {
        font-size: 2rem;
    }

    .lock-message {
        font-size: 1rem;
    }

    .date-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .welcome-section {
        padding: 30px 15px;
    }

    .love-letter-section {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .letter-title {
        font-size: 2.2rem;
    }

    .letter-paper {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .letter-content {
        font-size: 1.1rem;
        margin-left: 10px;
        min-height: 300px;
    }

    .letter-controls {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .letter-btn {
        width: 200px;
        justify-content: center;
    }

    .photo-container {
        padding: 15px;
    }

    .photo-banner {
        height: 50vh;
        min-height: 350px;
    }

    .photo-banner .slide {
        gap: 2px;
        padding: 2px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .footer {
        background: white;
        box-shadow: none;
    }
}
