/* =========================================================
   ARTLIBRARY — MAIN STYLES
   ========================================================= */

:root {
    --bg: #07101f;
    --bg-soft: #0b1628;
    --surface: #101d31;
    --surface-2: #14233a;
    --border: rgba(255, 255, 255, 0.09);

    --text: #f7f9ff;
    --muted: #9aa8bd;

    --blue: #2878ff;
    --purple: #9b2cff;
    --pink: #d51fc9;

    --gradient: linear-gradient(
        100deg,
        #2878ff 0%,
        #6734ff 48%,
        #c51bcf 100%
    );

    --container: 1240px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 70% 10%,
            rgba(92, 37, 255, 0.12),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 82px;

    background:
        rgba(7, 16, 31, 0.78);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    width: 155px;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-left: auto;
}

.desktop-nav a {
    color: #b6c1d2;

    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.desktop-nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-button,
.theme-button,
.menu-button {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: #d8e0ee;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.icon-button:hover,
.theme-button:hover,
.menu-button:hover {
    background:
        rgba(255, 255, 255, 0.1);

    transform: translateY(-1px);
}

.login-button,
.signup-button {
    padding: 10px 17px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.login-button {
    color: #dce5f4;
}

.login-button:hover {
    background:
        rgba(255, 255, 255, 0.05);
}

.signup-button {
    color: white;
    background: var(--gradient);
    box-shadow:
        0 8px 25px rgba(102, 44, 255, 0.25);
}

.signup-button:hover {
    transform: translateY(-2px);
}

.menu-button {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    padding:
        105px 0
        95px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    top: -300px;
    right: -250px;

    background:
        radial-gradient(
            circle,
            rgba(108, 42, 255, 0.16),
            transparent 68%
        );

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(430px, 0.85fr);

    align-items: center;

    gap: 65px;
}

.hero-content {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 24px;

    padding: 7px 13px;

    color: #bfcbe0;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(46px, 5vw, 76px);

    line-height: 1.02;

    letter-spacing: -0.055em;

    font-weight: 800;

    margin-bottom: 26px;
}

.hero h1 span {
    background: var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 610px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 32px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-box {
    width: 100%;
    min-height: 64px;

    display: flex;
    align-items: center;

    padding: 7px 8px 7px 20px;

    background:
        rgba(17, 31, 52, 0.9);

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color:
        rgba(96, 90, 255, 0.65);

    box-shadow:
        0 0 0 4px rgba(92, 56, 255, 0.09),
        0 20px 60px rgba(0, 0, 0, 0.22);
}

.search-icon {
    color: #9daac0;

    font-size: 27px;

    margin-right: 11px;
}

.search-box input {
    min-width: 0;
    flex: 1;

    color: #ffffff;

    background: transparent;

    border: 0;
    outline: 0;

    font-size: 14px;
}

.search-box input::placeholder {
    color: #75849b;
}

.filter-button {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #dbe5f5;

    background:
        rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    cursor: pointer;
}

.popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 15px;

    color: #728197;

    font-size: 12px;
}

.popular-searches a {
    color: #aebbd0;

    transition: color 0.2s ease;
}

.popular-searches a:hover {
    color: #ffffff;
}


/* =========================================================
   HERO ART COLLAGE
   ========================================================= */

.hero-art {
    position: relative;

    min-height: 530px;
}

.hero-card {
    position: absolute;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 22px;

    box-shadow: var(--shadow);
}

.hero-card-one {
    width: 55%;
    height: 67%;

    top: 0;
    left: 7%;

    transform: rotate(-4deg);

    z-index: 4;
}

.hero-card-two {
    width: 55%;
    height: 67%;

    top: 18%;
    right: 0;

    transform: rotate(5deg);

    z-index: 3;
}

.hero-card-three {
    width: 48%;
    height: 53%;

    bottom: 0;
    left: 15%;

    transform: rotate(4deg);

    z-index: 2;
}

.hero-card-four {
    width: 46%;
    height: 50%;

    right: 7%;
    bottom: -2%;

    transform: rotate(-5deg);

    z-index: 1;
}

.art-placeholder {
    width: 100%;
    height: 100%;

    position: relative;

    overflow: hidden;
}

.art-placeholder::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            transparent 35%,
            rgba(0, 0, 0, 0.28)
        );
}


/* Abstract artwork placeholders */

.portrait-art {
    background:
        radial-gradient(
            circle at 55% 32%,
            #ffbf91 0 7%,
            transparent 8%
        ),
        radial-gradient(
            circle at 55% 48%,
            #252d4c 0 17%,
            transparent 18%
        ),
        linear-gradient(
            135deg,
            #101936,
            #5931b7 48%,
            #f16b75
        );
}

.mountain-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            #ffe3a0 0 6%,
            transparent 7%
        ),
        linear-gradient(
            145deg,
            #06142b,
            #194a79 52%,
            #d2787e
        );
}

.space-art {
    background:
        radial-gradient(
            circle at 25% 30%,
            #ffffff 0 1%,
            transparent 2%
        ),
        radial-gradient(
            circle at 75% 65%,
            #ffffff 0 1.5%,
            transparent 2.5%
        ),
        radial-gradient(
            circle at 50% 40%,
            #783cff 0 10%,
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #060818,
            #20134b,
            #4d1e86
        );
}

.anime-art {
    background:
        radial-gradient(
            circle at 52% 35%,
            #ffd5bc 0 9%,
            transparent 10%
        ),
        linear-gradient(
            160deg,
            #321452,
            #e43b72 55%,
            #ffb36a
        );
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 85px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 25px;

    letter-spacing: -0.025em;
}

.view-all {
    color: #9caac0;

    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.view-all:hover {
    color: #ffffff;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}

.category-card {
    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 17px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(128, 88, 255, 0.45);
}


/* category art */

.category-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.category-image.cinematic {
    background-image: url("images/categories/cinematic.jpg") !important;
}

.category-image.anime {
    background-image: url("images/categories/anime.jpg") !important;
}

.category-image.realistic {
    background-image: url("images/categories/realistic.jpg") !important;
}

.category-image.render {
    background-image: url("images/categories/3d-render.jpg") !important;
}

.category-image.product {
    background-image: url("images/categories/product.jpg") !important;
}

.category-image.architecture {
    background-image: url("images/categories/architecture.jpg") !important;
}

.category-image.fantasy {
    background-image: url("images/categories/fantasy.jpg") !important;
}

.category-image.design {
    background-image: url("images/categories/logo-design.jpg") !important;
}

.category-image.illustration {
    background-image: url("images/categories/illustration.jpg") !important;
}

.category-image.nature {
    background-image: url("images/categories/nature.jpg") !important;
}

/* =========================================================
   ART GRID
   ========================================================= */

.art-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.art-card {
    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.075);

    border-radius: 20px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.art-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(117, 75, 255, 0.4);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.25);
}

.art-image {
    aspect-ratio: 4 / 3;

    position: relative;

    overflow: hidden;
}

.likes {
    position: absolute;

    top: 12px;
    right: 12px;

    padding: 6px 9px;

    color: #ffffff;

    background:
        rgba(0, 0, 0, 0.48);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 999px;

    font-size: 11px;

    backdrop-filter: blur(8px);
}

.art-info {
    padding: 16px;
}

.art-info h3 {
    margin-bottom: 5px;

    font-size: 15px;
}

.model {
    color: #8291a7;

    font-size: 12px;
}


/* Trending art */

.trending-one {
    background:
        linear-gradient(
            145deg,
            #07162d,
            #4a2eb6,
            #f23f83
        );
}

.trending-two {
    background:
        radial-gradient(
            circle at 50% 55%,
            #e9bca3 0 8%,
            transparent 9%
        ),
        linear-gradient(
            145deg,
            #26152c,
            #8d4e6d,
            #e7a76d
        );
}

.trending-three {
    background:
        linear-gradient(
            145deg,
            #09142f,
            #3158c9,
            #e448b4
        );
}

.trending-four {
    background:
        linear-gradient(
            145deg,
            #202938,
            #8798ac,
            #ece1cf
        );
}

.trending-five {
    background:
        linear-gradient(
            145deg,
            #281252,
            #c63d9d,
            #ffaf70
        );
}

.trending-six {
    background:
        linear-gradient(
            145deg,
            #102437,
            #4d7f91,
            #d8b47b
        );
}


/* =========================================================
   LATEST
   ========================================================= */

.latest-section {
    background:
        rgba(255, 255, 255, 0.012);
}

.latest-grid {
    columns: 4 230px;
    column-gap: 16px;
}

.latest-image {
    height: 270px;

    break-inside: avoid;

    margin-bottom: 16px;

    border-radius: 17px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.latest-image:hover {
    transform: translateY(-4px);
    filter: brightness(1.08);
}

.latest-one {
    height: 320px;
    background:
        linear-gradient(145deg, #1d123d, #d63b92, #ffb36d);
}

.latest-two {
    height: 250px;
    background:
        linear-gradient(145deg, #09263e, #277cc3, #95c2bb);
}

.latest-three {
    height: 360px;
    background:
        linear-gradient(145deg, #15182e, #5143ca, #d642b3);
}

.latest-four {
    height: 250px;
    background:
        linear-gradient(145deg, #24364d, #9da9b7, #e3c69e);
}

.latest-five {
    height: 330px;
    background:
        linear-gradient(145deg, #2e0d40, #9d35be, #f27983);
}

.latest-six {
    height: 270px;
    background:
        linear-gradient(145deg, #0c1d31, #31649e, #b8c9c5);
}

.latest-seven {
    height: 350px;
    background:
        linear-gradient(145deg, #07182b, #4656b8, #d95b8e);
}

.latest-eight {
    height: 250px;
    background:
        linear-gradient(145deg, #1a2630, #668a8b, #e5c49c);
}

.latest-nine {
    height: 300px;
    background:
        linear-gradient(145deg, #1e103f, #6e32b4, #f3489b);
}

.latest-ten {
    height: 340px;
    background:
        linear-gradient(145deg, #101f35, #397ba0, #d4b78a);
}

.latest-eleven {
    height: 260px;
    background:
        linear-gradient(145deg, #24153b, #a33b85, #e6a46c);
}

.latest-twelve {
    height: 310px;
    background:
        linear-gradient(145deg, #071b30, #2d6ab8, #b6a4d6);
}


/* =========================================================
   MODELS
   ========================================================= */

.models-section {
    padding-top: 75px;
    padding-bottom: 100px;
}

.models-list {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.model-pill {
    padding: 11px 16px;

    color: #c8d3e3;

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.model-pill:hover {
    background:
        rgba(104, 65, 255, 0.13);

    border-color:
        rgba(120, 80, 255, 0.4);

    transform: translateY(-2px);
}


/* =========================================================
   COMMUNITY CTA
   ========================================================= */

.community-section {
    position: relative;

    padding: 80px 0;

    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            rgba(39, 105, 255, 0.13),
            rgba(156, 44, 255, 0.13)
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.community-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.community-content h2 {
    margin-top: 13px;

    font-size: clamp(35px, 4vw, 53px);

    line-height: 1.05;

    letter-spacing: -0.04em;
}

.community-content h2 span {
    background: var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.community-content p {
    max-width: 640px;

    margin-top: 16px;

    color: var(--muted);

    font-size: 15px;
}

.primary-button {
    flex-shrink: 0;

    padding: 14px 22px;

    color: #ffffff;

    background: var(--gradient);

    border-radius: 13px;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 15px 35px rgba(101, 45, 255, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(101, 45, 255, 0.32);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding:
        70px 0
        25px;

    background:
        #050c17;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        1fr
        1.45fr;

    gap: 42px;
}

.footer-brand img {
    width: 185px;

    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 320px;

    color: #77869c;

    font-size: 13px;

    line-height: 1.75;
}

.social-links {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: #abb8ca;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 10px;

    font-size: 12px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.social-links a:hover {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.09);
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3,
.newsletter h3 {
    margin-bottom: 8px;

    color: #f1f4fa;

    font-size: 13px;
}

.footer-column a {
    color: #7d8ca2;

    font-size: 12px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.newsletter p {
    color: #77869c;

    font-size: 12px;

    margin-bottom: 13px;
}

.newsletter-form {
    display: flex;

    gap: 7px;
}

.newsletter-form input {
    min-width: 0;
    width: 100%;

    padding: 11px 12px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    outline: 0;

    font-size: 12px;
}

.newsletter-form input::placeholder {
    color: #64738a;
}

.newsletter-form button {
    flex-shrink: 0;

    padding: 0 14px;

    color: #ffffff;

    background: var(--gradient);

    border-radius: 10px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #56657a;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-art {
        width: min(700px, 100%);

        margin-inline: auto;
    }

    .category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: span 3;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .site-header {
        height: 70px;
    }

    .brand {
        width: 125px;
    }

    .desktop-nav,
    .login-button,
    .signup-button,
    .theme-button {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .menu-button {
        display: grid;
    }

    .hero {
        padding:
            70px 0
            65px;
    }

    .hero h1 {
        font-size: clamp(41px, 12vw, 58px);
    }

    .hero-description {
        font-size: 15px;
    }

    .search-box {
        min-height: 58px;

        padding-left: 15px;
    }

    .filter-button {
        width: 43px;
        height: 43px;
    }

    .popular-searches {
        line-height: 1.7;
    }

    .hero-art {
        min-height: 410px;
    }

    .hero-card-one {
        width: 58%;
        height: 64%;
    }

    .hero-card-two {
        width: 56%;
        height: 62%;

        top: 20%;
    }

    .hero-card-three {
        width: 52%;
        height: 50%;
    }

    .hero-card-four {
        width: 47%;
        height: 45%;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .category-image {
        height: 115px;
    }

    .art-grid {
        grid-template-columns: 1fr;
    }

    .art-image {
        aspect-ratio: 1.25 / 1;
    }

    .latest-grid {
        columns: 2 140px;
        column-gap: 10px;
    }

    .latest-image {
        margin-bottom: 10px;
        border-radius: 13px;
    }

    .models-list {
        gap: 9px;
    }

    .model-pill {
        padding: 9px 13px;

        font-size: 12px;
    }

    .community-section {
        padding: 65px 0;
    }

    .community-content {
        align-items: flex-start;

        flex-direction: column;
    }

    .community-content h2 {
        font-size: 38px;
    }

    .primary-button {
        width: 100%;

        text-align: center;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .newsletter {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 40px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-art {
        min-height: 350px;
    }

    .category-image {
        height: 105px;
    }

    .latest-grid {
        columns: 2 120px;
    }

    .latest-image {
        min-height: 180px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline:
        2px solid #6d6cff;

    outline-offset: 3px;
}

::selection {
    background: rgba(109, 75, 255, 0.45);

    color: #ffffff;
}
/* =========================================================
   MOBILE MENU OPEN STATE
   ========================================================= */

@media (max-width: 760px) {

    .desktop-nav.mobile-open {
        display: flex;

        position: absolute;
        top: 70px;
        left: 15px;
        right: 15px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        background: rgba(7, 16, 31, 0.98);

        border: 1px solid rgba(255, 255, 255, 0.08);

        border-radius: 16px;

        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.4);

        z-index: 200;
    }

    .desktop-nav.mobile-open a {
        width: 100%;

        padding: 13px 12px;

        border-radius: 10px;

        color: #dbe5f5;
    }

    .desktop-nav.mobile-open a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
    }

}
/* =========================================================
   MOBILE MENU
   ========================================================= */

@media (max-width: 760px) {

    .desktop-nav.mobile-open {
        display: flex !important;

        position: absolute;
        top: 70px;
        left: 15px;
        right: 15px;

        flex-direction: column;
        align-items: stretch;

        gap: 4px;

        padding: 12px;

        background: rgba(7, 16, 31, 0.98);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;

        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

        z-index: 999;
    }

    .desktop-nav.mobile-open a {
        display: block;
        width: 100%;
        padding: 13px 14px;

        border-radius: 10px;

        color: #dbe5f5;
    }

    .desktop-nav.mobile-open a:hover {
        background: rgba(255, 255, 255, 0.07);
        color: #ffffff;
    }
}
/* =========================================================
   ARTWORK PROMPTS & CATEGORIES
   ========================================================= */

.art-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.art-title-row h3 {
    margin: 0;
    min-width: 0;
}

.category {
    flex-shrink: 0;

    padding: 5px 9px;

    border-radius: 999px;

    background: rgba(109, 75, 255, 0.14);

    border: 1px solid rgba(139, 92, 246, 0.22);

    color: #c4b5fd;

    font-size: 11px;
    font-weight: 600;

    line-height: 1;
}

.prompt-text {
    margin: 12px 0 14px;

    color: #91a4bd;

    font-size: 13px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.copy-prompt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: 100%;

    padding: 10px 14px;

    border: 1px solid rgba(139, 92, 246, 0.25);

    border-radius: 10px;

    background: rgba(109, 75, 255, 0.10);

    color: #d9d3ff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.copy-prompt:hover {
    background: rgba(109, 75, 255, 0.20);

    border-color: rgba(139, 92, 246, 0.45);

    transform: translateY(-1px);
}

.copy-prompt:active {
    transform: translateY(0);
}


/* =========================================================
   ARTWORK IMAGE
   ========================================================= */

.art-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: inherit;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .art-title-row {
        align-items: flex-start;
    }

    .category {
        font-size: 10px;
        padding: 5px 8px;
    }

    .prompt-text {
        font-size: 12px;
        line-height: 1.6;
    }
/* =========================================================
   ARTWORK DETAILS PAGE
   ========================================================= */

}

.artwork-page {
    padding: 40px 0 90px;
}

.artwork-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 24px;

    color: #94a3b8;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.artwork-back:hover {
    color: #ffffff;
}


/* ================= ARTWORK LAYOUT ================= */

.artwork-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(360px, 0.65fr);

    gap: 36px;

    align-items: start;
}


/* ================= MAIN IMAGE ================= */

.artwork-main-image {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    background: #0f172a;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35);
}

.artwork-main-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 760px;

    object-fit: cover;
}


/* ================= DETAILS ================= */

.artwork-details {
    padding-top: 8px;
}

.artwork-heading {
    margin-bottom: 28px;
}

.artwork-category {
    display: inline-flex;

    padding: 6px 11px;

    margin-bottom: 12px;

    border-radius: 999px;

    background: rgba(109, 75, 255, 0.14);

    border: 1px solid rgba(139, 92, 246, 0.25);

    color: #c4b5fd;

    font-size: 12px;
    font-weight: 600;
}

.artwork-heading h1 {
    margin: 0 0 12px;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1px;

    color: #ffffff;
}

.artwork-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    color: #94a3b8;

    font-size: 14px;
}

.artwork-meta span:first-child {
    color: #c4b5fd;
}


/* ================= PROMPT BOX ================= */

.prompt-box {
    padding: 22px;

    border-radius: 18px;

    background: rgba(15, 23, 42, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.18);
}

.prompt-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}

.prompt-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
}


/* ================= PROMPT TEXT ================= */

.artwork-prompt {
    margin: 0;

    color: #b6c3d5;

    font-size: 14px;

    line-height: 1.8;
}


/* ================= COPY BUTTON ================= */

.prompt-box .copy-prompt {
    width: auto;

    min-width: 135px;

    flex-shrink: 0;
}


/* ================= TAGS ================= */

.artwork-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.artwork-tags span {
    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #9fb0c7;

    font-size: 12px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.artwork-tags span:hover {
    background: rgba(109, 75, 255, 0.12);

    color: #d8d0ff;
}


/* ================= FOOTER ================= */

.artwork-page + .site-footer {
    margin-top: 0;
}


/* =========================================================
   ARTWORK MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .artwork-layout {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .artwork-main-image img {
        max-height: none;
    }

    .artwork-details {
        padding-top: 0;
    }

}


@media (max-width: 600px) {

    .artwork-page {
        padding: 25px 0 60px;
    }

    .artwork-back {
        margin-bottom: 18px;
    }

    .artwork-main-image {
        border-radius: 16px;
    }

    .artwork-heading h1 {
        font-size: 32px;
    }

    .prompt-box {
        padding: 17px;
        border-radius: 15px;
    }

    .prompt-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .prompt-box .copy-prompt {
        width: 100%;
    }

    .artwork-prompt {
        font-size: 13px;
        line-height: 1.75;
    }

}
@media (max-width: 760px) {
    .copy-prompt {
        padding: 10px 12px;
    }
}

/* =========================================================
   ARTWORK DESKTOP LAYOUT FIX
   ========================================================= */

@media (min-width: 901px) {

    .artwork-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr) !important;
        gap: 36px !important;
        align-items: start !important;
    }

}
/* =========================================================
   LATEST ADDITIONS — PREMIUM CARDS
   ========================================================= */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.latest-image {
    position: relative;
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 20px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.latest-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 10, 25, 0.55),
        rgba(5, 10, 25, 0.05) 45%,
        transparent 75%
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.latest-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.45s ease,
        filter 0.3s ease;
}

.latest-image:hover {
    transform: translateY(-7px);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.latest-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.latest-image:hover::after {
    opacity: 0.85;
}


/* =========================================================
   LATEST MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .latest-image {
        height: 300px;
    }

}


@media (max-width: 600px) {

    .latest-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .latest-image {
        height: 360px;
        border-radius: 17px;
    }

}

/* ========================================
   ArtLibrary - Lightweight 3D Categories
======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    min-width: 0;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 10px 16px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(145, 155, 220, 0.15);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(94, 72, 180, 0.13),
            transparent 58%
        ),
        #11172b;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 117, 255, 0.55);
    background-color: #171d37;
}

.category-image {
    display: none !important;
}

.category-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.category-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 9px rgba(121, 93, 255, 0.24));
    transition: transform 180ms ease, filter 180ms ease;
}

.category-card:hover .category-icon svg {
    transform: translateY(-2px) scale(1.06);
    filter: drop-shadow(0 0 13px rgba(111, 206, 255, 0.4));
}

.category-card strong {
    display: block;
    padding: 0;
    color: #f4f5ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-card {
        min-height: 140px;
        padding: 14px 8px;
        border-radius: 14px;
    }

    .category-icon {
        width: 58px;
        height: 58px;
    }

    .category-card strong {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .category-icon svg {
        transition: none;
    }
}

/* ArtLibrary — Refined compact category cards */

#categories {
    padding-top: 48px;
}

#categories .section-heading {
    margin-bottom: 24px;
}

#categories .category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

#categories .category-card {
    min-width: 0;
    min-height: 118px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(145, 155, 220, 0.13);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(24, 31, 58, 0.96),
        rgba(15, 21, 41, 0.98)
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition: border-color 180ms ease, background 180ms ease;
}

#categories .category-card:hover {
    transform: none;
    border-color: rgba(143, 117, 255, 0.45);
    background: linear-gradient(
        145deg,
        rgba(34, 40, 75, 0.98),
        rgba(18, 25, 48, 0.98)
    );
}

#categories .category-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

#categories .category-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(121, 93, 255, 0.18));
    transition: filter 180ms ease;
}

#categories .category-card:hover .category-icon svg {
    transform: none;
    filter: drop-shadow(0 0 8px rgba(111, 206, 255, 0.3));
}

#categories .category-card strong {
    padding: 0;
    margin: 0;
    color: #e8ebff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

#categories .category-image {
    display: none !important;
}

@media (max-width: 900px) {
    #categories .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 560px) {
    #categories {
        padding-top: 32px;
    }

    #categories .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #categories .category-card {
        min-height: 108px;
        padding: 12px 8px;
        gap: 7px;
        border-radius: 12px;
    }

    #categories .category-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    #categories .category-card strong {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #categories .category-card,
    #categories .category-icon svg {
        transition: none;
    }
}

/* Category filter controls */
.category-filter-all {
    margin-left: auto;
    padding: 8px 14px;
    border: 1px solid rgba(143, 117, 255, 0.4);
    border-radius: 10px;
    background: #171d37;
    color: #e8ebff;
    cursor: pointer;
}

.category-filter-all:hover {
    border-color: #8f75ff;
}

.category-card.is-active {
    border-color: #8f75ff;
    box-shadow: 0 0 0 1px rgba(143, 117, 255, 0.15);
}

.category-empty-message {
    margin-top: 18px;
    color: #aeb7d8;
    text-align: center;
}

.category-empty-message[hidden] {
    display: none;
}

#explore .art-card[hidden] {
    display: none !important;
}

/* =====================================
   ArtLibrary - Light Theme
   ===================================== */

body[data-theme="light"] {
    --bg: #f5f7fc;
    --bg-soft: #edf1f8;
    --surface: #ffffff;
    --surface-2: #f0f3fa;
    --border: rgba(20, 35, 58, 0.12);
    --text: #17243a;
    --muted: #63718a;

    background: var(--bg);
    color: var(--text);
}

/* Main page areas */
body[data-theme="light"] main,
body[data-theme="light"] section {
    color: var(--text);
}

/* Header and navigation */
body[data-theme="light"] header,
body[data-theme="light"] .header,
body[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--border);
}

body[data-theme="light"] nav a,
body[data-theme="light"] .logo,
body[data-theme="light"] .nav-link {
    color: var(--text);
}

/* Search */
body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea,
body[data-theme="light"] .search-box,
body[data-theme="light"] .search-container {
    background: #ffffff;
    color: var(--text);
    border-color: var(--border);
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
    color: #7b879b;
}

/* Cards and content panels */
body[data-theme="light"] .art-card,
body[data-theme="light"] .prompt-card,
body[data-theme="light"] .category-card,
body[data-theme="light"] .filter-panel,
body[data-theme="light"] .search-panel {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

/* Text */
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] p,
body[data-theme="light"] label {
    color: var(--text);
}

body[data-theme="light"] .muted,
body[data-theme="light"] .subtitle,
body[data-theme="light"] .description {
    color: var(--muted);
}

/* Categories and filter buttons */
body[data-theme="light"] .category-btn,
body[data-theme="light"] .filter-button,
body[data-theme="light"] .filter-btn {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--border);
}

/* Footer */
body[data-theme="light"] footer {
    background: var(--bg-soft);
    color: var(--text);
    border-color: var(--border);
}

/* Mobile menu */
body[data-theme="light"] .mobile-menu {
    background: #ffffff;
    color: var(--text);
    border-color: var(--border);
}

/* Theme toggle */
.theme-button {
    cursor: pointer;
}

@media (max-width: 760px) {
    .theme-button {
        display: grid;
        place-items: center;
    }
}

/* ArtLibrary logo sizing */
.site-logo {
    display: block;
    width: 165px;
    height: auto;
    object-fit: contain;
}

/* Light theme: keep logo crisp */
body[data-theme="light"] .site-logo {
    filter: none;
}


/* =========================================================
   v2: filters, prompt editor, honest placeholders
   ========================================================= */

.advanced-filter-panel {
    display: flex; flex-wrap: wrap; align-items: end; gap: 12px;
    margin-top: 12px; padding: 16px; border-radius: 14px;
    border: 1px solid rgba(145,155,220,.22);
    background: linear-gradient(145deg, rgba(24,31,58,.98), rgba(15,21,41,.99));
    box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.advanced-filter-panel[hidden] { display: none !important; }
.advanced-filter-field { display: flex; flex: 1 1 180px; flex-direction: column; gap: 7px; }
.advanced-filter-field label { color: #cdd3f4; font-size: 12px; font-weight: 600; }
.advanced-filter-field select {
    width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 9px;
    color: #edf0ff; background: #171f3d; border: 1px solid rgba(145,155,220,.28); font: inherit;
}
.advanced-filter-reset {
    min-height: 42px; padding: 9px 14px; border-radius: 9px; cursor: pointer;
    color: #edf0ff; background: rgba(112,94,255,.16); border: 1px solid rgba(145,125,255,.4); font: inherit;
}
.advanced-filter-reset:hover { background: rgba(112,94,255,.27); }

.card-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.customize-link {
    color: #c4b5fd; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.customize-link:hover { color: #fff; text-decoration: underline; }

button.model-pill { cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; }
.model-pill.is-active {
    background: rgba(104, 65, 255, 0.28); border-color: rgba(140, 100, 255, 0.7); color: #fff;
}
.model-pill.is-empty { opacity: .55; }

.primary-button.is-soon { opacity: .7; cursor: default; box-shadow: none; }
.primary-button.is-soon:hover { transform: none; }
.footer-slim { grid-template-columns: 1.7fr 1fr 1.45fr; }
@media (max-width: 760px) {
    .footer-slim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-slim .footer-brand { grid-column: span 2; }
    .footer-slim .newsletter { grid-column: span 2; }
}

.prompt-var {
    padding: 1px 5px; border-radius: 6px; color: #e9e3ff;
    background: rgba(124, 92, 255, 0.22); border: 1px solid rgba(139, 112, 255, 0.35);
}
.prompt-var.changed { background: rgba(60, 200, 160, 0.2); border-color: rgba(80, 220, 180, 0.55); color: #d7fff3; }
.prompt-editor { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.editor-title { margin: 0 0 6px; font-size: 16px; color: #fff; }
.editor-hint { margin: 0 0 14px; font-size: 12.5px; line-height: 1.6; color: #94a3b8; }
.editor-fields { display: grid; gap: 12px; }
.editor-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: #cdd3f4; }
.editor-field input {
    min-height: 42px; padding: 9px 12px; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 400;
    color: #edf0ff; background: #171f3d; border: 1px solid rgba(145,155,220,.28);
}
.editor-field input:focus { outline: 2px solid rgba(139, 112, 255, .7); outline-offset: 1px; }
.editor-status { margin: 14px 0 0; font-size: 12px; color: #8fa0b8; }
.editor-reset {
    margin-top: 10px; padding: 8px 14px; border-radius: 9px; cursor: pointer; font: inherit; font-size: 13px;
    color: #edf0ff; background: rgba(112,94,255,.16); border: 1px solid rgba(145,125,255,.4);
}
.editor-reset[hidden] { display: none !important; }

.related-section { margin-top: 56px; }
.related-section h2 { margin: 0 0 18px; font-size: 20px; color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card {
    display: block; overflow: hidden; border-radius: 16px; text-decoration: none; color: #dbe5f5;
    background: rgba(15, 23, 42, .75); border: 1px solid rgba(255,255,255,.08);
}
.related-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.related-card span { display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.related-card:hover { border-color: rgba(139, 92, 246, .45); }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.site-footer .footer-bottom a { color: inherit; }

/* light theme for the new parts */
body[data-theme="light"] .advanced-filter-panel { background: #fff; border-color: rgba(20,35,58,.14); }
body[data-theme="light"] .advanced-filter-field label,
body[data-theme="light"] .editor-field { color: #34425c; }
body[data-theme="light"] .advanced-filter-field select,
body[data-theme="light"] .editor-field input { color: #17243a; background: #f0f3fa; border-color: rgba(20,35,58,.18); }
body[data-theme="light"] .advanced-filter-reset,
body[data-theme="light"] .editor-reset { color: #17243a; }
body[data-theme="light"] .prompt-var { color: #3b2a99; }
body[data-theme="light"] .prompt-var.changed { color: #0b5a45; }
body[data-theme="light"] .editor-title,
body[data-theme="light"] .related-section h2 { color: #17243a; }
body[data-theme="light"] .editor-hint,
body[data-theme="light"] .editor-status { color: #63718a; }
body[data-theme="light"] .related-card { background: #fff; color: #17243a; border-color: rgba(20,35,58,.12); }
body[data-theme="light"] .customize-link { color: #5b3fd6; }
body[data-theme="light"] .model-pill.is-active { color: #17243a; }

/* light theme: artwork page fixes */
body[data-theme="light"] .prompt-box { background: #ffffff; border-color: rgba(20,35,58,.14); box-shadow: 0 10px 30px rgba(20,35,58,.08); }
body[data-theme="light"] .prompt-header h2 { color: #17243a; }
body[data-theme="light"] .artwork-prompt { color: #34425c; }
body[data-theme="light"] .artwork-heading h1 { color: #17243a; }
body[data-theme="light"] .artwork-tags span { background: #eef1f8; border-color: rgba(20,35,58,.12); color: #4a5876; }
body[data-theme="light"] .artwork-back { color: #5b6a85; }
body[data-theme="light"] .artwork-back:hover { color: #17243a; }
body[data-theme="light"] .theme-button { color: #17243a; }
body[data-theme="light"] .prompt-box .copy-prompt { color: #17243a; }
body[data-theme="light"] .editor-field { color: #34425c; }
body[data-theme="light"] .prompt-editor { border-top-color: rgba(20,35,58,.12); }
body[data-theme="light"] .artwork-category { color: #4b32b8; background: rgba(109,75,255,.12); }
body[data-theme="light"] .artwork-meta span:first-child { color: #4b32b8; }
