/* 琳凯蒂亚语社区网站样式 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根变量 - 琳凯蒂亚主题色调 */
:root {
    --primary-blue: #1a237e;
    --secondary-blue: #283593;
    --accent-blue: #3f51b5;
    --light-blue: #5c6bc0;
    --star-gold: #ffd700;
    --magic-purple: #7b1fa2;
    --crystal-cyan: #00bcd4;
    --gradient-bg: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3f51b5 100%);
    --magic-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    --text-light: #ffffff;
    --text-secondary: #e8eaf6;
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 星空背景 */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-bg);
}

.starfield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffd700, transparent),
        radial-gradient(2px 2px at 40px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 90px 40px, #00bcd4, transparent),
        radial-gradient(1px 1px at 130px 80px, #ffd700, transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--star-gold);
    text-shadow: var(--magic-glow);
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--magic-glow);
    transform: translateY(-2px);
}

.nav-menu a.admin-link {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
}

.nav-menu a.admin-link:hover {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.5);
}

/* 主要内容区域 */
main {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 英雄区域 */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 星球动画 */
.planet-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.planet {
    width: 300px;
    height: 300px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.planet-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        var(--accent-blue) 0%, 
        var(--crystal-cyan) 30%, 
        var(--light-blue) 60%, 
        var(--magic-purple) 100%);
    box-shadow: 
        inset -50px -50px 100px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(255, 215, 0, 0.3),
        0 0 100px rgba(0, 188, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.planet-surface::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 4s ease-in-out infinite;
}

.planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
    animation: rotate 20s linear infinite;
}

.planet-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* 英雄文本区域 */
.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--star-gold), var(--crystal-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* 按钮样式 */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--star-gold), var(--magic-purple));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--crystal-cyan);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    background: var(--crystal-cyan);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

/* 漂浮元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-crystal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--crystal-cyan), var(--star-gold));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: crystal-float 8s ease-in-out infinite;
}

.crystal-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.crystal-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.crystal-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.magic-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--star-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--star-gold);
    animation: particle-float 6s ease-in-out infinite;
}

.particle-1 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.particle-2 {
    bottom: 40%;
    right: 30%;
    animation-delay: 3s;
}

.particle-3 {
    top: 70%;
    left: 15%;
    animation-delay: 5s;
}

@keyframes crystal-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px); opacity: 0.3; }
    50% { transform: translateY(-50px); opacity: 1; }
}

/* 特色功能区域 */
.features {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--star-gold);
    text-shadow: var(--magic-glow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--star-gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 即将到来区域 */
.coming-soon {
    padding: 6rem 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.coming-soon-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.coming-soon-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.coming-soon-item h3 {
    color: var(--crystal-cyan);
    margin-bottom: 1rem;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

.footer-section h3,
.footer-section h4,
.footer-section h5 {
    color: var(--star-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-section ul li a:hover {
    color: var(--star-gold);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .planet {
        width: 200px;
        height: 200px;
    }
    
    .planet-ring {
        width: 280px;
        height: 280px;
    }
    
    .planet-ring::before {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 导航栏扩展样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--star-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* 琳凯蒂亚国旗样式 */
.rincatian-flag {
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.flag-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* 首页英雄区域国旗展示 */
.hero-flag-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-flag {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.hero-flag:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}

.flag-description {
    color: var(--crystal-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
    font-style: italic;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-chinese {
    font-size: 1.2rem;
    font-weight: 600;
}

.logo-english {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    font-style: italic;
}

.planet-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--star-gold), var(--crystal-cyan));
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--star-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.nav-menu a.active {
    background: linear-gradient(45deg, var(--star-gold), var(--crystal-cyan));
    color: var(--primary-blue);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* 导航扩展区域 */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* 田历日期 */
.tian-calendar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calendar-icon {
    font-size: 1rem;
}

.tian-date {
    font-weight: 500;
    min-width: 80px;
}

/* 认证按钮 */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--star-gold);
    color: var(--star-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(45deg, var(--star-gold), var(--crystal-cyan));
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(123, 31, 162, 0.8);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(123, 31, 162, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.4);
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--star-gold), var(--magic-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.8rem;
}

.user-name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-info:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--star-gold);
}

/* 机构信息样式 */
.institution {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.institution h5 {
    color: var(--star-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.institution p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-extras {
        gap: 1rem;
    }
    
    .tian-calendar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-extras {
        gap: 0.8rem;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn-small {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* 新增：学习路径指引样式 */
.learning-path {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(63, 81, 181, 0.8));
    margin: 2rem 0;
}

.learning-path .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.path-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.path-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.path-step:hover {
    border-color: var(--star-gold);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.path-step::before {
    content: attr(data-step);
    position: absolute;
    left: -15px;
    top: -10px;
    width: 30px;
    height: 30px;
    background: var(--star-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--star-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-actions {
    margin-top: 1rem;
}

/* 新增：每日一词样式 */
.daily-word {
    padding: 3rem 0;
    background: linear-gradient(45deg, var(--magic-purple), var(--accent-blue));
}

.daily-word-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.daily-word-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.daily-word-header h2 {
    color: var(--star-gold);
    margin: 0;
    font-size: 1.5rem;
}

.word-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.daily-word-content {
    text-align: center;
    margin-bottom: 2rem;
}

.word-main {
    margin-bottom: 1rem;
}

.word-linkaitiya {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--star-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.word-pronunciation {
    font-size: 1.2rem;
    color: var(--crystal-cyan);
    font-style: italic;
    margin-bottom: 1rem;
}

.word-meaning {
    margin-bottom: 1.5rem;
}

.word-chinese {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.word-type {
    display: inline-block;
    background: var(--crystal-cyan);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.word-example {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--star-gold);
}

.example-linkaitiya {
    font-style: italic;
    color: var(--crystal-cyan);
    margin-bottom: 0.5rem;
}

.example-chinese {
    color: var(--text-secondary);
    margin: 0;
}

.daily-word-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 新增：社区动态样式 */
.community-updates {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(123, 31, 162, 0.1));
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.update-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-section h3 {
    color: var(--star-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--crystal-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hot-topics, .news-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.topic-item, .news-item {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.topic-item:hover, .news-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.topic-title, .news-content {
    flex: 1;
    color: var(--text-light);
    font-size: 0.9rem;
}

.topic-replies {
    color: var(--crystal-cyan);
    font-size: 0.8rem;
    font-weight: bold;
}

.news-date {
    color: var(--star-gold);
    font-size: 0.8rem;
    margin-right: 1rem;
    min-width: 80px;
}

/* 新增：快速工具样式 */
.quick-tools {
    padding: 4rem 0;
    background: rgba(26, 35, 126, 0.8);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    border-color: var(--star-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-card h3 {
    color: var(--star-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 新增：学习成就样式 */
.achievements {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.8), rgba(26, 35, 126, 0.8));
}

.achievements .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card.unlocked {
    border-color: var(--star-gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.achievement-card.unlocked::before {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--star-gold);
    color: var(--primary-blue);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.achievement-card.locked {
    opacity: 0.6;
    filter: grayscale(0.5);
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.achievement-card h3 {
    color: var(--star-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.achievement-progress {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--crystal-cyan);
    font-weight: bold;
}

.achievement-card.unlocked .achievement-progress {
    background: rgba(255, 215, 0, 0.2);
    color: var(--star-gold);
}

/* 新增：用户个人中心样式 */
.profile-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(63, 81, 181, 0.8));
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--star-gold), var(--crystal-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 2.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-username {
    font-size: 2rem;
    color: var(--star-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.profile-content {
    padding: 2rem 0 4rem;
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.tab-btn.active {
    background: rgba(255, 215, 0, 0.2);
    color: var(--star-gold);
    border-bottom: 3px solid var(--star-gold);
}

.tab-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--star-gold);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--star-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.recent-activity h3,
.activity-section h3 {
    color: var(--star-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-text {
    font-size: 1.1rem;
}

.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section h3 {
    color: var(--star-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--star-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .path-timeline {
        padding: 0 1rem;
    }
    
    .path-step {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .path-step:hover {
        transform: translateY(-5px);
    }
    
    .daily-word-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .word-linkaitiya {
        font-size: 2rem;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-details {
        grid-template-columns: 1fr;
    }
    
    .profile-tabs {
        flex-wrap: wrap;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* 新增：学习资源样式 */
.learning-resources {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(63, 81, 181, 0.8));
}

.learning-resources .section-title {
    color: var(--star-gold);
    text-align: center;
    margin-bottom: 15px;
}

.learning-resources .section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.resource-card:hover::before {
    transform: translateX(100%);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: var(--star-gold);
}

.resource-card h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}