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

body {
    background: #0a0a0a;
    font-family: 'Courier New', monospace;
    color: #666;
    overflow-x: hidden;
    min-height: 100vh;
}

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

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.title {
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0;
}

.instagram-link {
    color: #ffffff;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.instagram-link:hover {
    color: #e1306c;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.photo {
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: var(--delay);
    transition: transform 0.3s ease;
}

.photo .img-wrapper {
    overflow: hidden;
}

.photo:hover {
    transform: scale(1.02);
    z-index: 10;
}

.photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(30%) contrast(1.1);
    transition: filter 0.3s ease;
}

.photo:hover img {
    filter: grayscale(0%) contrast(1.2);
}

.caption {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.caption.blue {
    color: #66b3ff;
}

.caption.purple {
    color: #b19cd9;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.nav-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 15px 40px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.nav-link:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.back-link {
    display: inline-block;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

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

.instagram-embed-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 20px;
    visibility: hidden;
    animation: showEmbed 0s 1.5s forwards;
}

.instagram-embed-container .instagram-media {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.5s forwards;
}

@keyframes showEmbed {
    to {
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    .header {
        margin-bottom: 30px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .caption {
        font-size: 0.85rem;
    }
    
    .instagram-embed-container {
        margin-top: 40px;
        padding: 10px;
    }
}
