* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* 移除按钮和链接的点击高亮，优化点击响应 */
a, button, .action-btn, .menu-toggle, .music-button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    touch-action: manipulation; /* 移除300ms点击延迟 */
    user-select: none;
    -webkit-user-select: none;
}

/* GPU加速优化 */
.avatar-container,
.ring,
.pulse-ring,
.bg-video,
.sidebar,
.decor {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    cursor: default;
    cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/normal.cur), auto;
}

/* 自定义滚动条 */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
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.25s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch; /* iOS滚动优化 */
}
.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);
}

.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: relative;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-align: center;
    padding: 8px 15px;
    backdrop-filter: blur(5px);
}

.site-footer {
    position: relative;
    width: 100%;
    margin-top: auto;
    padding: 20px 20px;
    background: transparent;
}
.footer-content {
    text-align: center;
}
.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}
.footer-info {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.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);
    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);
}

.avatar-name {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    text-align: center;
    z-index: 10;
}

.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;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 1s;
    width: 100%;
    max-width: 400px;
    padding: 0 15px;
}
.action-btn {
    padding: 24px 22px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.1s ease-out, background 0.1s ease-out, box-shadow 0.1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    will-change: transform, background;
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.btn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}
.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.btn-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: normal;
}
.btn-number {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    flex-shrink: 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.35);
    transform: translateX(5px) translateZ(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.action-btn:hover .btn-number {
    color: rgba(100, 65, 165, 0.8);
}
.action-btn:hover::before {
    left: 100%;
}
.action-btn:active {
    transform: scale(0.98) translateZ(0);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.05s ease-out, background 0.05s ease-out;
}

.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;
    }
    .avatar {
        width: 130px;
        height: 130px;
    }
    .ring-1 { width: 145px; height: 145px; }
    .ring-2 { width: 165px; height: 165px; }
    .ring-3 { width: 185px; height: 185px; }
    .pulse-ring { width: 205px; height: 205px; }
    .avatar-name { font-size: 24px; bottom: -40px; }
    .custom-text { font-size: 18px; padding: 6px 16px; }
    .button-group { 
        gap: 10px;
        max-width: 350px;
    }
    .action-btn { 
        padding: 20px 18px;
        border-radius: 22px;
    }
    .btn-title {
        font-size: 14px;
    }
    .btn-desc {
        font-size: 11px;
    }
    .btn-number {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .menu-toggle {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 15px;
    }
    .sidebar {
        width: 85vw;
        max-width: 300px;
        padding: 20px 15px;
        padding-bottom: 80px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sidebar::-webkit-scrollbar {
        width: 6px;
    }
    .sidebar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.4);
        border-radius: 3px;
    }
    .sidebar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }
    .sidebar-avatar {
        width: 70px;
        height: 70px;
    }
    .sidebar-avatar .avatar {
        width: 70px;
        height: 70px;
    }
    .sidebar-avatar .ring-1 {
        width: 80px;
        height: 80px;
    }
    .sidebar-avatar .ring-2 {
        width: 90px;
        height: 90px;
    }
    .sidebar-avatar .ring-3 {
        width: 100px;
        height: 100px;
    }
    .sidebar-avatar .pulse-ring {
        width: 110px;
        height: 110px;
    }
    .world-img-wrapper {
        max-height: none;
        min-height: 150px;
        margin-bottom: 20px;
    }
    .world-img {
        max-width: 100%;
        height: auto;
    }
    .read-world-section {
        padding-bottom: 30px;
    }
    .avatar {
        width: 100px;
        height: 100px;
    }
    .ring-1 { width: 115px; height: 115px; }
    .ring-2 { width: 130px; height: 130px; }
    .ring-3 { width: 145px; height: 145px; }
    .pulse-ring { width: 160px; height: 160px; }
    .avatar-name { font-size: 22px; bottom: -35px; }
    .custom-text { 
        font-size: 14px; 
        padding: 6px 14px;
        max-width: 90%;
    }
    .button-group { 
        gap: 8px; 
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    .action-btn { 
        padding: 18px 16px;
        border-radius: 20px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.25);
        transition: none;
    }
    .btn-dot {
        width: 6px;
        height: 6px;
    }
    .btn-title {
        font-size: 13px;
    }
    .btn-desc {
        font-size: 10px;
    }
    .btn-number {
        font-size: 14px;
    }
    .action-btn:active {
        transform: scale(0.98) translateZ(0);
        background: rgba(255, 255, 255, 0.5);
        transition: none;
    }
    .line-group { gap: 20px; }
    .small-line { width: 30px; }
    .connect-line { height: 20px; }
    .decor-1 { width: 60px; height: 60px; }
    .decor-2 { width: 80px; height: 80px; }
    .decor-3 { width: 40px; height: 40px; }
    
    .main-footer-time {
        font-size: 12px;
        margin-top: 20px;
        padding: 6px 12px;
    }
    .site-footer {
        margin-top: auto;
        padding: 15px 15px;
    }
    .footer-copyright {
        font-size: 11px;
    }
    .footer-info {
        font-size: 10px;
    }
    
    /* 移动端隐藏鼠标跟随效果 */
    .mouse-follower,
    .trail-container,
    .trail {
        display: none !important;
    }
    
    /* 移动端减少动画，优化性能 */
    .decor {
        animation: none !important;
    }
    .ring {
        animation-duration: 20s !important;
    }
    .pulse-ring {
        animation-duration: 6s !important;
    }
    .avatar-container {
        animation-duration: 8s !important;
    }
    
    .music-button {
        width: 46px;
        height: 46px;
        bottom: 15px;
        right: 15px;
    }
    .music-icon {
        font-size: 20px;
    }
    
    .text-container {
        margin: 15px 0;
    }
    
    .tags-container {
        gap: 8px;
    }
    .tag {
        padding: 5px 10px;
        font-size: 12px;
    }
    .sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .profile-name {
        font-size: 16px;
    }
    .profile-desc {
        font-size: 13px;
    }
}


/* 超小屏幕适配 */
@media (max-width: 360px) {
    .avatar {
        width: 85px;
        height: 85px;
    }
    .ring-1 { width: 100px; height: 100px; }
    .ring-2 { width: 115px; height: 115px; }
    .ring-3 { width: 130px; height: 130px; }
    .pulse-ring { width: 145px; height: 145px; }
    .avatar-name { font-size: 20px; bottom: -30px; }
    .custom-text { font-size: 13px; }
    .action-btn { 
        padding: 16px 14px;
        border-radius: 18px;
    }
    .button-group {
        gap: 6px;
    }
    .btn-title {
        font-size: 12px;
    }
    .btn-desc {
        font-size: 9px;
    }
    .sidebar {
        width: 90vw;
        padding-bottom: 80px;
    }
    .world-img-wrapper {
        max-height: none;
        min-height: 120px;
    }
}

/* 横屏模式适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .avatar-container {
        animation: none;
    }
    .avatar {
        width: 80px;
        height: 80px;
    }
    .ring-1 { width: 95px; height: 95px; }
    .ring-2 { width: 110px; height: 110px; }
    .ring-3 { width: 125px; height: 125px; }
    .pulse-ring { width: 140px; height: 140px; }
    .avatar-name { font-size: 18px; bottom: -28px; }
    .text-container { margin: 10px 0; }
    .connect-line { height: 15px; }
    .custom-text { font-size: 14px; padding: 5px 12px; }
    .button-group { margin-top: 5px; gap: 6px; max-width: 300px; }
    .action-btn { padding: 14px 12px; border-radius: 16px; }
    .btn-title { font-size: 12px; }
    .btn-desc { font-size: 9px; }
    .btn-number { font-size: 12px; }
    .main-footer-time { bottom: 5px; font-size: 11px; }
    .music-button { width: 40px; height: 40px; bottom: 10px; right: 10px; }
    .music-icon { font-size: 16px; }
}

video {
    object-fit: cover;
}

video::after {
    content: '';
    background-size: cover;
    background-position: center;
}

/* 视频备用图片样式 */
.avatar-fallback,
img.avatar,
img.bg-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

img.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    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);
}

img.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    filter: brightness(0.7);
}

.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%);
    }
}
