/* 新版首页样式 */

/* 引入潮字社曾玉波楚风字体 */
@font-face {
    font-family: 'ChaoZiShe-ChuFeng';
    src: url('../fonts/ChaoZiShe-ZengYuBo-ChuFeng.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 全局链接样式 - 去掉蓝紫色 */
a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

a:visited {
    color: rgba(255, 255, 255, 0.8);
}

a:active {
    color: rgba(255, 255, 255, 0.95);
}

/* 性能优化 - 使用GPU加速 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-avatar-new,
.hero-username-new,
.hero-button-simple,
.platform-link-simple,
.modal-content-custom {
    will-change: transform;
}

/* 加载动画优化 */
.loader {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading h2 {
    font-size: 22px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    font-weight: 300;
}

#loading p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* 新版导航栏 - 透明 */
.navbar-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent; /* 完全透明 */
    backdrop-filter: none; /* 去掉模糊 */
}

/* Logo容器 */
.brand-logo-container {
    position: relative;
    overflow: hidden;
    margin-right: 15px;
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Logo扫光效果 */
.brand-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: logoSweep 3s infinite;
    pointer-events: none;
}

@keyframes logoSweep {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

/* 品牌文字容器 */
.brand-text-container {
    display: flex;
    flex-direction: column;
}

.nav-brand-new {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand-new h1 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: none; /* 去掉发光 */
}

.nav-brand-new .subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* 音乐播放器 - 优化版 */
.music-player-new {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 上一曲/下一曲按钮 */
.music-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: scale(1.1);
}

.music-control-btn:active {
    transform: scale(0.95);
}

.music-btn-new {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* 音乐按钮发光效果 */
.music-btn-new::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.music-btn-new:hover::before {
    opacity: 1;
}

.music-btn-new:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
}

.music-btn-new:active {
    transform: scale(0.95);
}

/* 音乐播放时的旋转动画 */
.music-btn-new.playing i {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.music-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#musicTitle {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-seamless 8s linear infinite;
}

/* 无缝循环滚动动画 - 缩短滚动距离，加快速度 */
@keyframes scroll-seamless {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 下滑提示 */
.scroll-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 50;
    animation: bounce 2s infinite;
}

.scroll-hint-text {
    font-size: 14px;
    margin-bottom: 5px;
}

.scroll-hint-icon {
    font-size: 20px;
}

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

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* 新版区块 - 完全居中 */
.section-new {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* 去掉上下padding，完全居中 */
}

/* 英雄区域 */
.hero-content-new {
    text-align: center;
}

/* 依次加载动画 */
.hero-avatar-new {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.hero-username-new {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

.hero-motto-box {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

.hero-welcome {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.hero-buttons-new {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1s;
}

.hero-social-platforms {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-avatar-new {
    margin-bottom: 25px;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(64, 224, 208, 0.5); /* 青绿色边框 */
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.4);
    transition: all 0.3s ease;
    animation: earthBreathing 3s ease-in-out infinite; /* 地球色呼吸发光 */
}

.avatar-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(64, 224, 208, 0.8),
                0 0 60px rgba(30, 144, 255, 0.6); /* 青绿+蓝色 */
}

/* 地球色呼吸发光动画 */
@keyframes earthBreathing {
    0%, 100% {
        box-shadow: 0 0 20px rgba(64, 224, 208, 0.4),    /* 青绿色 Turquoise */
                    0 0 40px rgba(30, 144, 255, 0.3),    /* 蓝色 DodgerBlue */
                    0 0 60px rgba(0, 191, 255, 0.2);     /* 深天蓝 DeepSkyBlue */
        border-color: rgba(64, 224, 208, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(64, 224, 208, 0.6),    /* 青绿色 */
                    0 0 60px rgba(30, 144, 255, 0.5),    /* 蓝色 */
                    0 0 90px rgba(0, 191, 255, 0.3);     /* 深天蓝 */
        border-color: rgba(64, 224, 208, 0.8);
    }
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-username-new h2 {
    font-size: 32px; /* 缩小字体 */
    font-weight: 400; /* 减轻字重 */
    margin-bottom: 20px;
    /* 彩虹渐变色 */
    background: linear-gradient(90deg,
        #ff6b6b 0%,
        #feca57 16.67%,
        #48dbfb 33.33%,
        #1dd1a1 50%,
        #5f27cd 66.67%,
        #ff9ff3 83.33%,
        #ff6b6b 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    font-family: 'ChaoZiShe-ChuFeng', 'Ma Shan Zheng', 'ZCOOL XiaoWei', 'Microsoft YaHei', cursive; /* 潮字社曾玉波楚风字体 */
    animation: rainbowFlow 4s linear infinite, textFloat 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* 彩虹流动动画 */
@keyframes rainbowFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 文字浮动动画 */
@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 人生格言 - 单行显示，超大字体 */
.hero-motto-box {
    max-width: 1200px;
    margin: 0 auto 25px;
    padding: 15px 20px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    height: 100px; /* 单行高度 */
    min-height: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-motto-box p {
    font-size: 48px; /* 超大字体48px，比"星空之旅"(42px)还大 */
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 600;
    text-align: center;
    letter-spacing: 4px;
    white-space: nowrap; /* 单行显示 */
    overflow: hidden;
    text-overflow: ellipsis; /* 超出显示省略号 */
    max-width: 100%;
}

/* 打字机光标 */
.hero-motto-box p.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-welcome {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-weight: 300;
}

/* 按钮组 */
.hero-buttons-new {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

/* 社交平台 - 固定宽度布局 */
.hero-social-platforms {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    max-width: none; /* 去掉最大宽度限制 */
}

/* 底部版权信息 */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    backdrop-filter: none;
    z-index: 100;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 1.4s;
    pointer-events: none;
}

.footer-content-fixed {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-content-fixed p {
    margin: 0 0 8px 0;
}

.footer-beian {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.beian-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}

.beian-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.beian-link i {
    font-size: 10px;
}

.beian-divider {
    color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-social-platforms {
        gap: 12px; /* 移动端间距 */
    }

    .footer-fixed {
        padding: 12px 15px;
    }

    .footer-content-fixed {
        font-size: 10px;
    }

    .beian-link {
        font-size: 9px;
    }

    .footer-beian {
        flex-direction: column;
        gap: 5px;
    }

    .beian-divider {
        display: none;
    }
}

/* 分割线 */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 50px 0;
}

/* 区块标题 */
.section-title-new {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #fff;
}

/* 文章网格 */
.articles-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card-new {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.article-card-new h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.article-card-new p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 查看更多 */
.view-more {
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
}

/* 留言预览 */
.message-preview {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.message-preview p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.message-link-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.message-link-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
}

/* 页脚 */
.footer-new {
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-runtime, .footer-speed {
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar-new {
        padding: 15px 20px;
    }

    .brand-logo {
        height: 35px;
    }

    .brand-logo-container {
        margin-right: 10px;
    }

    .nav-brand-new h1 {
        font-size: 20px;
    }

    .nav-brand-new .subtitle {
        font-size: 10px;
    }

    .music-btn-new {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .music-info {
        display: none;
    }

    .avatar-circle {
        width: 100px;
        height: 100px;
    }

    .hero-username-new h2 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-motto-box p {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hero-welcome {
        font-size: 14px;
    }

    .hero-buttons-new {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-button-simple {
        width: 100%;
        justify-content: center;
    }

    .hero-social-platforms {
        gap: 10px;
    }

    .platform-link-simple {
        padding: 10px 14px;
        width: 70px; /* 平板端宽度 */
        min-width: 70px;
        max-width: 70px;
    }

    .platform-link-simple i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-username-new h2 {
        font-size: 28px;
    }

    .hero-motto-box p {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .hero-social-platforms {
        gap: 8px;
    }

    .platform-link-simple {
        width: 65px; /* 手机端宽度 */
        min-width: 65px;
        max-width: 65px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .platform-link-simple i {
        font-size: 16px;
    }
}

/* ==================== 前端视觉优化 v1.2.0 ==================== */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 优化的加载动画 */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.loader {
    animation: spin 0.8s linear infinite, pulse-glow 2s ease-in-out infinite;
}

/* 头像悬浮动画增强 */
.avatar-circle {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-circle:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
}

/* 按钮悬浮效果增强 */
.hero-button-simple {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-button-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-button-simple:hover::before {
    left: 100%;
}

.hero-button-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-button-simple:active {
    transform: translateY(-1px) scale(0.98);
}

/* 社交平台图标动画增强 */
.platform-link-simple {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.platform-link-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.platform-link-simple:hover::after {
    width: 80%;
}

.platform-link-simple:hover {
    transform: translateY(-5px) scale(1.05);
}

.platform-link-simple:hover i {
    animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 导航栏滚动效果 */
.navbar-new.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* 页面切换动画 */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease-out;
}

.page-transition-exit {
    opacity: 1;
}

.page-transition-exit-active {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

/* 文字渐入动画 */
@keyframes text-reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-username-new h2,
.hero-motto-box p,
.hero-welcome {
    animation: text-reveal 0.8s ease-out forwards;
}

.hero-username-new h2 { animation-delay: 0.2s; }
.hero-motto-box p { animation-delay: 0.4s; }
.hero-welcome { animation-delay: 0.6s; }

/* 骨架屏加载效果 */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

/* 触摸反馈优化 */
@media (hover: none) and (pointer: coarse) {
    .hero-button-simple:active,
    .platform-link-simple:active {
        transform: scale(0.95);
        opacity: 0.8;
    }

    /* 移动端禁用悬浮效果 */
    .hero-button-simple:hover,
    .platform-link-simple:hover {
        transform: none;
    }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    .hero-button-simple {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .hero-button-simple,
    .platform-link-simple {
        border-width: 2px;
    }
}

/* 打印样式 */
@media print {
    #starfield,
    #shooting-stars,
    .navbar-new,
    .music-btn-new {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

