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

body {
    font-family: 'Raleway', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #ffb3d9 0%, #ffc4e1 25%, #b3f0c0 50%, #ffa8d8 75%, #ffd9f0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Film grain texture */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(180, 160, 180, 0.02) 2px, rgba(180, 160, 180, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(180, 160, 180, 0.02) 2px, rgba(180, 160, 180, 0.02) 4px);
    animation: grain 12s steps(8) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

/* Lens flare effects */
.light-leak {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.light-leak-1 {
    top: 15%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 80, 180, 0.8) 0%, rgba(255, 150, 200, 0.5) 30%, transparent 70%);
    animation: lightLeak1 25s ease-in-out infinite;
    z-index: 2;
}

.light-leak-2 {
    bottom: 20%;
    left: 15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(120, 255, 120, 0.7) 0%, rgba(160, 255, 160, 0.45) 30%, transparent 70%);
    animation: lightLeak2 30s ease-in-out infinite;
    z-index: 2;
}

.light-leak-3 {
    top: 40%;
    left: 45%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 150, 210, 0.75) 0%, rgba(255, 180, 220, 0.5) 30%, transparent 70%);
    animation: lightLeak3 35s ease-in-out infinite;
    z-index: 2;
}

.light-leak-4 {
    top: 60%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 120, 190, 0.7) 0%, rgba(255, 170, 210, 0.45) 30%, transparent 70%);
    animation: lightLeak4 28s ease-in-out infinite;
    z-index: 2;
}

.light-leak-5 {
    bottom: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 255, 130, 0.7) 0%, rgba(210, 255, 170, 0.45) 30%, transparent 70%);
    animation: lightLeak5 32s ease-in-out infinite;
    z-index: 2;
}

@keyframes lightLeak1 {
    0%, 100% {
        opacity: 0.5;
        transform: translate(0, 0) scale(1);
    }
    25% {
        opacity: 0.8;
        transform: translate(-20px, 20px) scale(1.1);
    }
    50% {
        opacity: 1;
        transform: translate(-40px, 40px) scale(1.2);
    }
    75% {
        opacity: 0.7;
        transform: translate(-20px, 20px) scale(1.1);
    }
}

@keyframes lightLeak2 {
    0%, 100% {
        opacity: 0.4;
        transform: translate(0, 0) scale(1);
    }
    30% {
        opacity: 0.7;
        transform: translate(30px, -30px) scale(1.1);
    }
    60% {
        opacity: 0.9;
        transform: translate(50px, -50px) scale(1.15);
    }
    80% {
        opacity: 0.6;
        transform: translate(25px, -25px) scale(1.05);
    }
}

@keyframes lightLeak3 {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        opacity: 0.75;
        transform: translate(-45%, -55%) scale(1.15);
    }
    50% {
        opacity: 0.95;
        transform: translate(-55%, -45%) scale(1.25);
    }
    75% {
        opacity: 0.65;
        transform: translate(-48%, -52%) scale(1.1);
    }
}

@keyframes lightLeak4 {
    0%, 100% {
        opacity: 0.45;
        transform: translate(0, 0) scale(1);
    }
    30% {
        opacity: 0.75;
        transform: translate(35px, -35px) scale(1.12);
    }
    65% {
        opacity: 0.9;
        transform: translate(60px, -60px) scale(1.2);
    }
    85% {
        opacity: 0.6;
        transform: translate(30px, -30px) scale(1.08);
    }
}

@keyframes lightLeak5 {
    0%, 100% {
        opacity: 0.5;
        transform: translate(0, 0) scale(1);
    }
    20% {
        opacity: 0.7;
        transform: translate(-25px, 25px) scale(1.1);
    }
    55% {
        opacity: 0.95;
        transform: translate(-45px, 45px) scale(1.18);
    }
    80% {
        opacity: 0.65;
        transform: translate(-20px, 20px) scale(1.05);
    }
}

/* Vignette effect - mimics old camera lenses */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 60%, rgba(200, 180, 200, 0.08) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Film strip perforations */
.film-strip {
    position: fixed;
    width: 30px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(220, 200, 220, 0.2) 0%,
        rgba(220, 200, 220, 0.2) calc(5% - 8px),
        transparent calc(5% - 8px),
        transparent calc(5% + 8px),
        rgba(220, 200, 220, 0.2) calc(5% + 8px),
        rgba(220, 200, 220, 0.2) calc(10% - 8px),
        transparent calc(10% - 8px),
        transparent calc(10% + 8px),
        rgba(220, 200, 220, 0.2) calc(10% + 8px),
        rgba(220, 200, 220, 0.2) calc(15% - 8px),
        transparent calc(15% - 8px),
        transparent calc(15% + 8px),
        rgba(220, 200, 220, 0.2) calc(15% + 8px),
        rgba(220, 200, 220, 0.2) calc(20% - 8px),
        transparent calc(20% - 8px),
        transparent calc(20% + 8px),
        rgba(220, 200, 220, 0.2) calc(20% + 8px),
        rgba(220, 200, 220, 0.2) calc(25% - 8px),
        transparent calc(25% - 8px),
        transparent calc(25% + 8px),
        rgba(220, 200, 220, 0.2) calc(25% + 8px),
        rgba(220, 200, 220, 0.2) calc(30% - 8px),
        transparent calc(30% - 8px),
        transparent calc(30% + 8px),
        rgba(220, 200, 220, 0.2) calc(30% + 8px),
        rgba(220, 200, 220, 0.2) calc(35% - 8px),
        transparent calc(35% - 8px),
        transparent calc(35% + 8px),
        rgba(220, 200, 220, 0.2) calc(35% + 8px),
        rgba(220, 200, 220, 0.2) calc(40% - 8px),
        transparent calc(40% - 8px),
        transparent calc(40% + 8px),
        rgba(220, 200, 220, 0.2) calc(40% + 8px),
        rgba(220, 200, 220, 0.2) calc(45% - 8px),
        transparent calc(45% - 8px),
        transparent calc(45% + 8px),
        rgba(220, 200, 220, 0.2) calc(45% + 8px),
        rgba(220, 200, 220, 0.2) calc(50% - 8px),
        transparent calc(50% - 8px),
        transparent calc(50% + 8px),
        rgba(220, 200, 220, 0.2) calc(50% + 8px),
        rgba(220, 200, 220, 0.2) calc(55% - 8px),
        transparent calc(55% - 8px),
        transparent calc(55% + 8px),
        rgba(220, 200, 220, 0.2) calc(55% + 8px),
        rgba(220, 200, 220, 0.2) calc(60% - 8px),
        transparent calc(60% - 8px),
        transparent calc(60% + 8px),
        rgba(220, 200, 220, 0.2) calc(60% + 8px),
        rgba(220, 200, 220, 0.2) calc(65% - 8px),
        transparent calc(65% - 8px),
        transparent calc(65% + 8px),
        rgba(220, 200, 220, 0.2) calc(65% + 8px),
        rgba(220, 200, 220, 0.2) calc(70% - 8px),
        transparent calc(70% - 8px),
        transparent calc(70% + 8px),
        rgba(220, 200, 220, 0.2) calc(70% + 8px),
        rgba(220, 200, 220, 0.2) calc(75% - 8px),
        transparent calc(75% - 8px),
        transparent calc(75% + 8px),
        rgba(220, 200, 220, 0.2) calc(75% + 8px),
        rgba(220, 200, 220, 0.2) calc(80% - 8px),
        transparent calc(80% - 8px),
        transparent calc(80% + 8px),
        rgba(220, 200, 220, 0.2) calc(80% + 8px),
        rgba(220, 200, 220, 0.2) calc(85% - 8px),
        transparent calc(85% - 8px),
        transparent calc(85% + 8px),
        rgba(220, 200, 220, 0.2) calc(85% + 8px),
        rgba(220, 200, 220, 0.2) calc(90% - 8px),
        transparent calc(90% - 8px),
        transparent calc(90% + 8px),
        rgba(220, 200, 220, 0.2) calc(90% + 8px),
        rgba(220, 200, 220, 0.2) calc(95% - 8px),
        transparent calc(95% - 8px),
        transparent calc(95% + 8px),
        rgba(220, 200, 220, 0.2) calc(95% + 8px)
    );
    opacity: 0.15;
    z-index: 4;
    pointer-events: none;
}

.film-strip.left {
    left: 0;
    border-right: 2px solid rgba(200, 180, 200, 0.2);
}

.film-strip.right {
    right: 0;
    border-left: 2px solid rgba(200, 180, 200, 0.2);
}

/* Main content */
.content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 2rem;
    animation: fadeIn 2s ease-out;
}

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

.title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #8b5a6b;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 200, 220, 0.3);
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: #9d6b7f;
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Links container */
.links-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Instagram link */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(180, 140, 160, 0.5);
    border-radius: 50px;
    color: #8b5a6b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.instagram-link:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(180, 140, 160, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 180, 220, 0.4);
}

.instagram-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Gallery link */
.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(180, 140, 160, 0.5);
    border-radius: 50px;
    color: #8b5a6b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.gallery-link:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(180, 140, 160, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 180, 220, 0.4);
}

.gallery-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-icon {
    transform: scale(1.1);
}

/* Gallery page styles */
.gallery-content {
    position: relative;
}

.back-link {
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    color: #8b5a6b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.back-link:hover {
    color: #a67c8a;
    transform: translateX(-50%) translateY(-2px);
}

.check-back-banner {
    margin-top: 2rem;
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(180, 140, 160, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    animation: fadeIn 2s ease-out 0.5s backwards;
}

.check-back-text {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 300;
    color: #8b5a6b;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .film-strip {
        width: 20px;
    }

    .content {
        padding: 1rem;
    }

    .tagline {
        margin-bottom: 2rem;
    }

    .light-leak-1,
    .light-leak-2 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .film-strip {
        width: 15px;
    }

    .instagram-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
