:root {
    --bg-color: #FEFCFB;
    --text-primary: #948E8D;
    --text-secondary: #B5B0AF;
    --accent-color: #D6A4AB;
    --accent-dark: #A86A76;
    --grid-bg: #FBEFF2;
    --grid-stripe: #F5E1E6;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Mobile-first container */
.app-container {
    width: 100%;
    max-width: 480px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    margin-bottom: 30px;
}

.sender {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
}

/* Video Section */
.video-container {
    width: 100%;
    aspect-ratio: 9/16;
    background-color: var(--grid-bg);
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vertical-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.divider .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--accent-color);
    opacity: 0.4;
}

.divider .text {
    padding: 0 16px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-item:last-child:nth-child(odd) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: repeating-linear-gradient(
        -45deg,
        var(--grid-bg),
        var(--grid-bg) 10px,
        var(--grid-stripe) 10px,
        var(--grid-stripe) 20px
    );
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
}

.footer p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-dark);
    font-size: 1.1rem;
    opacity: 0.8;
}
