/* ===== CSS Variables ===== */
:root {
    /* Light Mode */
    --bg: #faf8f5;
    --bg-alt: #f5f2ed;
    --surface: #ffffff;
    --surface-hover: #f9fafb;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --primary: #1e3a5f;
    --primary-light: #2d5688;
    --primary-dark: #142845;
    --accent: #c8a96a;
    --accent-light: #d4b87e;
    --accent-dark: #a88a4a;
    --border: #e5e7eb;
    --border-light: #f0f0f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5688 100%);
    --gradient-accent: linear-gradient(135deg, #c8a96a 0%, #d4b87e 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #142845 50%, #1a1a2e 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(30,58,95,0.4) 50%, rgba(20,40,69,0.8) 100%);
    --pattern-color: rgba(200, 169, 106, 0.05);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --max-width: 1200px;
    --nav-height: 72px;
    --font-heading: 'Noto Serif SC', 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans SC', 'Inter', sans-serif;
    --font-en: 'Cormorant Garamond', 'Noto Serif SC', serif;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-alt: #1a2332;
    --surface: #1e293b;
    --surface-hover: #2a3a4e;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #3b82f6;
    --accent: #fbbf24;
    --accent-light: #fcd34d;
    --accent-dark: #d97706;
    --border: #334155;
    --border-light: #2a3a4e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    --gradient-accent: linear-gradient(135deg, #c8a96a 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1a2332 50%, #0f172a 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(30,41,59,0.4) 50%, rgba(15,23,42,0.8) 100%);
    --pattern-color: rgba(251, 191, 36, 0.05);
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-book {
    width: 60px;
    height: 80px;
    position: relative;
    margin: 0 auto 20px;
    animation: preloaderBounce 1.2s ease-in-out infinite;
}

.preloader-book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px 0 0 2px;
}

.preloader-book-page {
    position: absolute;
    left: 8px;
    top: 0;
    width: 52px;
    height: 100%;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 0 2px 2px 0;
    transform-origin: left center;
    animation: preloaderPage 1.2s ease-in-out infinite;
}

@keyframes preloaderBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes preloaderPage {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-30deg); }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.1em;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.navbar.scrolled {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    height: 64px;
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    transition: transform var(--transition);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05) rotate(-3deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.navbar:not(.scrolled) .logo-text {
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition), background var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition), left var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
    left: 20%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle {
    border-color: var(--border);
    color: var(--text-muted);
}

.nav-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 169, 106, 0.08);
}

.lang-toggle {
    width: auto;
    padding: 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.theme-icon-moon {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: none;
}

[data-theme="dark"] .theme-icon-moon {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 169, 106, 0.08);
}

[data-theme="dark"] .btn-outline {
    color: var(--text);
    border-color: var(--border);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--pattern-color) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--pattern-color) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--pattern-color) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.floating-books {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-book {
    position: absolute;
    opacity: 0.6;
    animation: floatBook 8s ease-in-out infinite;
}

.book-1 { top: 15%; left: 10%; animation-delay: 0s; }
.book-2 { top: 25%; right: 12%; animation-delay: 2s; }
.book-3 { bottom: 20%; left: 15%; animation-delay: 4s; }
.book-4 { bottom: 25%; right: 10%; animation-delay: 6s; }

@keyframes floatBook {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(200, 169, 106, 0.15);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-title-zh {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--accent-light);
    letter-spacing: 0.3em;
    margin-top: 8px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    letter-spacing: 0.15em;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(200, 169, 106, 0.3);
}

.hero .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(200, 169, 106, 0.5);
}

.hero .btn-outline {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 169, 106, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    z-index: 1;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--surface);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even):not(.hero):not(.stats-bar) {
    background: var(--bg-alt);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 0 auto;
}

.section-subtitle {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-paragraph {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
    min-height: 400px;
}

.about-card-stack {
    position: relative;
    height: 400px;
}

.about-card {
    position: absolute;
    width: 260px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.about-card-1 {
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    color: #fff;
}

.about-card-2 {
    top: 80px;
    right: 0;
}

.about-card-3 {
    bottom: 0;
    left: 40px;
    border: 1px solid var(--border);
}

.about-card-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.about-card-1 .about-card-icon {
    color: var(--accent-light);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
}

.about-card-1 { animation: cardFloat1 6s ease-in-out infinite; }
.about-card-2 { animation: cardFloat2 6s ease-in-out infinite; animation-delay: 0.5s; }
.about-card-3 { animation: cardFloat3 6s ease-in-out infinite; animation-delay: 1s; }

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== Stores Section ===== */
.store-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.store-tab {
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.store-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.store-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.store-content {
    position: relative;
    min-height: 400px;
}

.store-detail {
    display: none;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.store-detail.active {
    display: grid;
    animation: storeFadeIn 0.5s ease;
}

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

.store-info {
    padding: 48px 40px;
}

.store-header {
    margin-bottom: 20px;
}

.store-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.store-badge-2 {
    background: var(--gradient-primary);
    color: #fff;
}

.store-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.store-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.8;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.store-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.store-detail-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.store-detail-text {
    display: flex;
    flex-direction: column;
}

.store-detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.store-detail-value {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
}

.store-detail-value a {
    color: var(--primary);
}

.store-detail-value a:hover {
    color: var(--accent);
}

.store-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Store Gallery ===== */
.store-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-alt);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.gallery-main:hover {
    box-shadow: var(--shadow-hover);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    background: var(--bg-alt);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.08);
}

.gallery-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(200, 169, 106, 0.3);
}

.thumb-tag {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    pointer-events: none;
}

[data-theme="dark"] .thumb-tag {
    color: #1a1a2e;
}

/* ===== Honors Photo Wall ===== */
.honors-photos {
    margin-top: 48px;
}

.honors-photos-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin-bottom: 24px;
}

.honors-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.honor-photo-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.honor-photo-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.honor-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.honor-photo-item:hover img {
    transform: scale(1.05);
}

.honor-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--transition);
}

.honor-photo-item:hover .honor-photo-overlay {
    opacity: 1;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.service-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-accent);
    opacity: 0;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover .service-card-bg {
    opacity: 0.05;
    transform: translate(30%, -30%) scale(1.5);
}

.service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.1);
    border-radius: var(--radius);
    color: var(--accent);
    margin-bottom: 24px;
    transition: transform var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
}

/* ===== Honors Timeline ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px 0;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding: 0 0 40px 40px;
}

.timeline-dot {
    position: absolute;
    top: 6px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--surface);
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
    transition: transform var(--transition);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(200, 169, 106, 0.1);
}

.timeline-content {
    background: var(--surface);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Community Section ===== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.community-card {
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.community-card:hover::before {
    transform: scaleX(1);
}

.community-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(200, 169, 106, 0.1);
    border-radius: 50%;
    color: var(--accent);
    transition: transform var(--transition);
}

.community-card:hover .community-card-icon {
    transform: scale(1.1);
    background: var(--gradient-accent);
    color: #fff;
}

.community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.community-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.contact-card h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.contact-card a {
    color: var(--primary);
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-form-wrap {
    display: none;
}

/* Store Highlight (Nap Space) */
.store-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.08), rgba(200, 169, 106, 0.03));
    border: 1px solid rgba(200, 169, 106, 0.25);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
    transition: all var(--transition);
}

.store-highlight:hover {
    box-shadow: 0 4px 20px rgba(200, 169, 106, 0.12);
    transform: translateX(2px);
}

.store-highlight-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

[data-theme="dark"] .store-highlight-icon {
    color: #1a1a2e;
}

.store-highlight-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.store-highlight-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Prompt */
.contact-prompt {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.contact-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-prompt-inner {
    max-width: 480px;
    margin: 0 auto;
}

.contact-prompt-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.06), rgba(200, 169, 106, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    transition: all var(--transition);
}

[data-theme="dark"] .contact-prompt-icon {
    background: linear-gradient(135deg, rgba(45, 86, 136, 0.15), rgba(200, 169, 106, 0.1));
    color: var(--accent-light);
}

.contact-prompt:hover .contact-prompt-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.1);
}

.contact-prompt h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.contact-prompt p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* ===== Footer ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-col li:not(a) {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.4);
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card-stack {
        height: 350px;
        max-width: 400px;
        margin: 0 auto;
    }

    .store-detail.active {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .honors-photos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: height var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        padding: 20px 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        color: var(--text);
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .stats-bar {
        padding: 32px 0;
    }

    .stat-item::after {
        display: none !important;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-card-stack {
        height: 300px;
    }

    .about-card {
        width: 220px;
        padding: 20px;
    }

    .store-info {
        padding: 32px 24px;
    }

    .store-tabs {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding: 0 0 30px 50px;
    }

    .timeline-item .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero-title-zh {
        font-size: 2.5rem;
    }

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

    .about-card-stack {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .store-tab {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .honors-photos-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Print ===== */
@media print {
    .navbar, .back-to-top, .hero-scroll, .floating-books, .preloader, .scroll-progress {
        display: none !important;
    }
}
