/* ========================================
   PPMA Website - Graphic Design System
   Rich Colors | Dramatic Gradients | Imagery-Focused
   ======================================== */

/* ========================================
   DESIGN TOKENS - The Visual Foundation
   ======================================== */

:root {
    /* === PRIMARY PALETTE === */
    /* Deep navy - the signature background, conveys elegance and cultural depth */
    --navy-dark: #01012f;
    --navy-medium: #0a0a4a;
    --navy-light: #151565;

    /* Warm cream/peach - creates inviting contrast, evokes stage lighting */
    --cream: #ffe2c7;
    --cream-light: #fff5eb;
    --cream-dark: #f5d4b3;
    --peach: #ffcba4;

    /* Teal accents - sophistication, ties to traditional Chinese aesthetics */
    --teal-dark: #1a4548;
    --teal: #2a6b70;
    --teal-light: #3a8b90;

    /* Gold accents - celebration, achievement, cultural significance */
    --gold: #d4a853;
    --gold-light: #e8c878;
    --gold-dark: #b8923e;

    /* === SEMANTIC COLORS === */
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.75);
    --text-on-dark-subtle: rgba(255, 255, 255, 0.5);
    --text-on-light: #1a1a2e;
    --text-on-light-muted: #4a4a5a;

    /* === GRADIENTS - The Visual Drama === */
    --gradient-hero: linear-gradient(135deg, #01012f 0%, #0a0a4a 50%, #1a4548 100%);
    --gradient-hero-overlay: linear-gradient(to bottom, rgba(1, 1, 47, 0.3) 0%, rgba(1, 1, 47, 0.7) 50%, rgba(1, 1, 47, 0.95) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 226, 199, 0.1) 0%, rgba(26, 69, 72, 0.1) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    --gradient-teal: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
    --gradient-warm: linear-gradient(135deg, var(--peach) 0%, var(--cream) 100%);
    --gradient-night: radial-gradient(ellipse at top, #151565 0%, #01012f 70%);

    /* === SHADOWS & GLOWS === */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.25);
    --shadow-dramatic: 0 20px 60px rgba(0, 0, 0, 0.4);
    --glow-gold: 0 0 30px rgba(212, 168, 83, 0.3);
    --glow-teal: 0 0 30px rgba(42, 107, 112, 0.3);
    --glow-cream: 0 0 40px rgba(255, 226, 199, 0.2);

    /* === TYPOGRAPHY === */
    --font-display: 'Instrument Serif', 'Source Serif Pro', 'Noto Serif SC', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-chinese: 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', serif;

    /* Font weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* === SPACING RHYTHM === */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* === LAYOUT === */
    --container-max: 1280px;
    --container-narrow: 800px;
    --nav-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* === TRANSITIONS === */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-in-out);
}

/* === THEME VARIABLES === */
[data-theme="light"] {
    --bg-page: #faf8f4;
    --bg-section: #ffffff;
    --bg-section-alt: #f5f2ed;
    --bg-card: #ffffff;
    --text-primary: var(--text-on-light);
    --text-secondary: var(--text-on-light-muted);
    --border-subtle: rgba(1, 1, 47, 0.08);
    --accent-primary: var(--teal);
    --accent-secondary: var(--gold);
    --gradient-section: linear-gradient(135deg, #faf8f4 0%, #f0ebe4 100%);
    --gradient-section-alt: linear-gradient(180deg, #f5f2ed 0%, #faf8f4 100%);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-page: var(--navy-dark);
    --bg-section: var(--navy-medium);
    --bg-section-alt: var(--navy-light);
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: var(--text-on-dark);
    --text-secondary: var(--text-on-dark-muted);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --accent-primary: var(--gold);
    --accent-secondary: var(--teal-light);
    --gradient-section: var(--gradient-night);
    --gradient-section-alt: var(--gradient-hero);
    --shadow-card: var(--shadow-medium);
    --shadow-card-hover: var(--shadow-dramatic);
}

/* ========================================
   BASE RESET & DEFAULTS
   ======================================== */

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-page, #faf8f4);
    color: var(--text-primary, var(--text-on-light));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Chinese typography */
[lang="zh"], .zh, .chinese {
    font-family: var(--font-chinese);
}

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

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

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-light);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Display - Hero titles */
.text-display {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--weight-light);
    line-height: 1.05;
}

/* Headline - Section titles */
.text-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--weight-light);
}

/* Title - Card/component titles */
.text-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: var(--weight-regular);
}

/* Subtitle */
.text-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: var(--weight-light);
    letter-spacing: 0.01em;
}

/* Body large */
.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Label - Tags, badges */
.text-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-5xl) 0;
}

.section--dark {
    background: var(--navy-dark);
    color: var(--text-on-dark);
}

.section--gradient {
    background: var(--gradient-night);
    color: var(--text-on-dark);
}

.section--cream {
    background: var(--cream-light);
    color: var(--text-on-light);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(1, 1, 47, 0.95), rgba(1, 1, 47, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav.scrolled::before {
    opacity: 1;
}

.nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
}

.nav__logo img {
    height: 50px;
    width: auto;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--weight-light);
    color: var(--cream);
    letter-spacing: 0.05em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-xl);
    background: rgba(1, 1, 47, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

/* Light theme nav menu pill */
[data-theme="light"] .nav__menu {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(1, 1, 47, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav__link {
    position: relative;
    font-size: 0.8125rem;
    font-weight: var(--weight-medium);
    color: var(--text-on-dark-muted);
    padding: var(--space-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--cream);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 10;
}

.nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-on-dark-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.nav__btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.nav__btn svg {
    width: 20px;
    height: 20px;
}

.nav__lang {
    width: auto;
    padding: 0 var(--space-md);
    font-size: 0.875rem;
    font-weight: var(--weight-medium);
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    z-index: 10;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all var(--transition-base);
}

@media (max-width: 968px) {
    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
        background: var(--navy-dark);
        border: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    [data-theme="light"] .nav__menu {
        background: var(--cream-light);
        box-shadow: none;
    }

    .nav__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1.25rem;
        letter-spacing: 0.1em;
    }

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

/* ========================================
   HERO SECTION - The Visual Impact
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-hero-overlay);
}

/* Decorative musical note patterns */
.hero__decor {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0.1;
    pointer-events: none;
}

.hero__decor::before,
.hero__decor::after {
    content: '♪ ♫ ♩ ♬';
    position: absolute;
    font-size: 4rem;
    color: var(--gold);
    animation: float 20s infinite ease-in-out;
}

.hero__decor::before {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.hero__decor::after {
    bottom: 30%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(30px, 10px) rotate(3deg); }
}

.hero__content {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-lg);
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: var(--weight-light);
    color: var(--text-on-dark);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__title span {
    display: block;
}

.hero__title .accent {
    color: var(--cream);
    font-style: italic;
}

/* Language subtitle swap - Chinese subtitle shown in English mode */
.hero__title .subtitle-zh {
    font-family: var(--font-chinese);
    font-size: 0.6em;
    color: var(--gold-light);
    margin-top: var(--space-sm);
}

/* Language subtitle swap - English subtitle shown in Chinese mode */
.hero__title .subtitle-en {
    font-family: var(--font-display);
    font-size: 0.5em;
    color: var(--gold-light);
    margin-top: var(--space-sm);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: var(--weight-light);
    color: var(--text-on-dark-muted);
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Featured news ticker in hero */
.hero__featured {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) 0;
    background: linear-gradient(to top, rgba(1, 1, 47, 0.95), transparent);
}

.hero__featured-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hero__featured-label {
    font-size: 0.6875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.hero__featured-title {
    font-size: 1rem;
    color: var(--cream);
}

.hero__featured-title a:hover {
    color: var(--gold-light);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-on-dark-subtle);
}

.hero__scroll-text {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: var(--weight-medium);
    letter-spacing: 0.03em;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.btn--primary {
    background: var(--gradient-gold);
    color: var(--navy-dark);
    box-shadow: var(--glow-gold);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(255, 226, 199, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 226, 199, 0.1);
    border-color: var(--cream);
}

.btn--teal {
    background: var(--gradient-teal);
    color: var(--text-on-dark);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header--center {
    text-align: center;
}

.section-header__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.section-header__label::before,
.section-header__label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-header--center .section-header__label::before,
.section-header--center .section-header__label::after {
    display: block;
}

.section-header__label::before { display: none; }
.section-header__label::after { display: none; }

.section-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--weight-light);
    margin-bottom: var(--space-xs);
}

.section-header__title-zh {
    font-family: var(--font-chinese);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--gold);
    font-weight: var(--weight-light);
    margin-bottom: var(--space-md);
}

.section-header__title-en {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--gold);
    font-weight: var(--weight-light);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.section-header__desc {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    max-width: 600px;
}

.section-header--center .section-header__desc {
    margin: 0 auto;
}

/* Light section headers */
.section--cream .section-header__label { color: var(--teal); }
.section--cream .section-header__label::before,
.section--cream .section-header__label::after { background: var(--teal); }
.section--cream .section-header__desc { color: var(--text-on-light-muted); }

/* ========================================
   CARDS - News, Events, Features
   ======================================== */

.card {
    position: relative;
    background: var(--bg-card, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(212, 168, 83, 0.3);
}

.card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 1, 47, 0.8) 0%, transparent 50%);
}

.card__date {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--navy-dark);
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.card__date-day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: var(--weight-light);
    color: var(--gold);
    line-height: 1;
}

.card__date-month {
    font-size: 0.6875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.card__content {
    padding: var(--space-lg);
}

.card__category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.card__title {
    font-size: 1.25rem;
    font-weight: var(--weight-regular);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.card__title a:hover {
    color: var(--gold-light);
}

.card__excerpt {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
}

.card__meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Featured card variant */
.card--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card--featured .card__image {
    aspect-ratio: auto;
    min-height: 300px;
}

@media (max-width: 768px) {
    .card--featured {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NEWS GRID
   ======================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.news-grid .card--featured {
    grid-column: 1 / -1;
}

/* News Compact - Square Thumbnails with Headlines */
.news-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.news-compact__item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.news-compact__item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.news-compact__thumb {
    aspect-ratio: 1;
    overflow: hidden;
}

.news-compact__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-compact__item:hover .news-compact__thumb img {
    transform: scale(1.05);
}

.news-compact__content {
    padding: var(--space-md);
}

.news-compact__date {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: var(--space-2xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-compact__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: var(--weight-regular);
    color: var(--text-on-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Light theme */
[data-theme="light"] .news-compact__item {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .news-compact__item:hover {
    background: white;
    border-color: var(--teal);
}

[data-theme="light"] .news-compact__date {
    color: var(--teal);
}

[data-theme="light"] .news-compact__title {
    color: var(--text-on-light);
}

/* Responsive */
@media (max-width: 900px) {
    .news-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .news-compact {
        grid-template-columns: 1fr;
    }

    .news-compact__item {
        flex-direction: row;
    }

    .news-compact__thumb {
        width: 100px;
        flex-shrink: 0;
        aspect-ratio: 1;
    }

    .news-compact__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ========================================
   POSTER GRID - Portrait Performance Posters
   ======================================== */

.poster-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.poster-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.poster-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 83, 0.4);
    box-shadow: var(--shadow-medium), var(--glow-gold);
}

.poster-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.poster-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.poster-card__content {
    padding: var(--space-md);
    text-align: center;
}

.poster-card__category {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.poster-card__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: var(--weight-regular);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.poster-card__meta {
    font-size: 0.75rem;
    color: var(--text-on-dark-subtle);
}

/* Responsive poster grid */
@media (max-width: 1200px) {
    .poster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .poster-card__title {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .poster-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .poster-card__content {
        padding: var(--space-sm);
    }

    .poster-card__title {
        font-size: 0.8125rem;
    }
}

/* Light theme poster cards */
[data-theme="light"] .poster-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .poster-card:hover {
    border-color: var(--teal);
}

[data-theme="light"] .poster-card__category {
    color: var(--teal);
}

[data-theme="light"] .poster-card__meta {
    color: var(--text-on-light-muted);
}

/* ========================================
   ENSEMBLE SHOWCASE - Cinematic Layout
   ======================================== */

.ensemble-showcase {
    position: relative;
}

.ensemble-showcase__hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.ensemble-showcase__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ensemble-showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(1, 1, 47, 0.3) 0%,
        rgba(1, 1, 47, 0.5) 50%,
        rgba(1, 1, 47, 0.95) 100%
    );
}

.ensemble-showcase__header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3xl);
    text-align: center;
}

.ensemble-showcase__number {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: var(--weight-light);
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.ensemble-showcase__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.2);
    padding: var(--space-xs) var(--space-lg);
    border-radius: 50px;
    margin-bottom: var(--space-md);
}

.ensemble-showcase__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--weight-light);
    color: var(--text-on-dark);
    margin-bottom: var(--space-xs);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.ensemble-showcase__title-zh {
    font-family: var(--font-chinese);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--gold-light);
    font-weight: var(--weight-light);
}

.ensemble-showcase__content {
    background: var(--gradient-night);
    padding: var(--space-4xl) 0;
}

.ensemble-showcase--alt .ensemble-showcase__content {
    background: var(--navy-dark);
}

.ensemble-showcase__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
    align-items: start;
}

.ensemble-showcase__main {
    max-width: 800px;
}

.ensemble-showcase__desc {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.ensemble-showcase__subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.ensemble-showcase__list {
    margin-bottom: var(--space-xl);
}

.ensemble-showcase__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--text-on-dark-muted);
    padding: var(--space-xs) 0;
}

.ensemble-showcase__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.ensemble-showcase__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

/* Sidebar info card */
.ensemble-showcase__sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-xl));
}

.ensemble-showcase__info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
}

.ensemble-showcase__info-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--cream);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ensemble-showcase__info-item {
    margin-bottom: var(--space-md);
}

.ensemble-showcase__info-item:last-child {
    margin-bottom: 0;
}

.ensemble-showcase__info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-2xs);
}

.ensemble-showcase__info-value {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .ensemble-showcase__grid {
        grid-template-columns: 1fr;
    }

    .ensemble-showcase__sidebar {
        position: static;
    }

    .ensemble-showcase__info-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .ensemble-showcase__info-card h4 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .ensemble-showcase__hero {
        height: 50vh;
        min-height: 400px;
    }

    .ensemble-showcase__header {
        padding: var(--space-xl);
    }

    .ensemble-showcase__number {
        font-size: 4rem;
    }

    .ensemble-showcase__columns {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .ensemble-showcase__info-card {
        grid-template-columns: 1fr;
    }
}

/* Legacy ensemble-card styles kept for index page */
.ensemble-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    margin-bottom: var(--space-2xl);
}

.ensemble-card:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.ensemble-card:nth-child(even) .ensemble-card__visual {
    order: 2;
}

.ensemble-card__visual {
    position: relative;
}

.ensemble-card__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
}

.ensemble-card__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.ensemble-card__number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: var(--weight-light);
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.ensemble-card__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-light);
    background: rgba(42, 107, 112, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-md);
}

.ensemble-card__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--weight-light);
    margin-bottom: var(--space-xs);
}

.ensemble-card__title-zh {
    font-family: var(--font-chinese);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

/* English subtitle shown when in Chinese mode */
.ensemble-card__title-en {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.ensemble-card__desc {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.ensemble-card__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.ensemble-card__highlights li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
}

.ensemble-card__highlights li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.ensemble-card__leader {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9375rem;
}

.ensemble-card__leader-label {
    color: var(--text-on-dark-subtle);
}

.ensemble-card__link {
    display: inline-block;
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.ensemble-card__link:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

[data-theme="light"] .ensemble-card__link {
    border-color: var(--teal);
    color: var(--teal);
}

[data-theme="light"] .ensemble-card__link:hover {
    background: var(--teal);
    color: white;
}

@media (max-width: 900px) {
    .ensemble-card,
    .ensemble-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .ensemble-card:nth-child(even) .ensemble-card__visual {
        order: 0;
    }

    .ensemble-card__highlights {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LEADERSHIP GRID
   ======================================== */

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.leader-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.leader-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.leader-card__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: var(--glow-gold);
}

.leader-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-teal);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--weight-light);
    color: var(--cream);
}

.leader-card__name {
    font-size: 1.125rem;
    font-weight: var(--weight-regular);
    margin-bottom: var(--space-2xs);
}

.leader-card__name-zh {
    font-family: var(--font-chinese);
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-sm);
}

.leader-card__name-en {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-sm);
}

.leader-card__role {
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.leader-card__term {
    font-size: 0.75rem;
    color: var(--text-on-dark-subtle);
}

/* Artistic director cards - larger with bio */
.artistic-card {
    padding: var(--space-2xl);
}

.artistic-card__photo {
    width: 160px;
    height: 160px;
}

.artistic-card__bio {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    margin-top: var(--space-md);
    text-align: left;
}

/* Light theme artistic cards */
[data-theme="light"] .artistic-card__bio {
    color: var(--text-on-light-muted);
}

/* ========================================
   MEDIA GALLERY (Videos/Audios)
   ======================================== */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.media-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.media-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.media-card__thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--navy-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-card__play {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: var(--navy-dark);
    transition: all var(--transition-base);
}

.media-card:hover .media-card__play {
    transform: scale(1.1);
    box-shadow: var(--glow-gold);
}

.media-card__play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.media-card__info {
    padding: var(--space-lg);
}

.media-card__title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.media-card__meta {
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
}

/* ========================================
   AUDIO SLIDER - Vinyl Disc Gallery
   ======================================== */

.audio-slider {
    position: relative;
    margin: 0 calc(-1 * var(--space-xl));
    padding: 0 var(--space-xl);
}

.audio-slider__track {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) var(--space-xs);
}

.audio-slider__track::-webkit-scrollbar {
    display: none;
}

/* Audio slider navigation - same style as video slider */
.audio-slider__nav {
    position: absolute;
    top: 0;
    bottom: 60px; /* Account for title below disc */
    z-index: 10;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(1, 1, 47, 0.95), rgba(1, 1, 47, 0.6), transparent);
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base), width var(--transition-base);
}

.audio-slider__nav--left {
    left: 0;
    border-radius: 0;
}

.audio-slider__nav--right {
    right: 0;
    background: linear-gradient(to left, rgba(1, 1, 47, 0.95), rgba(1, 1, 47, 0.6), transparent);
}

.audio-slider:hover .audio-slider__nav {
    opacity: 1;
}

.audio-slider__nav:hover {
    width: 70px;
}

.audio-slider__nav-icon {
    font-size: 2.5rem;
    color: var(--cream);
    opacity: 0.8;
    transition: opacity var(--transition-base);
    font-weight: 300;
}

.audio-slider__nav:hover .audio-slider__nav-icon {
    opacity: 1;
}

/* Light theme audio nav */
[data-theme="light"] .audio-slider__nav--left {
    background: linear-gradient(to right, rgba(250, 248, 244, 0.98), rgba(250, 248, 244, 0.7), transparent);
}

[data-theme="light"] .audio-slider__nav--right {
    background: linear-gradient(to left, rgba(250, 248, 244, 0.98), rgba(250, 248, 244, 0.7), transparent);
}

[data-theme="light"] .audio-slider__nav-icon {
    color: var(--navy);
}

/* Audio disc card */
.audio-disc-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    text-align: center;
}

.audio-disc {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: var(--space-sm);
    cursor: pointer;
}

.audio-disc__svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Spinning animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.audio-disc-card.playing .audio-disc__svg {
    animation: spin 4s linear infinite;
}

/* Hover lift effect when not playing */
.audio-disc-card:not(.playing) .audio-disc:hover .audio-disc__svg {
    transform: scale(1.05);
}

/* Play/Pause buttons */
.audio-disc__play,
.audio-disc__pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: var(--cream);
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base), background-color var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-disc__play svg,
.audio-disc__pause svg {
    width: 24px;
    height: 24px;
}

.audio-disc:hover .audio-disc__play,
.audio-disc-card.playing .audio-disc__pause {
    opacity: 1;
}

.audio-disc-card.playing .audio-disc__play {
    display: none;
}

.audio-disc-card.playing .audio-disc__pause {
    display: flex;
}

.audio-disc__play:hover,
.audio-disc__pause:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Card title and year */
.audio-disc-card__title {
    font-family: var(--font-zh);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-on-dark);
    margin-bottom: var(--space-3xs);
    transition: color var(--transition-base);
}

.audio-disc-card.playing .audio-disc-card__title {
    color: var(--gold);
}

.audio-disc-card__year {
    font-size: 0.75rem;
    color: var(--text-on-dark-subtle);
}

/* Hidden audio element */
.audio-disc-card__audio {
    display: none;
}

/* Light theme */
[data-theme="light"] .audio-disc-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .audio-disc-card.playing .audio-disc-card__title {
    color: var(--teal);
}

[data-theme="light"] .audio-disc-card__year {
    color: var(--text-on-light-subtle);
}

/* Responsive */
@media (max-width: 768px) {
    .audio-disc-card {
        flex: 0 0 150px;
    }

    .audio-disc {
        width: 150px;
        height: 150px;
    }

    .audio-slider__nav {
        width: 40px;
    }

    .audio-slider__nav:hover {
        width: 50px;
    }
}

/* ========================================
   VIDEO SLIDER - Netflix Style
   ======================================== */

.video-slider {
    position: relative;
    margin: 0 calc(-1 * var(--space-xl));
    padding: 0 var(--space-xl);
}

.video-slider__track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md) 0;
}

.video-slider__track::-webkit-scrollbar {
    display: none;
}

.video-slider__nav {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(1, 1, 47, 0.95), rgba(1, 1, 47, 0.6), transparent);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0;
}

.video-slider:hover .video-slider__nav {
    opacity: 1;
}

.video-slider__nav:hover {
    width: 70px;
    color: var(--gold);
    background: linear-gradient(to right, rgba(1, 1, 47, 0.98), rgba(1, 1, 47, 0.7), transparent);
}

.video-slider__nav--left {
    left: 0;
}

.video-slider__nav--right {
    right: 0;
    background: linear-gradient(to left, rgba(1, 1, 47, 0.95), rgba(1, 1, 47, 0.6), transparent);
}

.video-slider__nav--right:hover {
    background: linear-gradient(to left, rgba(1, 1, 47, 0.98), rgba(1, 1, 47, 0.7), transparent);
}

.video-slider__nav-icon {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    transition: all var(--transition-fast);
}

.video-slider__nav:hover .video-slider__nav-icon {
    transform: scale(1.3);
}

/* Video Card */
.video-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.video-card:hover {
    transform: scale(1.05);
    z-index: 5;
}

.video-card__thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--navy-medium);
}

.video-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-card__thumbnail img {
    transform: scale(1.1);
}

.video-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 1, 47, 0.4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.video-card:hover .video-card__overlay {
    opacity: 1;
}

.video-card__play {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: var(--navy-dark);
    box-shadow: var(--glow-gold);
    transform: scale(0.8);
    transition: transform var(--transition-base);
}

.video-card:hover .video-card__play {
    transform: scale(1);
}

.video-card__play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.video-card__info {
    padding: var(--space-md) var(--space-xs);
}

.video-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: var(--weight-regular);
    color: var(--text-on-dark);
    margin-bottom: var(--space-2xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card__meta {
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
}

/* YouTube badge for external videos */
.video-card[data-youtube]::after {
    content: '';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 32px;
    height: 22px;
    background: #ff0000;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z'/%3E%3C/svg%3E");
    background-size: 20px 14px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    opacity: 0.9;
}

.video-card[data-youtube]:hover::after {
    opacity: 1;
}

/* Responsive video cards */
@media (max-width: 768px) {
    .video-card {
        flex: 0 0 260px;
    }

    .video-slider__nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .video-card {
        flex: 0 0 220px;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.video-modal.active .video-modal__content {
    transform: scale(1);
}

.video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-modal__close:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.video-modal__close svg {
    width: 24px;
    height: 24px;
}

.video-modal__player,
.video-modal__iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    background: black;
}

.video-modal__iframe {
    border: none;
}

/* Light theme adjustments */
[data-theme="light"] .video-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .video-card__meta {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .video-slider__nav {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6), transparent);
    color: rgba(1, 1, 47, 0.5);
}

[data-theme="light"] .video-slider__nav--right {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6), transparent);
}

[data-theme="light"] .video-slider__nav:hover {
    color: var(--teal);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.7), transparent);
}

[data-theme="light"] .video-slider__nav--right:hover {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.7), transparent);
}

/* ========================================
   FILES GRID
   ======================================== */

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.file-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
}

.file-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-3px);
}

.file-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
}

.file-card__icon svg {
    width: 28px;
    height: 28px;
}

.file-card__icon--pdf {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.file-card__icon--doc {
    background: rgba(42, 107, 112, 0.15);
    color: var(--teal-light);
}

.file-card__info {
    flex: 1;
    min-width: 0;
}

.file-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: var(--weight-regular);
    color: var(--text-on-dark);
    margin-bottom: var(--space-2xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-card__meta {
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
}

.file-card__download {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 50%;
    color: var(--gold);
    transition: all var(--transition-fast);
}

.file-card__download svg {
    width: 18px;
    height: 18px;
}

.file-card:hover .file-card__download {
    background: var(--gold);
    color: var(--navy-dark);
}

/* Light theme */
[data-theme="light"] .file-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .file-card:hover {
    background: white;
    border-color: var(--teal);
}

[data-theme="light"] .file-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .file-card__meta {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .file-card__download {
    background: rgba(42, 107, 112, 0.1);
    color: var(--teal);
}

[data-theme="light"] .file-card:hover .file-card__download {
    background: var(--teal);
    color: white;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact__info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.contact__intro {
    margin-bottom: var(--space-2xl);
    color: var(--text-on-dark-muted);
}

[data-theme="light"] .contact__intro {
    color: var(--text-on-light-muted);
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--gold);
}

.contact__icon svg {
    width: 24px;
    height: 24px;
}

.contact__label {
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-subtle);
    margin-bottom: var(--space-2xs);
}

.contact__value {
    font-size: 1.0625rem;
}

.contact__value a:hover {
    color: var(--gold);
}

/* Donation box */
.donate-box {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(42, 107, 112, 0.1));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--border-radius-lg);
}

.donate-box__title {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.donate-box__text {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

/* Contact form */
.contact-form {
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
}

.contact-form__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--weight-medium);
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand img {
    height: 60px;
    margin-bottom: var(--space-lg);
}

.footer__tagline {
    font-size: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer__col h4 {
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__col a {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    transition: color var(--transition-fast);
}

.footer__col a:hover {
    color: var(--cream);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copy {
    font-size: 0.875rem;
    color: var(--text-on-dark-subtle);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-on-dark-muted);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer__tagline {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }
}

/* ========================================
   PAGE HEADERS (for inner pages)
   ======================================== */

.page-header {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(45, 55, 72, 0.85), rgba(45, 55, 72, 0.95));
}

/* Dancing figure decorative background */
.page-header__overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3C!-- Head --%3E%3Ccircle cx='50' cy='18' r='8' fill='none' stroke='%23d4a853' stroke-width='1.5'/%3E%3C!-- Body --%3E%3Cpath d='M50 26 Q50 35 48 45' fill='none' stroke='%23d4a853' stroke-width='1.5'/%3E%3C!-- Arms flowing upward --%3E%3Cpath d='M48 32 Q35 25 25 15' fill='none' stroke='%23d4a853' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 32 Q60 20 72 12' fill='none' stroke='%23d4a853' stroke-width='1.5' stroke-linecap='round'/%3E%3C!-- Flowing sleeves/ribbons --%3E%3Cpath d='M25 15 Q20 12 15 15 Q12 20 18 22' fill='none' stroke='%23d4a853' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M72 12 Q78 8 82 12 Q85 18 80 20' fill='none' stroke='%23d4a853' stroke-width='1' stroke-linecap='round'/%3E%3C!-- Skirt/dress flowing --%3E%3Cpath d='M48 45 Q30 55 20 75 Q18 82 25 85' fill='none' stroke='%23d4a853' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 45 Q55 60 50 80 Q48 88 52 90' fill='none' stroke='%23d4a853' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 45 Q65 55 75 72 Q80 80 75 85' fill='none' stroke='%23d4a853' stroke-width='1.5' stroke-linecap='round'/%3E%3C!-- Legs hint --%3E%3Cpath d='M42 70 Q38 80 35 90' fill='none' stroke='%23d4a853' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M55 72 Q60 82 62 90' fill='none' stroke='%23d4a853' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
}

/* Light theme */
[data-theme="light"] .page-header__overlay {
    background: linear-gradient(to bottom, rgba(250, 248, 244, 0.9), rgba(250, 248, 244, 0.95));
}

[data-theme="light"] .page-header__overlay::after {
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3C!-- Head --%3E%3Ccircle cx='50' cy='18' r='8' fill='none' stroke='%23008080' stroke-width='1.5'/%3E%3C!-- Body --%3E%3Cpath d='M50 26 Q50 35 48 45' fill='none' stroke='%23008080' stroke-width='1.5'/%3E%3C!-- Arms flowing upward --%3E%3Cpath d='M48 32 Q35 25 25 15' fill='none' stroke='%23008080' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 32 Q60 20 72 12' fill='none' stroke='%23008080' stroke-width='1.5' stroke-linecap='round'/%3E%3C!-- Flowing sleeves/ribbons --%3E%3Cpath d='M25 15 Q20 12 15 15 Q12 20 18 22' fill='none' stroke='%23008080' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M72 12 Q78 8 82 12 Q85 18 80 20' fill='none' stroke='%23008080' stroke-width='1' stroke-linecap='round'/%3E%3C!-- Skirt/dress flowing --%3E%3Cpath d='M48 45 Q30 55 20 75 Q18 82 25 85' fill='none' stroke='%23008080' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 45 Q55 60 50 80 Q48 88 52 90' fill='none' stroke='%23008080' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M48 45 Q65 55 75 72 Q80 80 75 85' fill='none' stroke='%23008080' stroke-width='1.5' stroke-linecap='round'/%3E%3C!-- Legs hint --%3E%3Cpath d='M42 70 Q38 80 35 90' fill='none' stroke='%23008080' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M55 72 Q60 82 62 90' fill='none' stroke='%23008080' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
}

.page-header__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--weight-light);
    margin-bottom: var(--space-sm);
    color: var(--cream);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header__title-zh {
    font-family: var(--font-chinese);
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--gold);
    font-weight: var(--weight-light);
}

.page-header__title-en {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--gold);
    font-weight: var(--weight-light);
    font-style: italic;
}

.page-header__breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-lg);
}

.page-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header__breadcrumb a:hover {
    color: var(--gold);
}

.page-header__breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Light theme page header text */
[data-theme="light"] .page-header__title {
    color: var(--navy-dark);
    text-shadow: none;
}

[data-theme="light"] .page-header__title-zh,
[data-theme="light"] .page-header__title-en {
    color: var(--teal);
}

[data-theme="light"] .page-header__breadcrumb,
[data-theme="light"] .page-header__breadcrumb a {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .page-header__breadcrumb a:hover {
    color: var(--teal);
}

[data-theme="light"] .page-header__breadcrumb span {
    color: var(--text-on-light-subtle);
}

/* ========================================
   UTILITIES
   ======================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-teal { color: var(--teal-light); }

.bg-gradient { background: var(--gradient-hero); }

/* ========================================
   ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ABOUT INTRO SECTION
   ======================================== */

.about-intro {
    text-align: center;
}

.about-intro__lead {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: var(--weight-light);
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: var(--space-2xl);
}

.about-intro__groups {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.about-intro__groups > p {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-md);
}

.about-intro__groups ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.about-intro__groups li {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--text-on-dark);
}

.about-intro__groups li strong {
    font-weight: var(--weight-regular);
}

.about-intro > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-lg);
}

.about-intro > p:last-child {
    margin-bottom: 0;
}

/* Light theme */
[data-theme="light"] .about-intro__lead {
    color: var(--navy-dark);
}

[data-theme="light"] .about-intro__groups {
    background: rgba(1, 1, 47, 0.03);
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .about-intro__groups > p {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .about-intro__groups li {
    color: var(--text-on-light);
}

[data-theme="light"] .about-intro > p {
    color: var(--text-on-light-muted);
}

/* Mission section in About page */
.mission-quote {
    color: var(--text-on-dark);
}

.mission-text {
    color: var(--text-on-dark-muted);
}

[data-theme="light"] .mission-quote {
    color: var(--text-on-light);
}

[data-theme="light"] .mission-text {
    color: var(--text-on-light-muted);
}

/* ========================================
   ABOUT PREVIEW CARDS
   ======================================== */

.about-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.about-preview__card {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.about-preview__card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.about-preview__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--gold);
}

.about-preview__icon svg {
    width: 100%;
    height: 100%;
}

.about-preview__card h3 {
    font-size: 1.25rem;
    font-weight: var(--weight-regular);
    margin-bottom: var(--space-sm);
}

.about-preview__card p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-preview__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ENSEMBLE DETAIL PAGES
   ======================================== */

.ensemble-detail__intro {
    max-width: 800px;
    margin: 0 auto;
}

.ensemble-detail__lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    color: var(--text-on-dark);
}

.ensemble-detail__intro p {
    line-height: 1.8;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-md);
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.achievement-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.achievement-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--gold);
}

.achievement-card__icon svg {
    width: 100%;
    height: 100%;
}

.achievement-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--text-on-dark);
}

.achievement-card p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

/* Instruments Grid */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.instrument-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.instrument-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
}

.instrument-card__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
    color: var(--gold);
}

.instrument-card__icon svg {
    width: 100%;
    height: 100%;
}

.instrument-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-2xs);
    color: var(--text-on-dark);
}

.instrument-card p {
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
}

/* Dance Styles Grid */
.dance-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.dance-style-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.dance-style-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.dance-style-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--gold);
}

.dance-style-card__icon svg {
    width: 100%;
    height: 100%;
}

.dance-style-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--text-on-dark);
}

.dance-style-card p {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    line-height: 1.5;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    text-align: center;
}

.event-card__season {
    display: inline-block;
    padding: var(--space-2xs) var(--space-sm);
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    color: var(--navy-dark);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.event-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-on-dark);
}

.event-card p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
}

/* Leadership Grid Compact */
.leadership-grid--compact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.leadership-grid--compact .leader-card {
    flex: 0 1 280px;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.history-item__years {
    flex-shrink: 0;
    padding: var(--space-2xs) var(--space-sm);
    background: rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 500;
}

.history-item__names {
    flex: 1;
    color: var(--text-on-dark);
}

.history-item__role {
    color: var(--text-on-dark-subtle);
    font-size: 0.875rem;
}

/* Mentor Badge */
.mentor-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-on-dark);
    font-size: 0.9375rem;
}

/* Light theme overrides for ensemble detail pages */
/* Note: This section keeps dark background in light mode, so text stays light */
[data-theme="light"] .ensemble-detail__lead {
    color: var(--cream);
}

[data-theme="light"] .ensemble-detail__intro p {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .ensemble-detail__intro {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .achievement-card,
[data-theme="light"] .instrument-card,
[data-theme="light"] .dance-style-card,
[data-theme="light"] .event-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .achievement-card:hover,
[data-theme="light"] .instrument-card:hover,
[data-theme="light"] .dance-style-card:hover {
    background: white;
    border-color: var(--teal);
}

[data-theme="light"] .achievement-card__icon,
[data-theme="light"] .instrument-card__icon,
[data-theme="light"] .dance-style-card__icon {
    color: var(--teal);
}

[data-theme="light"] .achievement-card h3,
[data-theme="light"] .instrument-card h3,
[data-theme="light"] .dance-style-card h3,
[data-theme="light"] .event-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .achievement-card p,
[data-theme="light"] .instrument-card p,
[data-theme="light"] .dance-style-card p,
[data-theme="light"] .event-card p {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .history-item {
    background: rgba(1, 1, 47, 0.03);
}

[data-theme="light"] .history-item__years {
    background: rgba(0, 128, 128, 0.15);
    color: var(--teal);
}

[data-theme="light"] .history-item__names {
    color: var(--text-on-light);
}

[data-theme="light"] .history-item__role {
    color: var(--text-on-light-subtle);
}

[data-theme="light"] .mentor-badge {
    background: rgba(1, 1, 47, 0.03);
    border-color: rgba(1, 1, 47, 0.1);
    color: var(--text-on-light);
}

/* ========================================
   DONATION SECTION
   ======================================== */

.donation-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.donation-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    max-width: 280px;
}

.donation-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.donation-card__qr {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    background: white;
    padding: var(--space-sm);
}

.donation-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: var(--weight-regular);
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.donation-card__desc {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}

/* Light theme donation */
[data-theme="light"] .donation-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .donation-card:hover {
    background: white;
    border-color: var(--teal);
}

[data-theme="light"] .donation-card__title {
    color: var(--teal);
}

[data-theme="light"] .donation-card__desc {
    color: var(--text-on-light-muted);
}

@media (max-width: 600px) {
    .donation-grid {
        gap: var(--space-xl);
    }

    .donation-card__qr {
        width: 160px;
        height: 160px;
    }
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */

[data-theme="light"] body {
    background: var(--cream-light);
    color: var(--text-on-light);
}

[data-theme="light"] .nav::before {
    background: linear-gradient(to bottom, rgba(255, 245, 235, 0.95), rgba(255, 245, 235, 0.8));
}

[data-theme="light"] .nav__link {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link.active {
    color: var(--navy-dark);
}

[data-theme="light"] .nav__logo-text {
    color: var(--navy-dark);
}

[data-theme="light"] .nav__btn {
    color: var(--text-on-light-muted);
    background: rgba(1, 1, 47, 0.05);
    border-color: rgba(1, 1, 47, 0.1);
}

[data-theme="light"] .nav__toggle span {
    background: var(--navy-dark);
}

[data-theme="light"] .nav__menu {
    background: var(--cream-light);
}

[data-theme="light"] .section--gradient {
    background: linear-gradient(135deg, #f5f0eb 0%, #ede5dc 100%);
    color: var(--text-on-light);
}

[data-theme="light"] .section--dark {
    background: var(--navy-dark);
    color: var(--text-on-dark);
}

[data-theme="light"] .section-header__desc {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .section--gradient .section-header__label {
    color: var(--teal);
}

[data-theme="light"] .about-preview__card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .about-preview__card:hover {
    background: white;
    border-color: var(--teal);
}

[data-theme="light"] .about-preview__icon {
    color: var(--teal);
}

[data-theme="light"] .about-preview__card p {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .card:hover {
    border-color: var(--teal);
}

[data-theme="light"] .card__category {
    color: var(--teal);
}

[data-theme="light"] .card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .card__excerpt {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .card__meta {
    color: var(--text-on-light-muted);
}

/* Card highlights (news page) */
.card__highlights {
    color: var(--text-on-dark-muted);
}

[data-theme="light"] .card__highlights {
    color: var(--text-on-light-muted);
}

/* Card posted date */
.card__posted {
    color: var(--text-on-dark-subtle);
}

[data-theme="light"] .card__posted {
    color: var(--text-on-light-subtle);
}

[data-theme="light"] .footer {
    background: var(--navy-dark);
    color: var(--text-on-dark);
}

/* Contact page light mode */
[data-theme="light"] .contact-grid {
    color: var(--text-on-light);
}

[data-theme="light"] .contact__info p {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .contact__icon {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
}

[data-theme="light"] .contact__label {
    color: var(--text-on-light-subtle);
}

[data-theme="light"] .contact__value {
    color: var(--text-on-light);
}

[data-theme="light"] .contact__value a:hover {
    color: var(--teal);
}

[data-theme="light"] .donate-box {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.08), rgba(212, 168, 83, 0.08));
    border-color: rgba(0, 128, 128, 0.2);
}

[data-theme="light"] .donate-box__title {
    color: var(--teal);
}

[data-theme="light"] .donate-box__text {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .contact-form {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .contact-form__title {
    color: var(--text-on-light);
}

[data-theme="light"] .form-group label {
    color: var(--text-on-light);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(1, 1, 47, 0.03);
    border-color: rgba(1, 1, 47, 0.15);
    color: var(--text-on-light);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--teal);
}

/* Ensemble showcase light mode */
[data-theme="light"] .ensemble-showcase__overlay {
    background: linear-gradient(
        to bottom,
        rgba(250, 248, 244, 0.3) 0%,
        rgba(250, 248, 244, 0.5) 50%,
        rgba(250, 248, 244, 0.95) 100%
    );
}

[data-theme="light"] .ensemble-showcase__title {
    color: var(--text-on-light);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .ensemble-showcase__title-zh {
    color: var(--teal);
}

[data-theme="light"] .ensemble-showcase__content {
    background: linear-gradient(135deg, #f5f0eb 0%, #ede5dc 100%);
}

[data-theme="light"] .ensemble-showcase--alt .ensemble-showcase__content {
    background: var(--navy-dark);
}

[data-theme="light"] .ensemble-showcase__desc {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .ensemble-showcase__subtitle {
    color: var(--teal);
}

[data-theme="light"] .ensemble-showcase__list li {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .ensemble-showcase__list li::before {
    background: var(--teal);
}

[data-theme="light"] .ensemble-showcase__info-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.1);
}

[data-theme="light"] .ensemble-showcase__info-card h4 {
    color: var(--navy-dark);
    border-bottom-color: rgba(1, 1, 47, 0.1);
}

[data-theme="light"] .ensemble-showcase__info-label {
    color: var(--teal);
}

[data-theme="light"] .ensemble-showcase__info-value {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .ensemble-showcase__badge {
    color: var(--teal);
    background: rgba(0, 128, 128, 0.15);
}

/* Ensemble card (index page) light mode */
[data-theme="light"] .ensemble-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .ensemble-card__badge {
    color: var(--teal);
}

[data-theme="light"] .ensemble-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .ensemble-card__desc {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .ensemble-card__highlights li {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .ensemble-card__highlights li::before {
    color: var(--teal);
}

[data-theme="light"] .ensemble-card__leader {
    border-top-color: rgba(1, 1, 47, 0.1);
    color: var(--text-on-light);
}

[data-theme="light"] .ensemble-card__leader-label {
    color: var(--text-on-light-subtle);
}

/* About page intro light mode */
[data-theme="light"] .about-intro__lead {
    color: var(--text-on-light);
}

[data-theme="light"] .about-intro p {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .about-intro__groups ul li {
    color: var(--text-on-light);
}

/* ========================================
   TIMELINE - Catchy Milestones Design
   ======================================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

/* Vertical connecting line */
.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--gold) 5%,
        var(--gold) 90%,
        var(--teal) 100%
    );
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.timeline__item:last-child {
    margin-bottom: 0;
}

/* Left side - Year and dot */
.timeline__marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: var(--space-xl);
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--weight-semibold);
    color: var(--gold);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.timeline__dot {
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-medium);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    z-index: 2;
    transition: all var(--transition-base);
}

.timeline__dot svg {
    width: 20px;
    height: 20px;
}

.timeline__item:hover .timeline__dot {
    background: var(--gold);
    color: var(--navy-dark);
    box-shadow: var(--glow-gold);
    transform: translateY(-50%) scale(1.1);
}

/* Larger dot for major milestones */
.timeline__dot--large {
    width: 56px;
    height: 56px;
    right: -17px;
    border-width: 3px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark);
    box-shadow: var(--glow-gold);
}

.timeline__dot--large svg {
    width: 26px;
    height: 26px;
}

/* Pulsing dot for future */
.timeline__dot--pulse {
    border-color: var(--teal-light);
    color: var(--teal-light);
    animation: timeline-pulse 2s infinite;
}

@keyframes timeline-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(58, 139, 144, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(58, 139, 144, 0);
    }
}

/* Right side - Content card */
.timeline__content {
    padding-left: var(--space-lg);
}

.timeline__card {
    position: relative;
    padding: var(--space-xl) var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

/* Arrow pointing to timeline */
.timeline__card::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.08);
}

.timeline__card::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid rgba(255, 255, 255, 0.03);
}

.timeline__item:hover .timeline__card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateX(5px);
}

/* Highlighted card for major milestones */
.timeline__card--highlight {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(26, 69, 72, 0.15));
    border-color: rgba(212, 168, 83, 0.3);
    box-shadow: var(--glow-gold);
}

.timeline__card--highlight::before {
    border-right-color: rgba(212, 168, 83, 0.3);
}

.timeline__card--highlight::after {
    border-right-color: rgba(212, 168, 83, 0.1);
}

/* Future card styling */
.timeline__card--future {
    background: linear-gradient(135deg, rgba(42, 107, 112, 0.1), rgba(58, 139, 144, 0.15));
    border-color: rgba(58, 139, 144, 0.3);
    border-style: dashed;
}

.timeline__card--future::before {
    border-right-color: rgba(58, 139, 144, 0.3);
}

/* Timeline item variants */
.timeline__item--highlight .timeline__year {
    font-size: 2rem;
    color: var(--gold-light);
    text-shadow: var(--glow-gold);
}

.timeline__item--future .timeline__year {
    color: var(--teal-light);
    font-style: italic;
}

/* Card content */
.timeline__badge {
    display: inline-block;
    padding: var(--space-2xs) var(--space-sm);
    font-size: 0.6875rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(212, 168, 83, 0.2);
    color: var(--gold);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-sm);
}

.timeline__badge--gold {
    background: var(--gradient-gold);
    color: var(--navy-dark);
}

.timeline__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: var(--weight-regular);
    color: var(--cream);
    margin-bottom: var(--space-2xs);
    line-height: 1.3;
}

.timeline__title-zh {
    font-family: var(--font-chinese);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.timeline__desc {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline__item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }

    .timeline__marker {
        position: absolute;
        left: 0;
        top: 0;
        flex-direction: row;
        align-items: center;
        padding-right: 0;
    }

    .timeline__year {
        position: absolute;
        left: 50px;
        top: -25px;
        font-size: 0.875rem;
        background: var(--navy-dark);
        padding: var(--space-2xs) var(--space-sm);
        border-radius: var(--border-radius-sm);
    }

    .timeline__dot {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        left: -1px;
        width: 40px;
        height: 40px;
    }

    .timeline__dot--large {
        width: 46px;
        height: 46px;
        left: -4px;
    }

    .timeline__item:hover .timeline__dot {
        transform: scale(1.1);
    }

    .timeline__content {
        padding-left: 0;
        padding-top: var(--space-md);
    }

    .timeline__card {
        padding: var(--space-lg);
    }

    .timeline__card::before,
    .timeline__card::after {
        display: none;
    }

    .timeline__item:hover .timeline__card {
        transform: translateX(0) translateY(-3px);
    }

    .timeline__item--highlight .timeline__year {
        font-size: 1rem;
    }
}

/* Light theme timeline */
[data-theme="light"] .timeline::before {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--teal) 5%,
        var(--teal) 90%,
        var(--gold) 100%
    );
}

[data-theme="light"] .timeline__year {
    color: var(--teal);
}

[data-theme="light"] .timeline__dot {
    background: white;
    border-color: var(--teal);
    color: var(--teal);
}

[data-theme="light"] .timeline__item:hover .timeline__dot {
    background: var(--teal);
    color: white;
}

[data-theme="light"] .timeline__dot--large {
    background: var(--gradient-teal);
    border-color: var(--teal);
    color: white;
}

[data-theme="light"] .timeline__card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .timeline__card::before {
    border-right-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .timeline__card::after {
    border-right-color: white;
}

[data-theme="light"] .timeline__item:hover .timeline__card {
    border-color: var(--teal);
    background: white;
}

[data-theme="light"] .timeline__card--highlight {
    background: linear-gradient(135deg, rgba(42, 107, 112, 0.05), rgba(26, 69, 72, 0.1));
    border-color: var(--teal);
}

[data-theme="light"] .timeline__title {
    color: var(--navy-dark);
}

[data-theme="light"] .timeline__title-zh {
    color: var(--teal);
}

[data-theme="light"] .timeline__desc {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .timeline__badge {
    background: rgba(42, 107, 112, 0.15);
    color: var(--teal);
}

[data-theme="light"] .timeline__item--highlight .timeline__year {
    color: var(--teal-dark);
}

[data-theme="light"] .timeline__item--future .timeline__year {
    color: var(--gold-dark);
}

[data-theme="light"] .timeline__dot--pulse {
    border-color: var(--gold);
    color: var(--gold);
    animation: timeline-pulse-light 2s infinite;
}

@keyframes timeline-pulse-light {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 168, 83, 0);
    }
}

/* ========================================
   ENHANCED LIGHT THEME - Airy & Bright
   ======================================== */

/* Light theme hero - KEEP DARK for dramatic impact */
/* Hero section stays dark even in light mode for visual contrast */
[data-theme="light"] .hero {
    /* Hero remains dark-themed */
}

[data-theme="light"] .hero__overlay {
    background: var(--gradient-hero-overlay);
}

/* Hero text stays light-on-dark */
[data-theme="light"] .hero__title {
    color: var(--text-on-dark);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero__title .accent {
    color: var(--cream);
}

[data-theme="light"] .hero__title .subtitle-zh {
    color: var(--gold-light);
}

[data-theme="light"] .hero__subtitle {
    color: var(--text-on-dark-muted);
}

[data-theme="light"] .hero__badge {
    background: rgba(212, 168, 83, 0.15);
    border-color: rgba(212, 168, 83, 0.3);
    color: var(--gold);
}

[data-theme="light"] .hero__featured {
    background: linear-gradient(to top, rgba(1, 1, 47, 0.95), transparent);
}

[data-theme="light"] .hero__featured-label {
    color: var(--gold);
}

[data-theme="light"] .hero__featured-title {
    color: var(--cream);
}

[data-theme="light"] .hero__featured-title a:hover {
    color: var(--gold-light);
}

[data-theme="light"] .hero__scroll {
    color: var(--text-on-dark-subtle);
}

[data-theme="light"] .hero__scroll-line {
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ========================================
   FIRE HORSE DECORATION - Dunhuang Style, Year of Fire Horse 2026
   ======================================== */

.fire-horse-deco {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
}

.fire-horse-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    animation: horse-glow 3s ease-in-out infinite alternate;
}

.fire-horse-icon img,
.fire-horse-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes horse-glow {
    0% {
        filter: drop-shadow(0 0 4px rgba(220, 20, 60, 0.4));
        transform: translateX(0);
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(220, 20, 60, 0.7));
        transform: translateX(2px);
    }
}

/* Featured event with fire horse styling */
.hero__featured-event {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero__featured-event .fire-horse-icon {
    width: 56px;
    height: 56px;
}

@media (max-width: 600px) {
    .fire-horse-icon {
        width: 40px;
        height: 40px;
    }

    .hero__featured-event .fire-horse-icon {
        width: 44px;
        height: 44px;
    }

    .hero__content {
        padding-bottom: calc(var(--space-4xl) + 2em);
    }
}

/* Light theme buttons */
[data-theme="light"] .btn--secondary {
    color: var(--navy-dark);
    border-color: rgba(1, 1, 47, 0.25);
}

[data-theme="light"] .btn--secondary:hover {
    background: rgba(1, 1, 47, 0.08);
    border-color: var(--navy-dark);
}

/* Light theme leader cards */
[data-theme="light"] .leader-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .leader-card:hover {
    background: white;
    border-color: var(--teal);
    box-shadow: var(--shadow-card-hover);
}

[data-theme="light"] .leader-card__name {
    color: var(--text-on-light);
}

[data-theme="light"] .leader-card__name-zh,
[data-theme="light"] .leader-card__name-en {
    color: var(--text-on-light-muted);
}

[data-theme="light"] .leader-card__role {
    color: var(--teal);
}

[data-theme="light"] .leader-card__term {
    color: var(--text-on-light-subtle);
}

[data-theme="light"] .leader-card__photo {
    border-color: var(--teal);
    box-shadow: 0 0 20px rgba(42, 107, 112, 0.2);
}

/* Light theme media cards */
[data-theme="light"] .media-card {
    background: white;
    border-color: rgba(1, 1, 47, 0.08);
}

[data-theme="light"] .media-card:hover {
    border-color: var(--teal);
}

[data-theme="light"] .media-card__thumbnail {
    background: #f0ebe4;
}

[data-theme="light"] .media-card__title {
    color: var(--text-on-light);
}

[data-theme="light"] .media-card__meta {
    color: var(--text-on-light-muted);
}

/* ========================================
   ACTIVE ELEMENTS & ANIMATIONS
   ======================================== */

/* Shimmer effect for cards on hover */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.shimmer-effect:hover::after {
    left: 100%;
}

/* Pulse animation for interactive elements */
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.pulse-hover:hover {
    animation: gentle-pulse 1s ease-in-out infinite;
}

/* Glow effect for accent elements */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(42, 107, 112, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(42, 107, 112, 0.5);
    }
}

.glow-effect {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Slide up entrance animation */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out forwards;
}

/* Scale on hover for cards */
.card-hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .card-hover-lift:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ========================================
   STATISTICS COUNTER SECTION
   ======================================== */

.stats-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-section-alt);
}

[data-theme="light"] .stats-section {
    background: linear-gradient(135deg, #f5f2ed 0%, #ede5dc 100%);
}

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

.stat-item {
    padding: var(--space-xl);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--weight-light);
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

[data-theme="light"] .stat-number {
    color: var(--teal);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

[data-theme="light"] .stat-label {
    color: var(--text-on-light-muted);
}

.stat-sublabel {
    font-size: 0.8125rem;
    color: var(--text-on-dark-subtle);
    margin-top: var(--space-2xs);
}

[data-theme="light"] .stat-sublabel {
    color: var(--text-on-light-subtle);
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TESTIMONIAL / QUOTE SECTION
   ======================================== */

.quote-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-section-alt);
    text-align: center;
}

[data-theme="light"] .quote-section {
    background: white;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-xl);
    color: var(--gold);
    opacity: 0.5;
}

[data-theme="light"] .quote-icon {
    color: var(--teal);
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--weight-light);
    font-style: italic;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: var(--space-xl);
}

[data-theme="light"] .quote-text {
    color: var(--navy-dark);
}

.quote-author {
    font-size: 1rem;
    color: var(--text-on-dark-muted);
}

[data-theme="light"] .quote-author {
    color: var(--text-on-light-muted);
}

.quote-author strong {
    color: var(--gold);
    font-weight: var(--weight-medium);
}

[data-theme="light"] .quote-author strong {
    color: var(--teal);
}

/* ========================================
   FLOATING ACTION INDICATORS
   ======================================== */

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-gold);
    color: var(--navy-dark);
    font-size: 0.75rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    border-radius: 50px;
    animation: float 3s ease-in-out infinite;
}

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

/* ========================================
   INTERACTIVE ICON BUTTONS
   ======================================== */

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark-muted);
    transition: all var(--transition-base);
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
    transform: scale(1.1);
}

[data-theme="light"] .icon-btn {
    background: rgba(1, 1, 47, 0.05);
    border-color: rgba(1, 1, 47, 0.1);
    color: var(--text-on-light-muted);
}

[data-theme="light"] .icon-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   ENHANCED CTA SECTION
   ======================================== */

.cta-section {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-section__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy-dark) 100%);
    opacity: 0.95;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--weight-light);
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Decorative elements for CTA */
.cta-decor {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-decor--1 {
    top: -100px;
    left: -100px;
    animation: spin 30s linear infinite;
}

.cta-decor--2 {
    bottom: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    animation: spin 25s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .cta-decor {
        display: none;
    }
}
