/* === Mobile Gallery Styles === */
body { min-height: 100vh; overflow-y: auto; }

/* Header */
.mobile-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13,13,26,0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(201,169,110,0.15);
}
.mobile-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.mobile-nav-btn {
    background: none; border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    padding: 0.3rem;
    cursor: pointer;
}
.mobile-nav {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(13,13,26,0.97);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: 0.1em;
}
.mobile-nav-close {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: none;
    color: var(--text-muted); font-size: 2rem;
    cursor: pointer;
}

/* Hero */
.mobile-hero {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(201,169,110,0.06) 0%, transparent 100%);
}
.mobile-hero h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.mobile-hero p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}
.mobile-hero .cta-3d {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    background: rgba(201,169,110,0.15);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}
.mobile-hero .cta-3d:hover { background: rgba(201,169,110,0.25); }

/* Artwork Grid */
.mobile-gallery {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.mobile-gallery h2 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.artwork-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(201,169,110,0.08);
    cursor: pointer;
    transition: all 0.3s;
}
.artwork-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,169,110,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.artwork-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--primary-light);
}

.artwork-card-body {
    padding: 1rem 1.2rem;
}
.artwork-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.artwork-card-artist {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.artwork-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.artwork-card-price {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent-light);
}

/* Expanded artwork overlay */
.artwork-expanded {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(10,10,18,0.97);
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.artwork-expanded.open { transform: translateY(0); }

.expanded-close {
    position: sticky; top: 0; z-index: 1;
    display: flex; justify-content: flex-end;
    padding: 1rem 1.5rem;
    background: rgba(10,10,18,0.8);
    backdrop-filter: blur(8px);
}
.expanded-close button {
    background: none; border: none;
    color: var(--text-muted); font-size: 1.8rem;
    cursor: pointer; line-height: 1;
}

.expanded-image {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
    padding: 0 1rem;
}

.expanded-info {
    padding: 1.5rem 1.5rem 3rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
.expanded-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.expanded-artist {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}
.expanded-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.expanded-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.expanded-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    padding: 1rem;
    background: rgba(201,169,110,0.08);
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Swipe navigation */
.expanded-nav {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    margin-bottom: 2rem;
}
.expanded-nav button {
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.2);
    color: var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
}
.expanded-nav button:hover { background: rgba(201,169,110,0.2); }

/* Footer */
.mobile-footer {
    padding: 3rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(201,169,110,0.1);
    margin-top: 3rem;
}
.mobile-footer .footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.mobile-footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Loading */
.mobile-loading {
    display: flex; align-items: center; justify-content: center;
    padding: 4rem;
}
