@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');
html {
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    color: #FAFAF9;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.text-serif {
    font-family: 'Cormorant Garamond', serif;
}

@keyframes cinemaZoom {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.0);
    }
}

.animate-cinema-zoom {
    animation: cinemaZoom 9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #E6D7B8 0%, #D4AF37 50%, #B89021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-border-glow {
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.gold-border-glow:hover {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #686867aa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E6D7B8;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 240px;
    grid-gap: 1.5rem;
}

.masonry-item-double-h {
    grid-row: span 2;
}

.masonry-item-double-w {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .masonry-item-double-w {
        grid-column: span 1;
    }
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.75;
}

.developer-credit a {
    color: #4f8cff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.developer-credit a:hover {
    color: #f9f9f9;
    text-decoration: underline;
}