/* Spartans Gallery — extends index.html modern theme */

body.gallery-page {
    background: var(--white);
    min-height: 100vh;
}

.gallery-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gallery-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: galleryOrbFloat 12s ease-in-out infinite alternate;
}

.gallery-orb-1 {
    width: 420px;
    height: 420px;
    background: var(--purple);
    top: -8%;
    left: -5%;
}

.gallery-orb-2 {
    width: 360px;
    height: 360px;
    background: var(--blue);
    bottom: 10%;
    right: -6%;
    animation-delay: -4s;
}

.gallery-orb-3 {
    width: 280px;
    height: 280px;
    background: var(--pink);
    top: 40%;
    left: 45%;
    animation-delay: -7s;
}

@keyframes galleryOrbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(3%, 4%) scale(1.08); }
}

.gallery-navbar {
    position: sticky;
    top: 0;
}

.gallery-logo {
    text-decoration: none;
    color: inherit;
}

.gallery-main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 120px);
}

.gallery-hero {
    text-align: center;
    padding: 6rem 2rem 2rem;
    max-width: 760px;
    margin: 0 auto;
}

.gallery-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--purple);
    margin-bottom: 1rem;
}

.gallery-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.72);
}

.gallery-cards.feature-cards {
    margin-top: 2rem;
    padding: 2rem 2rem 6rem;
    flex-wrap: wrap;
}

.gallery-cards .feature-card.highlight {
    color: #fff;
}

.gallery-cards .feature-card.highlight p {
    opacity: 0.92;
}

.gallery-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.gallery-footer .footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
    .gallery-cards.feature-cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery-cards .feature-card-link {
        max-width: 100%;
        width: 100%;
    }

    .gallery-navbar .nav-links {
        display: none;
    }
}
