/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 设置不透明度为70%，增强毛玻璃效果 */
    background: rgba(255, 255, 255, 0.7);
    /* 毛玻璃核心效果 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* 兼容Safari */
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    /* 增加细微边框和阴影增强层次感 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: url('../images/starfish.png');
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 18px;
    /* 为logo添加轻微阴影增强层次感 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.logo-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
}

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

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #666;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
}

.nav-link[data-color="green"] { background: #27ae60; color: white; }
.nav-link[data-color="blue"] { background: #3498db; color: white; }
.nav-link[data-color="orange"] { background: #f39c12; color: white; }
.nav-link[data-color="purple"] { background: #9b59b6; color: white; }
.nav-link[data-color="cyan"] { background: #1abc9c; color: white; }

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 首屏样式 */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: #27ae60;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* 简介区域样式 */
.intro-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.intro-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
}

.intro-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 500;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.intro-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.latest-weekly h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #27ae60;
    color: white;
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 快速导航样式 */
.quick-nav h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 500;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.nav-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.nav-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.nav-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 5px;
}

.footer a {
    color: #3498db;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: #3498db;
    transition: 
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.footer a:hover::after,
.footer a:focus::after {
    width: 100%;
    left: 0; 
    opacity: 1;
}

.no-copy-interaction-with-default-cursor {
    cursor: default !important; /* 强制光标为默认箭头 */
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Standard syntax */
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-links .nav-link {
        margin: 8px 0;
        text-align: center;
        padding: 12px 20px;
        border-radius: 8px;
    }
    
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        color: #2c3e50;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background-color: rgba(0,0,0,0.1);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-card {
        padding: 30px 20px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

