/* ========================================
   100亿音乐平台 - 马卡龙色系
   简洁清晰 · 高端轻松 · 新奇有趣
   三端适配：电脑/平板/手机
   ======================================== */

/* CSS Variables - Macaron Palette */
:root {
    /* 马卡龙主色调 */
    --pink: #FFB3BA;
    --pink-light: #FFE0E5;
    --peach: #FFD4A8;
    --peach-light: #FFECD2;
    --yellow: #FFED9A;
    --yellow-light: #FFF8D6;
    --mint: #B5EAD7;
    --mint-light: #DFF5EC;
    --blue: #A8D8EA;
    --blue-light: #D4EEFF;
    --lavender: #C3B1E1;
    --lavender-light: #E8DFF5;
    --coral: #FF9AA2;
    --coral-light: #FFD1D6;
    --sky: #87CEEB;

    /* 文字 */
    --text-dark: #3D3D4E;
    --text-medium: #6B6B7D;
    --text-light: #9A9AAE;
    --white: #FFFFFF;
    --bg-cream: #FFFEF9;

    /* 渐变 */
    --gradient-pink: linear-gradient(135deg, #FFB3BA 0%, #FFD4A8 100%);
    --gradient-blue: linear-gradient(135deg, #A8D8EA 0%, #C3B1E1 100%);
    --gradient-mint: linear-gradient(135deg, #B5EAD7 0%, #A8D8EA 100%);
    --gradient-sunset: linear-gradient(135deg, #FF9AA2 0%, #FFD4A8 50%, #FFED9A 100%);
    --gradient-candy: linear-gradient(135deg, #FFB3BA 0%, #C3B1E1 50%, #A8D8EA 100%);

    /* 阴影 */
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.15);
}

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

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
    line-height: 1.7;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Loading Animation - 开屏欢迎
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE0E5 0%, #E8DFF5 30%, #D4EEFF 60%, #DFF5EC 100%);
    background-size: 300% 300%;
    animation: loaderGradient 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden,
.loader[style*="display: none"],
.loader[style*="display:none"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
    z-index: -1 !important;
}

/* 微信浏览器特殊处理 */
@-webkit-keyframes loaderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loaderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-logo {
    font-size: clamp(4rem, 10vw, 7rem);
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(195, 177, 225, 0.4));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.loader-welcome {
    margin-top: 30px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 8px;
}

.welcome-text {
    display: inline-block;
    opacity: 0;
    animation: textFadeIn 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.15s + 0.5s);
}

.welcome-text.highlight {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.loader-subtitle {
    margin-top: 20px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-medium);
    letter-spacing: 4px;
    opacity: 0;
    animation: subtitleFade 1s ease 1.8s forwards;
}

@keyframes subtitleFade {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0.8; transform: translateY(0); }
}

.loader-wave {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.loader-wave span {
    width: 6px;
    height: 30px;
    background: var(--gradient-candy);
    border-radius: 10px;
    animation: waveAnim 1.2s ease-in-out infinite;
}

.loader-wave span:nth-child(1) { animation-delay: 0s; }
.loader-wave span:nth-child(2) { animation-delay: 0.15s; }
.loader-wave span:nth-child(3) { animation-delay: 0.3s; }
.loader-wave span:nth-child(4) { animation-delay: 0.45s; }
.loader-wave span:nth-child(5) { animation-delay: 0.6s; }

@keyframes waveAnim {
    0%, 100% { height: 15px; opacity: 0.5; }
    50% { height: 40px; opacity: 1; }
}

/* ========================================
   Navigation
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(195, 177, 225, 0.15);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 12px 6%;
    box-shadow: var(--shadow-md);
}

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

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-candy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-pink);
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--coral);
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

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

.btn-outline:hover {
    background: var(--lavender);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-filled {
    background: var(--gradient-pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 179, 186, 0.4);
}

.btn-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 186, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 6% 100px;
    background: linear-gradient(
        135deg,
        #FFE0E5 0%,
        #E8DFF5 25%,
        #D4EEFF 50%,
        #DFF5EC 75%,
        #FFF8D6 100%
    );
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
}

.shape-1 {
    width: clamp(200px, 30vw, 400px);
    height: clamp(200px, 30vw, 400px);
    background: var(--pink);
    top: -80px;
    right: -80px;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-2 {
    width: clamp(150px, 25vw, 300px);
    height: clamp(150px, 25vw, 300px);
    background: var(--lavender);
    bottom: -40px;
    left: -40px;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: clamp(100px, 15vw, 200px);
    height: clamp(100px, 15vw, 200px);
    background: var(--blue);
    top: 30%;
    left: 10%;
    animation: floatShape 18s ease-in-out infinite;
}

.shape-4 {
    width: clamp(80px, 12vw, 150px);
    height: clamp(80px, 12vw, 150px);
    background: var(--mint);
    top: 20%;
    right: 15%;
    animation: floatShape 14s ease-in-out infinite reverse;
}

.shape-5 {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    background: var(--yellow);
    bottom: 20%;
    right: 25%;
    animation: floatShape 16s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0.35;
    animation: floatNote 10s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
    cursor: pointer;
    pointer-events: auto;
}

.note:nth-child(1) { left: 5%; top: 15%; animation-delay: 0s; color: var(--pink); }
.note:nth-child(2) { left: 15%; top: 70%; animation-delay: 1.5s; color: var(--lavender); }
.note:nth-child(3) { left: 85%; top: 20%; animation-delay: 3s; color: var(--blue); }
.note:nth-child(4) { left: 90%; top: 75%; animation-delay: 4.5s; color: var(--mint); }
.note:nth-child(5) { left: 45%; top: 5%; animation-delay: 6s; color: var(--yellow); }
.note:nth-child(6) { left: 75%; top: 85%; animation-delay: 7.5s; color: var(--coral); }
.note:nth-child(7) { left: 25%; top: 40%; animation-delay: 9s; color: var(--sky); }
.note:nth-child(8) { left: 65%; top: 50%; animation-delay: 10.5s; color: var(--peach); }

@keyframes floatNote {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(10deg); }
    50% { transform: translateY(-50px) rotate(-5deg); }
    75% { transform: translateY(-25px) rotate(8deg); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
    backdrop-filter: blur(10px);
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    line-height: 1.3;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-medium);
    margin-bottom: 40px;
    animation: slideUp 1s ease 0.3s both;
    line-height: 1.8;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 1s ease 0.5s both;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 40px;
    background: var(--gradient-sunset);
    color: var(--white);
    border: none;
    border-radius: 35px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 154, 162, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 154, 162, 0.45);
}

.btn-secondary {
    padding: 16px 40px;
    background: var(--white);
    color: var(--lavender);
    border: 2px solid var(--lavender);
    border-radius: 35px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--lavender);
    color: var(--white);
    transform: translateY(-4px) scale(1.03);
}

.btn-icon {
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 5vw, 50px);
    margin-top: 60px;
    animation: slideUp 1s ease 0.7s both;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-num {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--coral);
}

.stat-plus {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--coral);
}

.stat-label {
    display: block;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    color: var(--text-light);
    margin-top: 5px;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(195, 177, 225, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInDown 1s ease 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--lavender);
    border-radius: 13px;
    position: relative;
}

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

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

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(195, 177, 225, 0.12);
    border-radius: 25px;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 500;
    color: var(--lavender);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 22px;
    text-align: center;
    transition: all 0.5s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1) { border-color: var(--pink); }
.service-card:nth-child(2) { border-color: var(--lavender); }
.service-card:nth-child(3) { border-color: var(--blue); }
.service-card:nth-child(4) { border-color: var(--mint); }

.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.5s ease;
}

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

.service-card:nth-child(1) .service-icon { background: var(--pink-light); }
.service-card:nth-child(2) .service-icon { background: var(--lavender-light); }
.service-card:nth-child(3) .service-icon { background: var(--blue-light); }
.service-card:nth-child(4) .service-icon { background: var(--mint-light); }

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

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.service-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(195, 177, 225, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--lavender);
    font-weight: 500;
}

/* ========================================
   Instruments Section
   ======================================== */
.instruments {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--blue-light) 100%);
}

.instrument-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-candy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(195, 177, 225, 0.3);
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.instrument-item {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.instrument-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.instrument-item .icon {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    display: block;
}

.instrument-item .name {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.instrument-item .count {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    color: var(--text-light);
    margin-top: 5px;
    display: block;
}

/* ========================================
   Teachers Section
   ======================================== */
.teachers {
    padding: 100px 0;
    background: var(--white);
}

.teacher-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--lavender-light);
    border-radius: 25px;
    background: transparent;
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--gradient-candy);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(195, 177, 225, 0.3);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Teacher Card - 全新设计 */
.teacher-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.teacher-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-candy);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.teacher-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.teacher-card:hover::after {
    transform: scaleX(1);
}

/* Image Wrapper */
.teacher-card-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 260px;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 100%);
}

.teacher-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.teacher-card:hover .teacher-card-img {
    transform: scale(1.08);
}

/* Image Fallback - 当图片加载失败时显示 */
.img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 50%, var(--blue-light) 100%);
    gap: 10px;
}

.fallback-icon {
    font-size: 4rem;
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(195, 177, 225, 0.3);
    color: var(--lavender);
    font-weight: 700;
}

.fallback-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Badge */
.teacher-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lavender);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Overlay on Hover */
.teacher-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(195, 177, 225, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-card-overlay {
    opacity: 1;
}

.overlay-text {
    padding: 12px 28px;
    background: var(--white);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lavender);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.teacher-card:hover .overlay-text {
    transform: translateY(0);
}

/* Card Body */
.teacher-card-body {
    padding: 22px;
}

.teacher-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.teacher-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.teacher-education {
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(195, 177, 225, 0.1);
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.teacher-card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 500;
}

.instrument-tag {
    background: var(--pink-light);
    color: var(--coral);
}

.honor-tag {
    background: var(--lavender-light);
    color: var(--lavender);
}

.teacher-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.teacher-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(195, 177, 225, 0.15);
}

.teacher-area {
    font-size: 0.85rem;
    color: var(--text-light);
}

.teacher-btn {
    padding: 8px 18px;
    background: var(--gradient-pink);
    color: var(--white);
    border: none;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.teacher-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 186, 0.4);
}

.load-more {
    text-align: center;
    margin-top: 45px;
}

.btn-load-more {
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--lavender);
    border-radius: 30px;
    color: var(--lavender);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--lavender);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--mint-light) 0%, var(--yellow-light) 100%);
}

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

.about-content .section-badge {
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-lead {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--text-dark);
    font-weight: 500;
}

.feature-icon {
    color: var(--mint);
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

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

.about-stats-card {
    position: absolute;
    bottom: -25px;
    right: 25px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-candy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .stat-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ========================================
   Honor Section
   ======================================== */
.honor {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.honor-scroll {
    overflow: hidden;
    padding: 20px 0;
}

.honor-track {
    display: flex;
    gap: 25px;
    animation: scrollHonor 35s linear infinite;
}

.honor-track img {
    height: clamp(100px, 15vw, 150px);
    width: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

@keyframes scrollHonor {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: var(--gradient-candy);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 50px;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.cta .btn-primary {
    background: var(--white);
    color: var(--coral);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta .btn-primary:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--lavender);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--peach-light) 0%, var(--pink-light) 100%);
}

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

.contact-info .section-badge {
    margin-bottom: 20px;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-light);
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: var(--text-medium);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--white);
    color: var(--lavender);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 35px;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(195, 177, 225, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lavender);
    box-shadow: 0 0 15px rgba(195, 177, 225, 0.2);
}

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

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient-sunset);
    color: var(--white);
    border: none;
    border-radius: 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 154, 162, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 154, 162, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 70px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 45px;
}

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

.footer-brand .logo-icon {
    font-size: 1.8rem;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: var(--pink);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: var(--gradient-candy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ========================================
   Responsive Design - 平板 (768px - 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

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

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

    .teacher-card-img-wrapper {
        height: 220px;
    }

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

    .about-visual {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

/* ========================================
   Responsive Design - 手机 (< 768px)
   ======================================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 5%;
    }

    /* Navigation - Mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(195, 177, 225, 0.2);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(195, 177, 225, 0.1);
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 120px 5% 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-desc br {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 15px;
    }

    .hero-stat-divider {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

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

    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .instruments {
        padding: 80px 0;
    }

    .instruments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .instrument-item {
        padding: 18px 10px;
    }

    .teachers {
        padding: 80px 0;
    }

    .teacher-filters {
        gap: 8px;
    }

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

    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .teacher-card-img-wrapper {
        height: 240px;
    }

    .teacher-card-header {
        flex-direction: column;
        gap: 8px;
    }

    .teacher-education {
        align-self: flex-start;
    }

    .about {
        padding: 80px 0;
    }

    .about-grid {
        gap: 40px;
    }

    .about-image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-img {
        height: 140px;
    }

    .about-stats-card {
        bottom: -20px;
        right: 15px;
        padding: 15px 22px;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .honor {
        padding: 80px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand .footer-logo {
        justify-content: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-links li {
        margin-bottom: 0;
    }
}

/* ========================================
   Responsive Design - 小手机 (< 480px)
   ======================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 50px;
        height: 1px;
    }

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

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

    .contact-social {
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Hide on specific screens */
.hide-mobile { display: block; }
.hide-desktop { display: none; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .hide-desktop { display: block; }
}

/* ========================================
   Teacher Modal - 教师详情弹窗
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 61, 78, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.modal-content {
    background: var(--white);
    border-radius: 28px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    line-height: 1;
}

.modal-close:hover {
    background: var(--coral);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 500px;
}

/* Image Section */
.modal-image-section {
    position: relative;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 100%);
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.modal-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 50%, var(--blue-light) 100%);
    gap: 15px;
}

.modal-fallback-icon {
    font-size: 5rem;
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(195, 177, 225, 0.4);
    color: var(--lavender);
    font-weight: 700;
}

.modal-fallback-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lavender);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Info Section */
.modal-info-section {
    padding: 35px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.modal-teacher-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-education {
    padding: 6px 14px;
    background: rgba(195, 177, 225, 0.12);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--lavender);
    font-weight: 500;
    white-space: nowrap;
}

.modal-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.modal-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-tag.instrument {
    background: var(--pink-light);
    color: var(--coral);
}

.modal-tag.area {
    background: var(--blue-light);
    color: var(--blue);
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-section p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.modal-xhs-tip {
    padding: 12px 16px;
    background: rgba(195, 177, 225, 0.1);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    border-left: 3px solid var(--lavender);
}

.modal-honors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.honor-item {
    padding: 8px 16px;
    background: var(--lavender-light);
    border-radius: 15px;
    font-size: 0.88rem;
    color: var(--lavender);
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(195, 177, 225, 0.2);
}

.modal-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.modal-btn.primary {
    background: var(--gradient-sunset);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 154, 162, 0.35);
}

.modal-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 154, 162, 0.5);
}

.modal-btn.secondary {
    background: var(--white);
    color: var(--coral);
    border: 2px solid var(--coral);
}

.modal-btn.secondary:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-3px);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-section {
        height: 250px;
    }

    .modal-image {
        min-height: 250px;
    }

    .modal-info-section {
        padding: 25px;
        max-height: 60vh;
    }

    .modal-header {
        flex-direction: column;
        gap: 10px;
    }

    .modal-teacher-name {
        font-size: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}
