/* ==========================================================================
   MALIHA'S CHROMATIC ATELIER — REFINED ART GALLERY ENGINE (art.css)
   Symmetrical Glass Frames, Soft Ink-Bloom Splash, & Lightweight Staggered Gallery
   ========================================================================== */

:root {
    /* Color Tokens */
    --art-bg-void: #060509;
    --art-bg-charcoal: #0e0c14;
    --art-bg-card: rgba(18, 15, 26, 0.75);
    
    --art-crimson: #e63946;
    --art-strawberry: #ff4d6d;
    --art-blush: #f7a8c4;
    --art-coral: #ff70a6;
    --art-orange: #fb5607;
    --art-gold: #ffd166;
    --art-violet: #9b5de5;
    --art-sapphire: #4361ee;
    --art-cyan: #00f5d4;
    --art-emerald: #10b981;

    --art-text-primary: #f8f6fd;
    --art-text-muted: #a39eb8;
    --art-border-glass: rgba(255, 255, 255, 0.22);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'Cinzel', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Smooth Curves */
    --ease-liquid: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Reset & Core Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-sans);
    font-size: 16px;
    background-color: var(--art-bg-void);
    color: var(--art-text-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body.art-body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background: var(--art-bg-void);
    line-height: 1.6;
}

/* Pointer Follower */
.art-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 168, 196, 0.6) 0%, rgba(155, 93, 229, 0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (pointer: fine) {
    .art-cursor { opacity: 0.7; }
}

/* Ambient Canvas Layer */
#paintAtmosphereCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* ==========================================================================
   REFINED WATERCOLOR / INK-BLOOM SPLASH OVERLAY
   ========================================================================== */

.art-splash-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #040306;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.art-splash-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(28px);
    opacity: 0.85;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: radial-gradient(circle, rgba(6, 5, 9, 0.8) 0%, transparent 80%);
    border-radius: 24px;
}

.splash-brand-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--art-blush);
    padding: 0.35rem 0.9rem;
    background: rgba(247, 168, 196, 0.1);
    border: 1px solid rgba(247, 168, 196, 0.3);
    border-radius: 9999px;
    text-transform: uppercase;
}

.splash-main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.splash-line-top {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    letter-spacing: 0.2em;
    color: var(--art-blush);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.splash-line-main {
    font-family: var(--font-display);
    font-size: Clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #ffffff 0%, #f7a8c4 40%, #9b5de5 75%, #00f5d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9));
}

.splash-sub-line {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--art-text-muted);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.splash-color-swipe {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(247, 168, 196, 0.25) 30%, rgba(155, 93, 229, 0.35) 60%, rgba(0, 245, 212, 0.25) 100%);
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
    transition: transform 0.9s var(--ease-out-cubic);
}

.splash-color-swipe.active {
    transform: translateX(100%) skewX(-15deg);
}

/* ==========================================================================
   HEADER & LIQUID GLASS NAV
   ========================================================================== */

.art-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 2rem;
    transition: padding 0.3s ease;
}

.art-header-wrapper.scrolled {
    padding: 0.75rem 2rem;
}

/* ==========================================================================
   HEADER & LIQUID GLASS NAV
   ========================================================================== */

.art-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 2rem;
    transition: padding 0.3s ease;
}

.art-header-wrapper.scrolled {
    padding: 0.75rem 2rem;
}

.art-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, rgba(22, 18, 34, 0.85) 0%, rgba(14, 11, 22, 0.88) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(247, 168, 196, 0.22), inset 0 2px 3px rgba(255, 255, 255, 0.75), inset 0 -2px 5px rgba(155, 93, 229, 0.25);
    position: relative;
    overflow: hidden;
}

.art-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    pointer-events: none;
}

.art-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--art-text-primary);
    position: relative;
    z-index: 2;
}

.art-logo-mark {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 10px rgba(247, 168, 196, 0.6));
    transition: transform 0.3s ease;
}

.art-logo:hover .art-logo-mark {
    transform: rotate(15deg) scale(1.15);
}

.art-logo-text {
    display: flex;
    flex-direction: column;
}

.art-logo-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.art-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    color: var(--art-blush);
    text-transform: uppercase;
}

.art-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    position: relative;
    z-index: 2;
}

.art-nav-link {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--art-text-muted);
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.art-nav-link:hover,
.art-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.art-back-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--art-blush);
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.22), rgba(155, 93, 229, 0.22));
    border: 1px solid rgba(247, 168, 196, 0.5);
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(247, 168, 196, 0.25), inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--ease-liquid);
}

.art-back-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.4), rgba(155, 93, 229, 0.4));
    border-color: rgba(247, 168, 196, 0.8);
    transform: translateY(-1px) scale(1.03);
}

/* Tiny Bubble Button inside Navbar */
.art-bubble-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.4) 0%, rgba(247, 168, 196, 0.25) 40%, rgba(0, 245, 212, 0.2) 75%, rgba(155, 93, 229, 0.15) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 18px rgba(247, 168, 196, 0.5), 0 0 15px rgba(0, 245, 212, 0.4), inset 0 1.5px 2px #ffffff;
    cursor: pointer;
    transition: transform 0.35s var(--ease-liquid), box-shadow 0.35s ease;
    backdrop-filter: blur(12px);
    padding: 2px;
    overflow: hidden;
}

.art-bubble-btn:hover {
    transform: scale(1.18) rotate(12deg);
    box-shadow: 0 8px 28px rgba(247, 168, 196, 0.8), 0 0 25px rgba(0, 245, 212, 0.7), inset 0 2.5px 3px #ffffff;
}

.bubble-img-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) brightness(1.15) contrast(1.1);
    transition: transform 0.3s ease;
}

.art-bubble-btn:hover .bubble-img-icon {
    transform: scale(1.1);
}

.art-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.art-mobile-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--art-text-primary);
    border-radius: 2px;
}

.art-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(12, 10, 18, 0.95);
    backdrop-filter: blur(24px);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-liquid);
    border-left: 1px solid var(--art-border-glass);
}

.art-mobile-drawer.active {
    transform: translateX(0);
}

.art-mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.art-mobile-link, .art-mobile-back {
    font-size: 1rem;
    font-weight: 500;
    color: var(--art-text-muted);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.art-mobile-back {
    color: var(--art-blush);
    font-weight: 600;
    margin-top: 1rem;
}

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

.art-main {
    position: relative;
    z-index: 1;
}

.art-hero-section {
    padding: 9rem 2rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.art-hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.art-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
}

.art-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--art-cyan);
    box-shadow: 0 0 10px var(--art-cyan);
}

.art-pill-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--art-text-muted);
}

.art-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.1;
}

.hero-subheading {
    font-family: var(--font-serif);
    font-size: Clamp(1.6rem, 3.5vw, 2.5rem);
    font-style: italic;
    letter-spacing: 0.15em;
    color: var(--art-blush);
}

.hero-mainheading {
    font-family: var(--font-display);
    font-size: Clamp(2.5rem, 6.5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #ffffff 0%, #f7a8c4 30%, #fb5607 60%, #9b5de5 85%, #00f5d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 35px rgba(251, 86, 7, 0.2));
}

.art-hero-tagline {
    font-family: var(--font-mono);
    font-size: Clamp(0.8rem, 1.8vw, 1rem);
    letter-spacing: 0.35em;
    color: var(--art-gold);
    text-transform: uppercase;
}

.art-hero-description {
    font-size: Clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--art-text-muted);
    max-width: 680px;
    line-height: 1.7;
    font-weight: 300;
}

/* Stats Bar (Ultra 3D Liquid Glass) */
.art-stats-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    padding: 0.85rem 2.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(247, 168, 196, 0.1) 35%, rgba(155, 93, 229, 0.12) 70%, rgba(0, 245, 212, 0.08) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    border-radius: 9999px;
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 6px 25px rgba(247, 168, 196, 0.22), inset 0 2px 3px rgba(255, 255, 255, 0.75), inset 0 -1.5px 3px rgba(155, 93, 229, 0.2);
    position: relative;
    overflow: hidden;
}

.art-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    pointer-events: none;
}

.art-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(247, 168, 196, 0.5);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--art-blush);
}

.art-stat-divider {
    width: 1px;
    height: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   INTERACTIVE CLICK PAINT SPLASH & FLOATING GLASS SOAP BUBBLES
   ========================================================================== */

/* Click/Touch Pigment Bloom Splash */
.click-paint-splash {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: clickSplashBloom 1.4s var(--ease-out-cubic) forwards;
    filter: blur(12px);
}

@keyframes clickSplashBloom {
    0% {
        width: 12px;
        height: 12px;
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

/* Floating Glass Soap Bubbles */
.glass-soap-bubble {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.75) 0%, rgba(247, 168, 196, 0.35) 30%, rgba(0, 245, 212, 0.22) 65%, rgba(155, 93, 229, 0.15) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 8px 25px rgba(247, 168, 196, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: floatBubbleUp var(--duration, 7s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.glass-soap-bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25%;
    height: 25%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    filter: blur(1px);
}

@keyframes floatBubbleUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
    }
    15% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift-x, 40px), -105vh, 0) rotate(var(--rot, 360deg)) scale(1.1);
    }
}

/* Category Filter Controls */
.art-filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.art-filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--art-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.art-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.art-filter-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.25), rgba(155, 93, 229, 0.25));
    border-color: rgba(247, 168, 196, 0.5);
    box-shadow: 0 4px 15px rgba(247, 168, 196, 0.2);
}

.filter-count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
}

/* ==========================================================================
   FEATURED SELECTIONS SECTION
   ========================================================================== */

.art-featured-section {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.art-section-title {
    font-family: var(--font-display);
    font-size: Clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.title-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--art-blush), var(--art-violet), var(--art-cyan));
    border-radius: 2px;
}

.section-subtext {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--art-text-muted);
}

.art-featured-stage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.featured-card {
    position: relative;
    cursor: pointer;
    border-radius: 18px;
    transition: transform 0.4s var(--ease-liquid), box-shadow 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.featured-glass-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--art-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.5), 0 15px 35px rgba(0, 0, 0, 0.45);
    aspect-ratio: 4/5;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-cubic);
}

.featured-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.featured-card.accent-sapphire .featured-glow { background: radial-gradient(circle at bottom right, rgba(67, 97, 238, 0.4), transparent 70%); }
.featured-card.accent-crimson .featured-glow { background: radial-gradient(circle at bottom right, rgba(230, 57, 70, 0.4), transparent 70%); }
.featured-card.accent-rose .featured-glow { background: radial-gradient(circle at bottom right, rgba(247, 168, 196, 0.4), transparent 70%); }
.featured-card.accent-amber .featured-glow { background: radial-gradient(circle at bottom right, rgba(251, 86, 7, 0.4), transparent 70%); }

.featured-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(6, 5, 9, 0.95) 0%, rgba(6, 5, 9, 0.5) 75%, transparent 100%);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.featured-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--art-gold);
}

.featured-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   LIGHTWEIGHT STACKED DECK PREVIEW & DECK CONTROLS
   ========================================================================== */

.deck-control-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
}

.btn-deck-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.35s var(--ease-liquid);
}

.btn-deck-trigger.primary {
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.25), rgba(155, 93, 229, 0.25), rgba(0, 245, 212, 0.2));
    border: 1px solid rgba(247, 168, 196, 0.5);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(247, 168, 196, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-deck-trigger.primary:hover {
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.4), rgba(155, 93, 229, 0.4), rgba(0, 245, 212, 0.3));
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 35px rgba(247, 168, 196, 0.3);
}

.btn-deck-trigger.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--art-text-muted);
}

.btn-deck-trigger.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stacked Deck Preview Stage */
.deck-preview-container {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.deck-preview-container.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.deck-preview-stack {
    position: relative;
    width: 320px;
    height: 380px;
    cursor: pointer;
}

.deck-stack-card {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--art-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1.5px 2px rgba(255, 255, 255, 0.5);
    transition: transform 0.4s var(--ease-liquid), box-shadow 0.4s ease;
}

.deck-stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deck-stack-card.card-top { transform: rotateZ(-2deg) translate3d(0, 0, 0); z-index: 5; }
.deck-stack-card.card-layer-1 { transform: rotateZ(3deg) translate3d(8px, 6px, -10px); z-index: 4; opacity: 0.95; }
.deck-stack-card.card-layer-2 { transform: rotateZ(-5deg) translate3d(-10px, 12px, -20px); z-index: 3; opacity: 0.9; }
.deck-stack-card.card-layer-3 { transform: rotateZ(6deg) translate3d(14px, 18px, -30px); z-index: 2; opacity: 0.85; }
.deck-stack-card.card-layer-4 { transform: rotateZ(-8deg) translate3d(-16px, 24px, -40px); z-index: 1; opacity: 0.8; }

.deck-preview-stack:hover .card-top { transform: rotateZ(0deg) translate3d(0, -10px, 0); }
.deck-preview-stack:hover .card-layer-1 { transform: rotateZ(6deg) translate3d(18px, 0, 0); }
.deck-preview-stack:hover .card-layer-2 { transform: rotateZ(-8deg) translate3d(-20px, 10px, 0); }

.deck-click-hint {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--art-blush);
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   CLEAN SYMMETRICAL GALLERY GRID & GLASS FRAMES
   ========================================================================== */

.art-gallery-section {
    padding: 4rem 2rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.art-gallery-viewport {
    width: 100%;
}

.art-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.2rem;
    transition: opacity 0.5s ease;
}

.art-gallery-grid.hidden {
    display: none;
    opacity: 0;
}

/* Symmetrical Individual Artwork Card with Unclipped Color Ambient Glow */
.art-card[data-accent="rose-crimson"],
.art-card[data-accent="crimson"],
.art-card[data-accent="deep-crimson"] {
    --accent-glow-primary: rgba(255, 77, 109, 0.75);
    --accent-glow-secondary: rgba(230, 57, 70, 0.5);
}

.art-card[data-accent="sapphire-violet"],
.art-card[data-accent="sapphire-teal"],
.art-card[data-accent="cyan-ice"],
.art-card[data-accent="teal-blue"],
.art-card[data-accent="violet-cyan"],
.art-card[data-accent="violet-pink"],
.art-card[data-accent="violet"] {
    --accent-glow-primary: rgba(0, 245, 212, 0.75);
    --accent-glow-secondary: rgba(67, 97, 238, 0.55);
}

.art-card[data-accent="emerald-teal"],
.art-card[data-accent="emerald"],
.art-card[data-accent="emerald-gold"] {
    --accent-glow-primary: rgba(16, 185, 129, 0.75);
    --accent-glow-secondary: rgba(0, 245, 212, 0.5);
}

.art-card[data-accent="amber"],
.art-card[data-accent="amber-warm"],
.art-card[data-accent="gold-amber"],
.art-card[data-accent="gold"],
.art-card[data-accent="warm-brown"],
.art-card[data-accent="warm-amber"],
.art-card[data-accent="fire-orange"],
.art-card[data-accent="coral"],
.art-card[data-accent="luffy-red-gold"] {
    --accent-glow-primary: rgba(230, 57, 70, 0.8);
    --accent-glow-secondary: rgba(255, 209, 102, 0.6);
}

.art-card[data-accent="monochrome"],
.art-card[data-accent="monochrome-slate"],
.art-card[data-accent="silver-graphite"] {
    --accent-glow-primary: rgba(255, 255, 255, 0.55);
    --accent-glow-secondary: rgba(163, 158, 184, 0.4);
}

.art-card {
    position: relative;
    cursor: pointer;
    border-radius: 18px;
    transition: transform 0.4s var(--ease-liquid), box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 1;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 35px var(--accent-glow-primary, rgba(247, 168, 196, 0.5)), 0 0 75px var(--accent-glow-secondary, rgba(155, 93, 229, 0.3));
}

.art-card.receder {
    opacity: 0.6;
    transform: scale(0.96);
}

.art-card:hover {
    z-index: 12;
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 55px var(--accent-glow-primary, rgba(247, 168, 196, 0.85)), 0 0 115px var(--accent-glow-secondary, rgba(155, 93, 229, 0.55));
}

/* Visible Luxury Glass Frame */
.art-glass-frame {
    position: relative;
    border-radius: 18px;
    padding: 10px;
    background: var(--art-bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.75), inset 0 0 15px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.art-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: #000000;
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-cubic);
}

.art-card:hover .art-image {
    transform: scale(1.05);
}

/* Top-Left Glass Reflection Streak */
.glass-reflection-streak {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 35%, transparent 60%);
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease;
    opacity: 0.85;
}

.art-card:hover .glass-reflection-streak {
    opacity: 1;
}

/* Controlled & Vivid Color Glow Accent */
.art-card-glow {
    position: absolute;
    inset: -14px;
    border-radius: 26px;
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.4s ease, filter 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.art-card[data-accent="rose-crimson"] .art-card-glow,
.art-card[data-accent="crimson"] .art-card-glow,
.art-card[data-accent="deep-crimson"] .art-card-glow { background: radial-gradient(circle at center, rgba(230, 57, 70, 0.5), rgba(247, 168, 196, 0.25) 50%, transparent 75%); }

.art-card[data-accent="sapphire-violet"] .art-card-glow,
.art-card[data-accent="sapphire-teal"] .art-card-glow,
.art-card[data-accent="cyan-ice"] .art-card-glow,
.art-card[data-accent="teal-blue"] .art-card-glow,
.art-card[data-accent="violet-cyan"] .art-card-glow,
.art-card[data-accent="violet-pink"] .art-card-glow,
.art-card[data-accent="violet"] .art-card-glow { background: radial-gradient(circle at center, rgba(67, 97, 238, 0.5), rgba(0, 245, 212, 0.3) 50%, transparent 75%); }

.art-card[data-accent="emerald-teal"] .art-card-glow,
.art-card[data-accent="emerald"] .art-card-glow,
.art-card[data-accent="emerald-gold"] .art-card-glow { background: radial-gradient(circle at center, rgba(16, 185, 129, 0.5), rgba(0, 245, 212, 0.25) 50%, transparent 75%); }

.art-card[data-accent="amber"] .art-card-glow,
.art-card[data-accent="amber-warm"] .art-card-glow,
.art-card[data-accent="gold-amber"] .art-card-glow,
.art-card[data-accent="gold"] .art-card-glow,
.art-card[data-accent="warm-brown"] .art-card-glow,
.art-card[data-accent="warm-amber"] .art-card-glow,
.art-card[data-accent="fire-orange"] .art-card-glow,
.art-card[data-accent="coral"] .art-card-glow { background: radial-gradient(circle at center, rgba(251, 86, 7, 0.5), rgba(255, 209, 102, 0.3) 50%, transparent 75%); }

.art-card[data-accent="monochrome"] .art-card-glow,
.art-card[data-accent="monochrome-slate"] .art-card-glow,
.art-card[data-accent="silver-graphite"] .art-card-glow { background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), rgba(163, 158, 184, 0.2) 50%, transparent 75%); }

.art-card:hover .art-card-glow {
    opacity: 0.95;
    filter: blur(12px);
}

.art-card:hover .art-card-glow {
    opacity: 0.6;
}

/* Card Title Overlay */
.art-card-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 1rem 0.9rem;
    background: linear-gradient(to top, rgba(6, 5, 9, 0.95) 0%, rgba(6, 5, 9, 0.6) 75%, transparent 100%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s var(--ease-liquid), opacity 0.35s ease;
    z-index: 4;
}

.art-card:hover .art-card-overlay,
.art-card:focus-visible .art-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.art-card-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.art-expand-hint {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--art-blush);
    letter-spacing: 0.1em;
}

.art-card.is-hidden {
    display: none !important;
}

/* ==========================================================================
   FULLSCREEN ARTWORK LIGHTBOX MODAL
   ========================================================================== */

.art-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.art-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.art-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 3, 7, 0.88);
    backdrop-filter: blur(24px) brightness(0.4);
    -webkit-backdrop-filter: blur(24px) brightness(0.4);
}

.art-lightbox-panel {
    position: relative;
    z-index: 2;
    width: 92vw;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-liquid);
}

.art-lightbox.active .art-lightbox-panel {
    transform: scale(1);
}

.art-lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lightbox-index-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--art-gold);
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
}

.lightbox-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close-btn:hover {
    background: rgba(247, 168, 196, 0.3);
    border-color: rgba(247, 168, 196, 0.6);
    transform: scale(1.1) rotate(90deg);
}

.art-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
}

.lightbox-image-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#lightboxImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(247, 168, 196, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.lightbox-nav-btn:hover {
    background: rgba(155, 93, 229, 0.35);
    border-color: rgba(155, 93, 229, 0.6);
    transform: scale(1.1);
}

.art-lightbox-caption {
    text-align: center;
    padding-top: 0.5rem;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: Clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.08em;
}

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

.art-footer {
    border-top: 1px solid var(--art-border-glass);
    padding: 4rem 2rem 3rem;
    background: rgba(4, 3, 7, 0.95);
    position: relative;
    z-index: 2;
}

.art-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    text-align: center;
}

.art-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.art-footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.art-footer-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--art-blush);
}

.art-footer-back-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--art-blush);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.15), rgba(155, 93, 229, 0.15));
    border: 1px solid rgba(247, 168, 196, 0.4);
    border-radius: 9999px;
    transition: all 0.3s var(--ease-liquid);
    box-shadow: 0 4px 15px rgba(247, 168, 196, 0.2);
}

.art-footer-back-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(247, 168, 196, 0.35), rgba(155, 93, 229, 0.35));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 168, 196, 0.35);
}

.art-footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--art-text-muted);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .art-header-wrapper {
        padding: 0.75rem 1.2rem;
    }

    .art-nav {
        padding: 0.5rem 1.15rem;
    }

    .art-logo {
        gap: 0.55rem;
    }

    .art-logo-mark {
        font-size: 1.25rem;
    }

    .art-logo-name {
        font-size: 0.8rem;
    }

    .art-logo-sub {
        font-size: 0.55rem;
        letter-spacing: 0.2em;
    }

    .art-nav-actions {
        gap: 0.5rem;
    }

    .art-bubble-btn {
        width: 32px;
        height: 32px;
    }

    .bubble-svg-icon {
        width: 16px;
        height: 16px;
    }

    .art-nav-links { display: none; }
    .art-mobile-toggle { display: flex; }
    .art-featured-stage { grid-template-columns: repeat(2, 1fr); }
    .art-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .art-stats-bar { gap: 1rem; padding: 0.6rem 1.2rem; }
}

@media (max-width: 600px) {
    .art-header-wrapper {
        padding: 0.5rem 0.85rem;
    }

    .art-nav {
        padding: 0.45rem 0.95rem;
    }

    .art-featured-stage { grid-template-columns: 1fr; }
    .art-gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .art-stats-bar { flex-direction: column; gap: 0.5rem; border-radius: 16px; }
    .art-stat-divider { width: 40px; height: 1px; }
    .art-hero-section { padding-top: 6.8rem; }
    .lightbox-nav-btn { width: 40px; height: 40px; }
    .deck-preview-stack { width: 260px; height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .art-splash-overlay { display: none !important; }
    #paintAtmosphereCanvas { display: none !important; }
}
