/* ========================================
   6k6g Project 官网样式 - 完整版
   ======================================== */

:root {
    --color-sakura: #FF9EB5;
    --color-sakura-light: #FFB8C9;
    --color-neon-purple: #7B61FF;
    --color-neon-blue: #00D4FF;
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-sakura: linear-gradient(135deg, #FF9EB5 0%, #7B61FF 100%);
    --shadow-glow: 0 0 30px rgba(255, 158, 181, 0.4);
    --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* 导航 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 158, 181, 0.1);
}

.logo-glitch {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-sakura);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub { font-size: 0.7rem; color: var(--text-muted); margin-left: 8px; }

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-sakura);
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: var(--color-sakura); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); }

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px;
    text-align: center;
}

.hero-title { font-family: var(--font-display); margin-bottom: 24px; }
.title-line { display: block; font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; line-height: 1.1; }
.title-divider { display: block; font-size: 2rem; color: var(--color-sakura); margin: 8px 0; opacity: 0.6; }
.gradient-text {
    background: var(--gradient-sakura);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: clamp(1rem, 3vw, 1.5rem); color: var(--text-secondary); margin-bottom: 48px; }
.neon-text { text-shadow: 0 0 20px rgba(255, 158, 181, 0.5); }

.hero-buttons { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gradient-sakura);
    color: var(--bg-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 158, 181, 0.5);
}
.btn-secondary:hover { border-color: var(--color-sakura); background: rgba(255, 158, 181, 0.1); }
.btn-large { padding: 20px 40px; font-size: 1.1rem; }

/* 滚动指示器 */
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator span {
    width: 2px;
    height: 8px;
    background: var(--color-sakura);
    border-radius: 2px;
    animation: scrollPulse 1.5s infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(5px); opacity: 1; }
}

/* 三栏亮点 */
.highlights { padding: 80px 0; background: var(--bg-secondary); }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.highlight-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 158, 181, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-sakura);
    transform: scaleX(0);
    transition: var(--transition-normal);
}
.highlight-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(255, 158, 181, 0.3);
}
.highlight-card:hover::before { transform: scaleX(1); }
.card-icon { width: 64px; height: 64px; margin: 0 auto 24px; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--color-sakura); stroke-width: 2; }
.highlight-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.highlight-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }

/* 新闻滚动条 */
.news-ticker {
    background: rgba(255, 158, 181, 0.05);
    border-top: 1px solid rgba(255, 158, 181, 0.1);
    border-bottom: 1px solid rgba(255, 158, 181, 0.1);
    padding: 16px 0;
    overflow: hidden;
}
.ticker-content {
    display: inline-flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}
.ticker-content span { padding: 0 48px; color: var(--text-secondary); font-size: 0.9rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 通用区块 */
section { padding: 120px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--color-sakura);
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 158, 181, 0.3);
    border-radius: 50px;
}
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 16px; }
.section-subtitle { font-size: 1.2rem; color: var(--text-secondary); font-weight: 300; }

/* 关于我们 */
.about { background: var(--bg-primary); }
.manifesto { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.manifesto-text { font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.6; margin-bottom: 24px; }
.highlight { color: var(--color-sakura); font-weight: 700; }
.text-small { font-size: 0.7em; color: var(--text-muted); }
.manifesto-sub { font-size: 1.1rem; color: var(--text-secondary); font-weight: 300; }

/* 时间轴 */
.timeline { position: relative; max-width: 800px; margin: 0 auto 80px; }
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-sakura) 20%, var(--color-sakura) 80%, transparent);
    transform: translateX(-50%);
}
.timeline-item { display: flex; align-items: center; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { padding-right: 60px; padding-left: 0; }
.timeline-content { flex: 1; padding-left: 60px; }
.timeline-content h4 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline-content p { color: var(--text-secondary); font-size: 0.95rem; }
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--color-sakura);
    border-radius: 50%;
    z-index: 2;
}
.timeline-dot.active { background: var(--color-sakura); box-shadow: 0 0 20px rgba(255, 158, 181, 0.6); }

/* 价值观 */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.value-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 158, 181, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}
.value-card:hover { border-color: rgba(255, 158, 181, 0.3); transform: translateY(-4px); }
.value-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 158, 181, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}
.value-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--color-sakura); }
.value-card p { color: var(--text-secondary); line-height: 1.8; }

/* 游戏 */
.game { background: var(--bg-secondary); position: relative; overflow: hidden; }
.game-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 158, 181, 0.1), transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(123, 97, 255, 0.1), transparent 50%);
}
.game-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; align-items: center; }
.story-content h3 { font-size: 1.8rem; margin-bottom: 24px; }
.story-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.story-innovation {
    background: var(--bg-card);
    border: 1px solid rgba(255, 158, 181, 0.2);
    border-radius: 24px;
    padding: 40px;
    position: relative;
}
.innovation-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 158, 181, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.badge-text { color: var(--color-sakura); font-weight: 600; }

/* 特性 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 80px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 158, 181, 0.1);
    border-radius: 20px;
    padding: 32px;
}
.feature-card:hover { border-color: rgba(255, 158, 181, 0.3); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* 路线图 */
.roadmap { background: var(--bg-card); border-radius: 24px; padding: 48px; margin-bottom: 48px; }
.roadmap-title { text-align: center; font-size: 1.5rem; margin-bottom: 48px; }
.roadmap-track { position: relative; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; margin-bottom: 48px; }
.roadmap-progress { position: absolute; left: 0; top: 0; height: 100%; background: var(--gradient-sakura); border-radius: 2px; width: 50%; }
.roadmap-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.marker-dot { width: 16px; height: 16px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; }
.roadmap-marker.completed .marker-dot, .roadmap-marker.active .marker-dot { background: var(--color-sakura); border: 3px solid var(--color-sakura); }
.roadmap-marker.active .marker-dot { box-shadow: 0 0 20px rgba(255, 158, 181, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 20px rgba(255, 158, 181, 0.6); } 50% { box-shadow: 0 0 30px rgba(255, 158, 181, 0.9); } }
.marker-label { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; }
.roadmap-status { display: flex; justify-content: center; align-items: center; gap: 16px; }
.status-badge {
    background: rgba(255, 158, 181, 0.1);
    color: var(--color-sakura);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 158, 181, 0.3);
}
.status-text { color: var(--text-muted); font-size: 0.9rem; }
.game-cta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* 团队 */
.team { background: var(--bg-primary); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.team-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: var(--transition-normal);
}
.team-card.carbon::before { background: linear-gradient(90deg, var(--color-sakura), var(--color-neon-purple)); }
.team-card.silicon::before { background: linear-gradient(90deg, var(--color-neon-blue), var(--color-neon-purple)); }
.team-card:hover { transform: translateY(-8px); border-color: rgba(255, 158, 181, 0.2); }
.team-card:hover::before { transform: scaleX(1); }
.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}
.carbon .member-avatar {
    background: linear-gradient(135deg, rgba(255, 158, 181, 0.2), rgba(123, 97, 255, 0.2));
    border: 2px solid rgba(255, 158, 181, 0.3);
    color: var(--color-sakura);
}
.silicon .member-avatar {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 97, 255, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--color-neon-blue);
}
.member-type {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    font-weight: 600;
}
.carbon .member-type { background: rgba(255, 158, 181, 0.1); color: var(--color-sakura); }
.silicon .member-type { background: rgba(0, 212, 255, 0.1); color: var(--color-neon-blue); }
.team-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.member-role { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.member-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(255, 158, 181, 0.3);
}
.member-skills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.skill-tag { font-size: 0.75rem; padding: 6px 12px; background: rgba(255, 255, 255, 0.05); border-radius: 50px; color: var(--text-muted); }

/* 日志 */
.journal { background: var(--bg-secondary); }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.journal-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
}
.journal-card:hover { border-color: rgba(255, 158, 181, 0.2); transform: translateY(-4px); }
.journal-meta { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.journal-date { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-muted); }
.journal-tag { font-size: 0.7rem; padding: 4px 12px; border-radius: 50px; font-weight: 600; }
.journal-tag.tech { background: rgba(0, 212, 255, 0.1); color: var(--color-neon-blue); }
.journal-tag.art { background: rgba(255, 158, 181, 0.1); color: var(--color-sakura); }
.journal-tag.team { background: rgba(123, 97, 255, 0.1); color: var(--color-neon-purple); }
.journal-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.journal-card p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.read-more { color: var(--color-sakura); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* 加入 */
.join { background: var(--bg-primary); position: relative; overflow: hidden; }
.join-content { text-align: center; position: relative; z-index: 1; }
.join-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 48px; line-height: 1.3; }
.positions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-bottom: 64px; }
.position-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 158, 181, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
}
.position-item:hover { border-color: rgba(255, 158, 181, 0.3); transform: translateY(-4px); }
.position-item h4 { font-size: 1.1rem; color: var(--color-sakura); margin-bottom: 8px; }
.position-item p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 48px; }
.contact-item { background: var(--bg-card); border-radius: 16px; padding: 32px 24px; }
.contact-item:hover { background: var(--bg-card-hover); transform: translateY(-4px); }
.contact-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.contact-item h4 { font-size: 1rem; margin-bottom: 8px; }
.contact-item a { color: var(--color-sakura); text-decoration: none; font-size: 0.9rem; word-break: break-all; }
.community { margin-top: 48px; }
.community h4 { font-size: 1.2rem; margin-bottom: 24px; color: var(--text-secondary); }
.community-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.community-link {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
}
.community-link:hover { border-color: var(--color-sakura); background: rgba(255, 158, 181, 0.1); color: var(--color-sakura); }

/* 页脚 */
.footer { background: var(--bg-secondary); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 48px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-sub { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-sakura); }
.footer-copy { text-align: right; color: var(--text-muted); font-size: 0.85rem; }
.footer-icp { margin-top: 4px; font-size: 0.75rem; }

/* 响应式 */
@media (max-width: 1024px) {
    section { padding: 80px 0; }
    .game-story { grid-template-columns: 1fr; gap: 40px; }
    .timeline-line { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; text-align: left; padding-left: 60px; }
    .timeline-content, .timeline-item:nth-child(odd) .timeline-content { padding: 0; }
    .timeline-dot { left: 20px; }
}

@media (max-width: 768px) {
    .nav { padding: 16px 24px; }
    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 10, 15, 0.98); flex-direction: column; padding: 24px; gap: 16px; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; order: 2; }
    .lang-switcher { order: 1; }
    .hero { padding: 100px 20px 60px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .highlight-grid, .values, .features, .team-grid, .journal-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-copy { text-align: center; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .container { padding: 0 16px; }
    .roadmap { padding: 32px 20px; }
    .roadmap-marker { display: none; }
    .positions, .contact-grid { grid-template-columns: 1fr; }
}

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

/* ========================================
   语言切换器 - 统一样式
   ======================================== */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 158, 181, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.lang-btn:hover {
    background: rgba(255, 158, 181, 0.1);
    border-color: var(--color-sakura);
}
.lang-arrow { transition: transform 0.3s ease; }
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(5, 24, 48, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 158, 181, 0.15);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: left;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.lang-option:hover, .lang-option.active {
    background: rgba(255, 158, 181, 0.15);
    color: var(--color-sakura);
}
.lang-option.active { font-weight: 600; }

/* 语言分组标题 */
.lang-group {
    padding: 8px 16px 4px;
    border-top: 1px solid rgba(255, 158, 181, 0.1);
    margin-top: 4px;
}
.lang-group:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 4px;
}
.lang-group-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 阿拉伯语RTL支持 */
[dir="rtl"] .lang-dropdown {
    text-align: right;
}
[dir="rtl"] .lang-option {
    text-align: right;
}

@media (max-width: 768px) {
    .lang-switcher { position: static; }
    .lang-dropdown {
        position: fixed;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        width: calc(100% - 48px);
        max-width: 300px;
    }
    .lang-dropdown.active { transform: translateX(-50%) translateY(0); }
    .lang-btn { padding: 6px 12px; font-size: 0.85rem; }
}
}
