@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #0b0b12;
    --bg-card: #12111e;
    --border: rgba(255,255,255,0.08);
    --text: rgba(255,255,255,0.95);
    --muted: rgba(255,255,255,0.55);
    --soft: rgba(255,255,255,0.08);
    --accent: #f5a05a;
    --accent2: #e46f9a;
    --green: #6ee7a0;
    --radius: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent2);
    bottom: 5%;
    right: -150px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #7058e8;
    top: 50%;
    left: 20%;
}

.glass-panel {
    background: rgba(18, 17, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.gallery-header {
    position: sticky;
    top: 0;
    z-index: 5;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link,
.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
}

.back-link {
    display: inline-flex;
    align-items: center;
}

.header-title {
    flex: 1;
    text-align: center;
}

.mini-label {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.header-title h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text);
    margin-top: 0.4rem;
}

.header-spacer {
    width: 100px;
}

.gallery-page {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.gallery-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0 1rem;
}

.intro-text {
    max-width: 680px;
}

.section-kicker {
    display: block;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gallery-intro h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--text);
    margin-bottom: 0.8rem;
}

.gallery-intro p {
    color: var(--muted);
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245,160,90,0.4);
    box-shadow: 0 20px 50px rgba(245,160,90,0.14);
}

.gallery-image-wrap {
    position: relative;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-card:nth-child(even) .gallery-image-wrap img {
    transform: scale(1.04);
}

.gallery-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
    opacity: 0.8;
}

.gallery-card-body {
    padding: 1rem 1rem 1.2rem;
}

.gallery-comments {
    margin-top: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
}

.gallery-comments-title {
    color: var(--accent);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.single-comment {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
    font-style: italic;
}

.gallery-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1rem 3rem;
}

.gallery-footer .footer-link {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
