/* ============================================
   尚平君绘画作品展示网站
   Design: Immersive art gallery aesthetic
   Color: Ink black, rice paper white, earth tones
   ============================================ */

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

:root {
    --bg-primary: #f5f3f0;
    --bg-secondary: #ede9e3;
    --bg-dark: #1a1815;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #5c5751;
    --text-tertiary: #8b857d;
    --text-light: #b8b3ac;
    --accent: #8b7355;
    --accent-dark: #5c4a3a;
    --accent-light: #c4a67a;
    --border: #e0ddd8;
    --border-dark: #c8c4be;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    --sans: 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', sans-serif;
    --nav-h: 64px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(245, 243, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: border-color 0.3s var(--transition), background 0.3s var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
}

.nav-logo .logo-zh { display: inline; }
.nav-logo .logo-en { display: none; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.12em; line-height: 1; }

/* English mode: show only English logo */
body.lang-en .nav-logo .logo-zh { display: none; }
body.lang-en .nav-logo .logo-en { display: inline; font-size: 1rem; letter-spacing: 0.15em; color: var(--text-primary); }

/* English mode: hide redundant name-en label in About section */
body.lang-en .about-content .name-en { display: none; }

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

/* Language toggle */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: none;
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 4px 14px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-toggle-current {
    font-weight: 600;
    color: var(--text-primary);
}

.lang-toggle-sep {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

.lang-toggle-other {
    color: var(--text-tertiary);
    font-size: 0.72rem;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(196, 166, 122, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 115, 85, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
}

.hero-name {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 0.3em;
    margin-right: -0.2em;
    line-height: 1.25;
    padding: 0.15em 0;
    white-space: nowrap;
    animation: fadeInUp 1.2s var(--transition) both;
}

body.lang-en .hero-name {
    letter-spacing: 0.08em;
    margin-right: -0.08em;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.3;
}

.hero-subtitle {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--accent);
    letter-spacing: 0.5em;
    margin-bottom: 3rem;
    margin-right: -0.5em;
    animation: fadeInUp 1.2s var(--transition) 0.2s both;
}

.hero-philosophy {
    font-family: var(--serif);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 2.2;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s var(--transition) 0.4s both;
}

.hero-date {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    letter-spacing: 0.2em;
    animation: fadeInUp 1.2s var(--transition) 0.6s both;
}

.hero-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    margin: 3rem auto 0;
    animation: fadeIn 1.5s var(--transition) 0.8s both;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.3em;
    animation: fadeIn 1.5s var(--transition) 1s both, bounce 2s ease-in-out 2s infinite;
    z-index: 2;
}

/* ============================================
   Section Common
   ============================================ */
.section {
    padding: 100px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 1.5rem auto 0;
}

/* ============================================
   Gallery - Filters
   ============================================ */
.gallery {
    padding-top: 80px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.filter-group-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.15em;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 18px;
    font-size: 0.85rem;
    font-family: var(--sans);
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s var(--transition);
    letter-spacing: 0.05em;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

/* ============================================
   Gallery - Masonry Grid
   ============================================ */
.gallery-grid {
    column-count: 4;
    column-gap: 20px;
}

@media (max-width: 1200px) {
    .gallery-grid { column-count: 3; }
}
@media (max-width: 768px) {
    .gallery-grid { column-count: 2; column-gap: 12px; }
}
@media (max-width: 480px) {
    .gallery-grid { column-count: 1; }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--transition), transform 0.4s var(--transition);
    opacity: 0;
    animation: fadeIn 0.6s var(--transition) forwards;
}

@media (max-width: 768px) {
    .gallery-item { margin-bottom: 12px; }
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--transition), transform 0.4s var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.gallery-overlay-meta {
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.03em;
}

/* Chapter divider in gallery */
.chapter-divider {
    break-inside: avoid;
    margin: 40px 0;
    padding: 40px 30px;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    border-radius: 2px;
    column-span: all;
    position: relative;
}

.chapter-divider-number {
    font-family: var(--serif);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 8px;
}

.chapter-divider-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.chapter-divider-philosophy {
    font-family: var(--serif);
    font-size: 0.9rem;
    line-height: 2;
    color: var(--text-secondary);
    white-space: pre-line;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.page-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s var(--transition);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0 12px;
    letter-spacing: 0.05em;
}

/* ============================================
   Lightbox Modal
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 13, 10, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--transition);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.lightbox-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: opacity 0.3s var(--transition);
}
.lightbox-image.loading {
    opacity: 0;
}
.lightbox-image.error {
    opacity: 0.3;
}

.lightbox-info {
    width: 280px;
    flex-shrink: 0;
    color: #e8e3dc;
    padding: 20px 0;
}

.lightbox-info-label {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.lightbox-info-title {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.lightbox-info-row {
    margin-bottom: 16px;
}

.lightbox-info-row-label {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}

.lightbox-info-row-value {
    font-size: 0.95rem;
    color: #d8d3cc;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #e8e3dc;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: none;
    color: #e8e3dc;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.15);
}

.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

@media (max-width: 900px) {
    .lightbox-inner {
        flex-direction: column;
        gap: 16px;
    }
    .lightbox-info {
        width: 100%;
        max-width: 500px;
        text-align: center;
        padding: 0 20px 20px;
    }
    .lightbox-image {
        max-height: 60vh;
    }
    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-secondary);
    padding: 120px 32px;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.about-photo {
    width: 100%;
    border-radius: 2px;
    box-shadow: var(--shadow-md);
}

.about-photo-caption {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.1em;
}

.about-content h3 {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.about-content .name-en {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    display: block;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-section-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: 0.1em;
}

.exhibition-list {
    list-style: none;
}

.exhibition-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.exhibition-year {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    width: 60px;
}

.exhibition-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.exhibition-venue {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-photo {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
    background: var(--bg-dark);
    color: #e8e3dc;
    padding: 120px 32px;
}

.philosophy-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    color: #f5f3f0;
}

body.lang-en .philosophy-title {
    white-space: nowrap;
    letter-spacing: 0.12em;
}

.philosophy-subtitle {
    font-size: 0.8rem;
    color: var(--accent-light);
    letter-spacing: 0.4em;
    margin-bottom: 48px;
}

.philosophy-quotes {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.philosophy-quote {
    text-align: left;
    padding: 32px 40px;
    border: 1px solid rgba(196, 166, 122, 0.2);
    border-radius: 2px;
    position: relative;
    transition: border-color 0.4s var(--transition);
}

.philosophy-quote:hover {
    border-color: rgba(196, 166, 122, 0.4);
}

.philosophy-quote-number {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--bg-dark);
    padding: 0 12px;
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--accent-light);
    letter-spacing: 0.2em;
}

.philosophy-quote-text {
    font-family: var(--serif);
    font-size: 0.95rem;
    line-height: 2.2;
    color: #d8d3cc;
    white-space: pre-line;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 48px 32px 32px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: #e8e3dc;
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 20px auto;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* Stagger animation for gallery items */
.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }

/* ============================================
   Mobile Navigation
   ============================================ */
@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }
    .nav-inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(245, 243, 240, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s var(--transition), opacity 0.3s var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .lang-toggle {
        padding: 3px 10px;
        font-size: 0.72rem;
        height: 28px;
    }

    .section {
        padding: 60px 20px;
    }

    .gallery {
        padding-top: 60px;
    }

    .hero-name {
        letter-spacing: 0.2em;
    }

    .hero-subtitle {
        letter-spacing: 0.3em;
    }

    .filter-bar {
        gap: 4px;
    }

    .filter-btn {
        padding: 5px 14px;
        font-size: 0.8rem;
    }

    .filter-group-label {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}
