* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow: hidden;
    position: relative;
    cursor: default;
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/normal.cur), auto;
}

a {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur), auto
}
 
a:active {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/work.cur), alias
}
 
p {
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
}
 
span {
   cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur), auto;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 音乐逻辑 */
.music-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.music-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.music-button.active {
    background: rgba(100, 65, 165, 0.5);
    box-shadow: 0 0 20px rgba(100, 65, 165, 0.8);
}

.music-icon {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.music-button.active .music-icon {
    transform: scale(1.2);
}

/* 侧边栏遮罩 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 左侧边栏样式 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 320px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 99;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* 侧边栏头像区域 */
.sidebar-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
}

.sidebar-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.sidebar-avatar .avatar {
    width: 100px;
    height: 100px;
}

.sidebar-avatar .ring-1 {
    width: 110px;
    height: 110px;
}

.sidebar-avatar .ring-2 {
    width: 120px;
    height: 120px;
}

.sidebar-avatar .ring-3 {
    width: 130px;
    height: 130px;
}

.sidebar-avatar .pulse-ring {
    width: 140px;
    height: 140px;
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.sidebar-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    border-radius: 2px;
}

/* 个性标签样式 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 60秒读懂世界样式 */
.read-world-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.world-img-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

.world-img {
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.world-img:hover {
    transform: scale(1.02);
}

.loading-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* 日期时间样式 */
.sidebar-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.main-footer-time {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-align: center;
    padding: 8px 15px;
    backdrop-filter: blur(5px);
}

/* 视频背景 */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
    transition: filter 1s ease;
}

body:hover .bg-video {
    filter: brightness(0.65);
}

/* 鼠标跟随圆环 - 修复版 */
.mouse-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 1000;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease,
                box-shadow 0.2s ease;
    mix-blend-mode: screen;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%); /* 中心点对齐 */
}

/* 静止状态 - 更紧密包裹鼠标 */
.mouse-follower.idle {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* 点击状态 - 放大效果 */
.mouse-follower.clicked {
    width: 120px;
    height: 120px;
    opacity: 0.7;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
}

/* 鼠标拖尾效果 */
.trail-container {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999; /* 低于主圆环 */
}

.trail {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    background-size: 200% 200%;
    animation: trailGradient 3s ease infinite;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    box-shadow: 0 0 10px currentColor;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes trailGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.trail.fade {
    opacity: 0;
    width: 15px;
    height: 15px;
}

/* 头像容器 */
.avatar-container {
    position: relative;
    margin-bottom: 15px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 多层旋转光环 */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(to right, #6441A5, #2a0845) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate linear infinite;
    box-shadow: 0 0 30px currentColor; /* 光晕效果 */
}

.ring-1 {
    width: 160px;
    height: 160px;
    animation-duration: 8s;
    opacity: 0.8;
    color: rgba(100, 65, 165, 0.6);
}

.ring-2 {
    width: 180px;
    height: 180px;
    animation-duration: 12s;
    animation-direction: reverse;
    opacity: 0.6;
    background: linear-gradient(to right, #FF512F, #F09819) border-box;
    color: rgba(255, 81, 47, 0.6);
}

.ring-3 {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
    opacity: 0.4;
    background: linear-gradient(to right, #00C9FF, #92FE9D) border-box;
    color: rgba(0, 201, 255, 0.6);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 脉冲效果环 */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

/* 头像样式 */
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.avatar-container:hover .avatar {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
}

/* 文字区域 */
.text-container {
    text-align: center;
    margin: 20px 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-text {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 80%;
    margin: 0 auto;
}

.custom-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.text-container:hover .custom-text {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.4);
}

/* 连接线样式 */
.connect-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
    margin: 0 auto;
    transition: height 0.3s ease;
}

.text-container:hover .connect-line {
    height: 40px;
}

.line-group {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
}

.small-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.text-container:hover .small-line {
    width: 50px;
    background: rgba(255,255,255,0.8);
}

/* 按钮组 */
.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 1s;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.action-btn::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: all 0.5s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:active {
    transform: translateY(-2px);
}

/* 装饰元素 */
.decor {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: floatRandom 15s infinite ease-in-out;
}

.decor-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-duration: 18s;
}

.decor-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: 2s;
}

.decor-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
    animation-duration: 15s;
    animation-delay: 4s;
}

@keyframes floatRandom {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -10px) rotate(5deg); }
    50% { transform: translate(10px, 20px) rotate(0deg); }
    75% { transform: translate(-15px, 10px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    
    .sidebar {
        width: 260px;
        padding: 20px 15px;
    }
    
    .sidebar-avatar {
        width: 80px;
        height: 80px;
    }
    
    .sidebar-avatar .avatar {
        width: 80px;
        height: 80px;
    }
    
    .sidebar-avatar .ring-1 {
        width: 90px;
        height: 90px;
    }
    
    .sidebar-avatar .ring-2 {
        width: 100px;
        height: 100px;
    }
    
    .sidebar-avatar .ring-3 {
        width: 110px;
        height: 110px;
    }
    
    .sidebar-avatar .pulse-ring {
        width: 120px;
        height: 120px;
    }
    
    .world-img-wrapper {
        max-height: 150px;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .ring-1 { width: 130px; height: 130px; }
    .ring-2 { width: 150px; height: 150px; }
    .ring-3 { width: 170px; height: 170px; }
    .pulse-ring { width: 190px; height: 190px; }

    .custom-text { font-size: 16px; }
    .button-group { gap: 15px; }
    .action-btn { padding: 10px 20px; font-size: 14px; }
    .line-group { gap: 25px; }
    
    .decor-1 { width: 70px; height: 70px; }
    .decor-2 { width: 100px; height: 100px; }
    .decor-3 { width: 50px; height: 50px; }
    
    /* 移动端简化拖尾效果 */
    .trail {
        width: 6px;
        height: 6px;
    }
    .trail.fade {
        width: 10px;
        height: 10px;
    }

    /* 移动端时间样式调整 */
    .main-footer-time {
        font-size: 14px;
        bottom: 15px;
    }
}

/* 视频加载优化 */
video {
    object-fit: cover;
}

/* 视频加载失败时显示备用图片 */
video::after {
    content: '';
    background-size: cover;
    background-position: center;
}

/* 顶部音乐可视化样式 */
.audio-visualizer-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; /* 高度适中 */
    display: flex;
    align-items: flex-end;
    justify-content: center; /* 水平居中 */
    gap: 2px;
    padding: 0 10px;
    z-index: 10; /* 确保在内容上方但不遮挡侧边栏 */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* 不影响点击交互 */
}

/* 激活状态（播放音乐时显示） */
.audio-visualizer-top.active {
    opacity: 1;
}

/* 可视化柱形样式 */
.visualizer-bar-top {
    width: 3px;
    background: linear-gradient(to top, #6441A5, #2a0845);
    border-radius: 1px;
    transition: height 0.1s ease;
    max-height: 100%; /* 不超过容器高度 */
}

/* 响应式调整（和主元素宽度保持一致） */
@media (max-width: 768px) {
    .audio-visualizer-top {
        max-width: 90%; /* 移动端放宽限制 */
        left: 50%;
        transform: translateX(-50%);
    }
}