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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

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

header {
    text-align: center;
    padding: 100px 0 80px;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #666, transparent);
}

h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 300;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.subtitle {
    font-size: 1.3rem;
    color: #999;
    font-weight: 300;
    letter-spacing: 2px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.gallery-item:hover::before {
    opacity: 1;
}

.placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.3rem;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.links {
    text-align: center;
    padding: 60px 0;
}

.links h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
}

.link-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-buttons a {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #e0e0e0;
    text-decoration: none;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.link-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-buttons a:hover::before {
    left: 100%;
}

.link-buttons a:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    border-color: #666;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 60px 0 30px;
    margin-top: 40px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
}

footer p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    header {
        padding: 60px 0 50px;
    }
    
    h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 50px 0;
    }
    
    .link-buttons {
        gap: 20px;
    }
    
    .link-buttons a {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .links h2 {
        font-size: 2rem;
    }
}
