/* 基础样式 */
:root {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #3498db;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(52, 152, 219, 0.1);
    --font-primary: 'ZCOOL KuaiLe', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --font-heading: 'ZCOOL KuaiLe', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定导航栏预留空间 */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 100%),
        radial-gradient(2px 2px at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
        radial-gradient(2px 2px at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    background-size: 50px 50px, 100px 100px, 150px 150px;
    background-position: 0 0;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    background-size: 250px 250px, 200px 200px, 150px 150px, 300px 300px;
    animation: starfield 60s linear infinite;
}

@keyframes starfield {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}


/* 博客卡片样式 */
.blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 1rem;
}

.blog-post {
    transition: transform 0.3s ease;
}

.blog-card {
    display: block;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-thumbnail {
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-content {
    padding: 1.5rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9em;
    color: var(--text-muted);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

/* 悬停效果 */
.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post:hover .blog-thumbnail img {
    transform: scale(1.05);
}

/* 加载状态 */
.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

nav:hover {
    background: rgba(17, 17, 17, 0.4);
    border-bottom-color: rgba(52, 152, 219, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav ul li a:hover::before,
nav ul li a.active::before {
    width: 80%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    transform: translateY(-2px);
}

nav ul li a.join-channel {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

nav ul li a.join-channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(45deg, #2ecc71, #3498db);
}

nav ul li a.join-channel::before {
    display: none;
}

nav ul li a.join-channel i {
    margin-right: 5px;
}

/* 内容区域 */
.content {
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

/* 页面部分 */
.section {
    padding: 2rem 1rem;
    opacity: 1;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 首页样式 */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    animation: slideUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(52, 152, 219, 0.1) 0%,
        transparent 50%
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    object-fit: cover;
    border: 3px solid rgba(52, 152, 219, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: morphing 10s linear infinite;
    box-shadow: 
        0 0 30px rgba(52, 152, 219, 0.3),
        inset 0 0 20px rgba(52, 152, 219, 0.2);
    filter: brightness(1.1) contrast(1.1);
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero-avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(52, 152, 219, 0.4) 0%,
        rgba(52, 152, 219, 0.1) 50%,
        transparent 70%
    );
    filter: blur(15px);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
    mix-blend-mode: screen;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emoji-wrapper {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.hero-text h1 {
    font-size: 4rem;
    background: linear-gradient(120deg, 
        #ffffff 0%,
        var(--accent-color) 25%,
        #2ecc71 50%,
        #9b59b6 75%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
    text-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    position: relative;
}

.hero-text h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(120deg,
        rgba(52, 152, 219, 0.2) 0%,
        rgba(46, 204, 113, 0.2) 50%,
        rgba(155, 89, 182, 0.2) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(8px);
    opacity: 0.8;
}

.hero-description {
    margin: 1.5rem 0;
}

.subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.subtitle::before,
.subtitle::after {
    content: '"';
    position: absolute;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.subtitle::before {
    left: -1.5rem;
    top: -0.5rem;
}

.subtitle::after {
    right: -1.5rem;
    bottom: -0.5rem;
}

.role-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.role-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.role-tag:hover {
    transform: translateY(-2px);
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.role-tag i {
    color: var(--accent-color);
}

.typing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.typing-prefix {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.typing-text {
    font-size: 1.8rem;
    background: linear-gradient(45deg,
        var(--text-primary) 10%,
        var(--accent-color) 30%,
        #2ecc71 50%,
        #9b59b6 70%,
        var(--text-primary) 90%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    position: relative;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.typing-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%
    );
    animation: line-shine 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

@keyframes line-shine {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-link.primary {
    background: var(--accent-color);
    color: white;
}

.hero-link.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-link:hover {
    transform: translateY(-2px);
}

.hero-link.primary:hover {
    background: #2980b9;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.hero-link.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-stack {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(52, 152, 219, 0.1) 0%,
        transparent 50%
    );
    animation: rotate 15s linear infinite;
}

.tech-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
}

.tech-item:hover::before {
    transform: translateX(100%);
}

.tech-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.2) rotate(360deg);
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-avatar-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .typing-prefix,
    .typing-text {
        font-size: 1.5rem;
    }
    
    .tech-stack {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .role-tags {
        gap: 0.5rem;
    }
    
    .role-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .typing-prefix,
    .typing-text {
        font-size: 1.2rem;
    }
    
    .hero-links {
        flex-direction: column;
    }
    
    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* 卡片基础样式 */
.card {
    position: relative;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    background: transparent;
    border: none;
    border-radius: 12px;
}

.card:hover {
    background: transparent;
    box-shadow: none;
}

.card h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.card:hover h2::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 技能卡片网格 */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin: 1rem 0 1.5rem;
}

/* 技能卡片 */
.skill-card {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    background: transparent;
    border: none;
    transform: translateY(-2px);
}

.skill-card i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 0.3rem;
}

.skill-card h4 {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0;
}

/* 项目卡片 */
.project-card {
    position: relative;
    padding: 1.2rem;
    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    break-inside: avoid;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(17, 17, 17, 0.4);
}

.project-image {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.project-image:hover {
    transform: scale(1.02);
}

.project-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-tech i {
    color: #3498db;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background: var(--hover-color);
    border-color: var(--accent-color);
}

.project-links i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-tech span {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .project-links a {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 1rem;
    }

    .project-tech {
        gap: 0.6rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-links a {
        width: 100%;
        justify-content: center;
    }
}

/* 联系方式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-10px);
    border-color: var(--text-primary);
    box-shadow: 0 10px 30px -15px rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section {
        padding: 2.5rem 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-avatar {
        width: 120px;
        height: 120px;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .card h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
        margin: 0.8rem 0 1.2rem;
    }

    .skill-card {
        padding: 0.6rem;
    }

    .skill-card i {
        font-size: 1.2rem;
    }

    .skill-card h4 {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 0.8rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-avatar {
        width: 100px;
        height: 100px;
    }

    .card h2 {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin: 0.6rem 0 1rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 17, 17, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 152, 219, 0.5);
}

/* 关于我部分样式 */
.about-content {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.about-section {
    margin-bottom: 1.5rem;
}

.about-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.about-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.about-section blockquote {
    border-left: 2px solid var(--text-primary);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.about-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* 性格特征部分 */
.personality-section {
    margin-bottom: 0;
    background: rgba(17, 17, 17, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.personality-section:hover {
    background: rgba(17, 17, 17, 0.4);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.personality-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.personality-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.personality-subtitle {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 1rem;
    font-family: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.personality-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.personality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.personality-item {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.personality-item:hover {
    background: transparent;
    border: none;
    transform: translateY(-3px);
}

.personality-item .trait {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    background: #3498db;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.personality-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.personality-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.personality-image {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 180px;
    height: 180px;
    opacity: 0.9;
    object-fit: contain;
}

/* 技能部分 */
.skills-section {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
}

.skills-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.skill-card {
    padding: 0.8rem;
}

.skill-card i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.skill-card h4 {
    font-size: 0.8rem;
}

/* 联系方式 */
.about-contact {
    margin-top: 1.5rem;
    background: rgba(17, 17, 17, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.about-contact:hover {
    background: rgba(17, 17, 17, 0.4);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(17, 17, 17, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(17, 17, 17, 0.4);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-link i {
    font-size: 1.2rem;
    color: #3498db;
}

@media (max-width: 480px) {
    .about-contact {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .contact-link {
        padding: 0.6rem;
    }
}

/* 响应式调整 */
@media (max-width: 1280px) {
    .content {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .content {
        max-width: 90%;
        padding: 1rem;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .personality-section {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }

    .personality-name {
        font-size: 1.6rem;
    }

    .personality-subtitle {
        font-size: 1.4rem;
    }

    .personality-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .personality-item {
        padding: 0.8rem;
    }

    .personality-image {
        width: 120px;
        height: 120px;
        top: 1rem;
        right: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .skill-card {
        padding: 0.6rem;
    }

    .skill-card i {
        font-size: 1.2rem;
    }

    .skill-card h4 {
        font-size: 0.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .content {
        max-width: 95%;
        padding: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-avatar {
        width: 100px;
        height: 100px;
    }

    .personality-section {
        padding: 1rem;
    }

    .personality-name {
        font-size: 1.4rem;
    }

    .personality-subtitle {
        font-size: 1.2rem;
    }

    .personality-image {
        width: 80px;
        height: 80px;
        top: 0.8rem;
        right: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .about-section h3 {
        font-size: 1.1rem;
    }

    .about-section p,
    .about-list li {
        font-size: 0.9rem;
    }

    .project-card {
        padding: 1rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project-links a {
        width: 100%;
        text-align: center;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.contact-link i {
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.skills-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.skills-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.personality-section {
    margin-bottom: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.about-contact {
    margin-top: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.about-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.personality-section {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.personality-grid {
    margin-top: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-info {
        order: 1;
    }

    .personality-section {
        order: 2;
        margin-top: 1.5rem;
        height: auto;
    }

    .about-contact {
        order: 3;
    }

    .personality-grid {
        margin-top: 1.5rem;
    }

    .personality-image {
        width: 140px;
        height: 140px;
        top: 1rem;
        right: 1rem;
    }

    .personality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-main {
        gap: 1rem;
    }

    .personality-image {
        width: 100px;
        height: 100px;
        top: 0.8rem;
        right: 0.8rem;
    }

    .personality-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

.about-section p i {
    font-size: 1.1em;
    margin: 0 0.2em;
    color: #3498db;
    transition: all 0.3s ease;
}

.about-section p i:hover {
    transform: scale(1.2);
}

@media (max-width: 480px) {
    .about-section p i {
        font-size: 1em;
        margin: 0 0.15em;
    }
}

#projects .card {
    columns: 2;
    column-gap: 1.5rem;
}

@media (max-width: 768px) {
    #projects .card {
        columns: 1;
    }
    
    .project-image {
        max-height: 180px;
    }
}

@media (max-width: 480px) {
    .project-image {
        max-height: 150px;
    }
    
    .project-card {
        padding: 1rem;
    }
}

.private-project {
    background: rgba(17, 17, 17, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid var(--border-color) !important;
    opacity: 0.8;
    cursor: default;
}

.private-project:hover {
    transform: none !important;
    border-color: var(--border-color) !important;
}

.project-card:not(:has(.project-image)) {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
}

.project-card:not(:has(.project-image)):hover {
    background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
}

.star-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.star-count i {
    color: #f1c40f;
}

.star-count img {
    height: 18px;
}

@media (max-width: 480px) {
    .star-count {
        padding: 0.3rem 0.6rem;
    }
    
    .star-count img {
        height: 16px;
    }
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(52, 152, 219, 0.1),
        rgba(46, 204, 113, 0.1),
        rgba(155, 89, 182, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-item:hover {
    background: rgba(17, 17, 17, 0.4);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.award-item:hover::before {
    opacity: 1;
}

.award-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.award-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.award-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.award-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .award-item {
        padding: 1.2rem;
    }
    
    .award-item i {
        font-size: 1.5rem;
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .award-item i {
        font-size: 1.3rem;
        padding: 0.5rem;
    }
    
    .award-content h4 {
        font-size: 1rem;
    }
    
    .award-content p {
        font-size: 0.9rem;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card, .skill-card, .personality-section, .award-item, .contact-link {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@media (max-width: 480px) {
    .card, .skill-card, .personality-section, .award-item, .contact-link {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}

/* 页尾样式 */
footer {
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-99%);
    z-index: -1;
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: -7px;
}

.wave-parallax {
    animation: wave-move 15s cubic-bezier(.55,.5,.45,.5) infinite;
}

.wave-parallax:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 17s;
}

.wave-parallax:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 20s;
}

@keyframes wave-move {
    0% { transform: translate3d(-90px,0,0); }
    50% { transform: translate3d(85px,0,0); }
    100% { transform: translate3d(-90px,0,0); }
}

.footer-content {
    position: relative;
    padding: 2rem 1rem;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(120deg, 
        #ffffff 0%,
        var(--accent-color) 50%,
        #2ecc71 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-link i {
    color: var(--accent-color);
}

.footer-link img {
    height: 16px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-link:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-waves {
        height: 60px;
    }
    
    .waves {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-link {
        width: 100%;
        justify-content: center;
    }
}

/* 博客部分样式 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
}

.blog-post {
    position: relative;
    background: rgba(17, 17, 17, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    background: rgba(17, 17, 17, 0.25);
    transform: translateY(-6px);
    border-color: var(--accent-color);
}

.blog-post h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0 0 1.8rem 0;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.blog-post .post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.blog-post .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post .post-meta i {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.blog-post .post-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    position: relative;
}

.blog-post .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    align-self: flex-start;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.blog-post .read-more:hover {
    color: var(--accent-color);
    opacity: 1;
    gap: 1.2rem;
}

.blog-post .read-more i {
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.loading-spinner i {
    margin-right: 1rem;
    color: var(--accent-color);
    animation: spin 1s linear infinite;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.error-message i {
    margin-right: 1rem;
    color: #e74c3c;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-post {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 1.8rem;
    }
    
    .blog-post h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-post .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 移动端导航栏优化 */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    nav ul li a.join-channel {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0.8rem 1rem;
        display: flex;
        justify-content: flex-end;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    nav ul li {
        margin-bottom: 0.3rem;
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    nav ul li a.join-channel {
        padding: 0.3rem 0.8rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.6rem 0.8rem;
    }
    
    nav ul {
        gap: 0.3rem;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    nav ul li a.join-channel {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
    
    nav ul li a.join-channel i {
        margin-right: 3px;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    nav ul li a.join-channel {
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0.8rem 1rem;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.6rem 0.8rem;
    }
    
    .menu-toggle {
        font-size: 1.3rem;
    }
    
    nav ul {
        width: 85%;
        padding: 4rem 1.5rem;
    }
}