* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
}

:root {
    /* 日间模式颜色（默认） */
    --light-primary-color: #f5a88e;
    --light-secondary-color: #e8a5c1;
    --light-tertiary-color: #f5d5c6;
    --light-text-color: #714e42;
    --light-bg: #fcf1e6;
    --light-card-bg: rgba(255, 247, 240, 0.7);
    --light-shadow: 0 10px 30px rgba(226, 178, 148, 0.2);
    --light-glow: 0 0 20px rgba(245, 168, 142, 0.5);
    --light-alive-color: #c17f91;
    --light-orbit-color: rgba(226, 178, 148, 0.2);
    --light-nav-bg: rgba(252, 241, 230, 0.8);
    --light-border-color: rgba(226, 178, 148, 0.2);
    --light-orb-color: #ff8fb3;
    --light-orb-glow: 0 0 25px rgba(255, 143, 179, 0.8);
    --light-card-text: #4a3429;
    --light-card-title: #3c2a22;
    
    /* 夜间模式颜色 - 暖色调深色版本 */
    --dark-primary-color: #d4956a;
    --dark-secondary-color: #c78b9e;
    --dark-tertiary-color: #b8947a;
    --dark-text-color: #f5e6d3;
    --dark-bg: #1a1410;
    --dark-card-bg: rgba(35, 28, 22, 0.85);
    --dark-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --dark-glow: 0 0 15px rgba(212, 149, 106, 0.3);
    --dark-alive-color: #e8a5c1;
    --dark-orbit-color: rgba(212, 149, 106, 0.15);
    --dark-nav-bg: rgba(26, 20, 16, 0.9);
    --dark-border-color: rgba(212, 149, 106, 0.15);
    --dark-orb-color: #d4956a;
    --dark-orb-glow: 0 0 20px rgba(212, 149, 106, 0.5);
    --dark-card-text: #f5e6d3;
    --dark-card-title: #f5e6d3;
    
    /* 默认使用日间模式变量 */
    --primary-color: var(--light-primary-color);
    --secondary-color: var(--light-secondary-color);
    --tertiary-color: var(--light-tertiary-color);
    --text-color: var(--light-text-color);
    --bg: var(--light-bg);
    --card-bg: var(--light-card-bg);
    --shadow: var(--light-shadow);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --glow: var(--light-glow);
    --alive-color: var(--light-alive-color);
    --orbit-color: var(--light-orbit-color);
    --nav-bg: var(--light-nav-bg);
    --border-color: var(--light-border-color);
    --orb-color: var(--light-orb-color);
    --orb-glow: var(--light-orb-glow);
    --card-text: var(--light-card-text);
    --card-title: var(--light-card-title);
}

/* 夜间模式样式 */
body.dark-theme {
    --primary-color: var(--dark-primary-color);
    --secondary-color: var(--dark-secondary-color);
    --tertiary-color: var(--dark-tertiary-color);
    --text-color: var(--dark-text-color);
    --bg: var(--dark-bg);
    --card-bg: var(--dark-card-bg);
    --shadow: var(--dark-shadow);
    --glow: var(--dark-glow);
    --alive-color: var(--dark-alive-color);
    --orbit-color: var(--dark-orbit-color);
    --nav-bg: var(--dark-nav-bg);
    --border-color: var(--dark-border-color);
    --orb-color: var(--dark-orb-color);
    --orb-glow: var(--dark-orb-glow);
    --card-text: var(--dark-card-text);
    --card-title: var(--dark-card-title);
}

body {
    background: var(--bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
    position: relative;
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: color 0.3s;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s;
}

/* 容器样式 */
.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding-top: 6rem;
}

/* 页面通用头部 */
.page-header {
    text-align: center;
    margin: 2rem 0 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), rgba(113, 78, 66, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

body.dark-theme .page-title {
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(113, 78, 66, 0.7);
    letter-spacing: 1px;
}

body.dark-theme .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* 项目时间线样式 */
.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

.current-date {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.date-marker {
    width: 20px;
    height: 20px;
    background: var(--alive-color);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 15px var(--alive-color);
    position: relative;
    z-index: 2;
}

.date-marker::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--alive-color), transparent);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.date-content {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    color: var(--alive-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 3rem; /* 使时间线从顶部开始，并增加顶部间距 */
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--orbit-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 2rem;
    left: 30%;
    margin-right: 1.5rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-right: 2rem;
    right: 30%;
    margin-left: 1.5rem;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 10px var(--glow);
    transition: all 0.3s ease-in-out;
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 15px var(--glow);
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.4;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-date {
    left: 52%;
    text-align: left;
}

.timeline-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    width: 45%;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

/* 时间线完成项目背景图片 */
.timeline-bg-image {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.timeline-content h3,
.timeline-content p,
.timeline-content .timeline-tags {
    position: relative;
    z-index: 1;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--card-title);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--card-text);
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.tag-milestone {
    background: rgba(212, 149, 106, 0.15);
    color: var(--primary-color);
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
}

.tag-development {
    background: rgba(199, 139, 158, 0.15);
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.tag-start {
    background: rgba(245, 168, 142, 0.2);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tag-planning {
    background: rgba(184, 148, 122, 0.15);
    color: var(--tertiary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.tag-special {
    background: rgba(54, 241, 205, 0.1);
    color: var(--alive-color);
    box-shadow: 0 0 8px rgba(54, 241, 205, 0.2);
}

body:not(.dark-theme) .tag-milestone,
body:not(.dark-theme) .tag-development,
body:not(.dark-theme) .tag-start,
body:not(.dark-theme) .tag-planning {
    color: #4a3429;
}

.timeline-item-special .timeline-dot {
    background: var(--alive-color);
    box-shadow: 0 0 15px var(--alive-color);
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

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

/* 响应式设计 - 项目时间线 */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        left: 0;
        right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        top: -30px;
        left: 80px;
        right: auto;
        text-align: left;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        width: 80%;
        height: 100vh;
        padding-top: 5rem;
        transition: left 0.3s ease;
        z-index: 900;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .theme-toggle-icon {
        font-size: 1.3rem;
    }
    
    body.dark-theme .nav-menu {
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding-top: 5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

body:not(.dark-theme) .timeline-content h3 {
    color: #3c2a22;
}

body:not(.dark-theme) .timeline-content p {
    color: #4a3429;
}

body:not(.dark-theme) .timeline-date {
    color: rgba(74, 52, 41, 0.8);
}

body:not(.dark-theme) .page-title {
    color: #3c2a22;
}

body:not(.dark-theme) .page-subtitle {
    color: #4a3429;
}

.timeline-item-special .timeline-dot {
    background: var(--alive-color);
    box-shadow: 0 0 15px var(--alive-color);
}

@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        left: 0;
        right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        top: -30px;
        left: 80px;
        right: auto;
        text-align: left;
        transform: none;
    }
} 

/* 悬浮装饰元素 */
.floating-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.stars-decoration {
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    top: 23%;
    right: 32%;
    transform: rotate(15deg);
    animation: twinkle 4s ease-in-out infinite;
}

.stars-small {
    width: 15px;
    height: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    top: 45%;
    left: 32%;
    transform: rotate(45deg);
    animation: twinkle 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.stars-tiny {
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    top: 17%;
    left: 22%;
    transform: rotate(30deg);
    animation: twinkle 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.stars-medium {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    bottom: 18%;
    left: 28%;
    transform: rotate(60deg);
    animation: twinkle 6s ease-in-out infinite;
    animation-delay: 2s;
}

.stars-tiny-2 {
    width: 12px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    top: 38%;
    right: 18%;
    transform: rotate(20deg);
    animation: twinkle 4.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.stars-small-2 {
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    bottom: 28%;
    right: 24%;
    transform: rotate(75deg);
    animation: twinkle 5.5s ease-in-out infinite;
    animation-delay: 3s;
}

/* 页脚装饰 */
.footer-decoration {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.footer-cat {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,20 A30,30 0 1,0 80,50 A20,30 0 0,1 50,20" fill="%23f5a88e" stroke="%23c17f91" stroke-width="2" /><circle cx="65" cy="40" r="2" fill="%23714e42" /><circle cx="75" cy="50" r="2" fill="%23714e42" /><path d="M67,55 Q70,58 73,55" fill="none" stroke="%23714e42" stroke-width="2" stroke-linecap="round" /><path d="M55,35 L60,30 M80,45 L85,42" stroke="%23c17f91" stroke-width="2" stroke-linecap="round" /></svg>');
    background-repeat: no-repeat;
    animation: gentle-bounce 2s ease-in-out infinite;
}

.footer-star {
    width: 15px;
    height: 15px;
    margin: 0 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2 L15,8 L21,9 L16.5,14 L18,20 L12,17 L6,20 L7.5,14 L3,9 L9,8 Z" fill="%23f5a88e" stroke="%23c17f91" stroke-width="0.5" /></svg>');
    background-repeat: no-repeat;
    animation: twinkle 3s ease-in-out infinite;
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) rotate(15deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(25deg);
    }
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 暖色背景装饰 */
.warm-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 168, 142, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.warm-glow.top-left {
    top: -100px;
    left: -100px;
}

.warm-glow.bottom-right {
    bottom: -100px;
    right: -100px;
}

/* 项目页面专用装饰 */
.timeline-item {
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-content {
    position: relative;
}

.timeline-content:hover::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,20 A30,30 0 1,0 80,50 A20,30 0 0,1 50,20" fill="%23f5a88e" stroke="%23c17f91" stroke-width="2" /></svg>');
    background-repeat: no-repeat;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: gentle-bounce 2s ease-in-out infinite;
    z-index: 10;
}

.timeline-dot {
    transition: box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 15px rgba(245, 168, 142, 0.8);
}

/* 小屏幕调整 */
@media (max-width: 768px) {
    .floating-decoration {
        display: none;
    }
    
    .footer-decoration {
        height: 30px;
    }
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-color);
    border: none;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 50px;
    pointer-events: none;
}

.btn-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border-radius: 50px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-glass span {
    position: relative;
    z-index: 2;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-glass:hover::after {
    opacity: 0.8;
}

.btn-glass:active {
    transform: translateY(0);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-theme .btn-glass {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

body.dark-theme .btn-glass::before {
    background: linear-gradient(
        180deg,
        rgba(212, 149, 106, 0.3) 0%,
        rgba(199, 139, 158, 0.15) 50%,
        rgba(184, 148, 122, 0.08) 100%
    );
}

body.dark-theme .btn-glass::after {
    background: linear-gradient(
        135deg,
        rgba(212, 149, 106, 0.08) 0%,
        transparent 50%,
        rgba(199, 139, 158, 0.05) 100%
    );
}

body.dark-theme .btn-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.12),
        0 8px 30px rgba(0, 0, 0, 0.3);
} 