:root {
    color-scheme: dark;
}

.neon-glow {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.utap-gradient-bg {
    background: radial-gradient(circle at top left, rgba(203, 94, 255, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(0, 255, 102, 0.12), transparent 24%),
        linear-gradient(180deg, #07050d 0%, #0b0814 42%, #040507 100%);
}

.mid-section.second.cf {
    padding-left: 4px;
    padding-right: 4px;
}

.gallery-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-window {
    flex: 1;
    overflow: hidden;

    min-height: 0;
}

.gallery-track {
    display: flex;
    gap: 12px;
    transition: transform 280ms ease;
}

.gallery-track img {
    flex: 0 0 calc((100% - 24px) / 3);
    aspect-ratio: 4 / 3;
    object-fit: contain;
    cursor: zoom-in;
}

@media (max-width: 900px) {
    .gallery-track img {
        flex: 0 0 calc((100% - 24px) / 2);
        aspect-ratio: 16 / 10;
    }

    .gallery-window {
        max-width: 100%;
    }
}

.gallery-btn {
    border: none;
    border-radius: 999px;
    padding: 0px 0px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;

    cursor: pointer;
    transition: background 160ms ease;
}

.gallery-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-zoom {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 3, 11, 0.92);
    padding: 20 20;
    z-index: 60;
    gap: 24px;
    min-height: 100vh;
    text-align: center;
}

body.gallery-open .gallery-zoom {
    display: flex;
}

.gallery-zoom-frame {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom img {
    display: block;
    width: 80%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.gallery-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.gallery-zoom .gallery-nav {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 28px;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.neon-glow li {
    margin-left: 1.7rem;
    color: #e2e8f0;
}

.rich-text {
    color: #e2e8f0;
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    font-size: 1rem;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #f8fafc;
}

.rich-text h1 {
    font-size: 2rem;
}

.rich-text h2 {
    font-size: 1.5rem;
}

.rich-text h3 {
    font-size: 1.15rem;
}

.rich-text h4 {
    font-size: 1rem;
}

.rich-text p,
.rich-text ul,
.rich-text ol {
    margin: 0;
    margin-bottom: 0.75rem;
}

.rich-text ul {
    padding-left: 1.25rem;
    list-style: disc;
    margin-left: 1rem;
}

.rich-text li {
    margin-bottom: 0.25rem;
}

.rich-text a {
    color: #c084fc;
    text-decoration: underline;
}