:root{
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --accent-color: #ccff00;
    --cursor-size: 20px;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    cursor: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

#cursor{
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transform: translate(-50%,-50%);
    transition: width 0.3s,height 0.3s,background-color 0.3s;
    mix-blend-mode: difference;
}

#cursor-dot{
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transform: translate(-50%,-50%);
}

body.hovering #cursor{
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-color: 1px dashed #ccff00;
}

.outline-text-dark{
    color: transparent;
    -webkit-text-stroke: 1px #333;
    transition:all 0.3s ease;
}

.outline-text-dark:hover{
    -webkit-text-stroke: 1px #666;
}

/* 书签样式 */
.bookmark-btn{
    position: fixed;
    right: 0;
    z-index: 10001;
    width: 60px;
    height: 48px;
    
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4px;

    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    cursor:none;
    transition: transform 0.3s ease,background-color 0.3s ease;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.3);
}

.bookmark-btn:hover{
    transform: translateX(-8px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.bookmark-btn i{
    color:#f0f0f0;
    transition: transform 0.3s ease;
}

#music-bookmark.playing{
    background-color: rgba(204,255,0,0.6);
    border-color: rgba(204,255,0,0.6);
    box-shadow: -4px 4px 20px rgba(204, 255, 0, 0.4);
}

#user-bookmark{
    top: 1.5rem;
}

#music-bookmark{
    top: calc(1.5rem + 56px);
    transform: translateX(120%);
}

#music-bookmark.playing i {
    color: #000;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon{
    0% {transform: scale(1); opacity: 1;}
    50% {transform: scale(1.1); opacity: 0.8;}
    100% {transform: scale(1); opacity: 1;}
}

/* @media (max-width: 768px) {
            .bookmark-btn {
                width: 50px;
                height: 40px;
            }
            #user-bookmark {
                top: 1.5rem;
            }
            #music-bookmark {
                top: calc(1.5rem + 48px);
            }
        } */

/* 画廊样式 */
.gallery-item{
    break-inside: avoid;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.gallery-img{
    width: 100%;
    height: auto;
    display: block;
    background-color: rgba(#333);
    filter: grayscale(100%) contrast(120%);
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94),filter 0.5s ease;
}

.gallery-item:hover .gallery-img{
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
}
    /* 悬停文字展示 */
.item-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    mix-blend-mode: multiply;
}

.gallery-item:hover .item-overlay{
    opacity: 1;
}

/* 作者卡片 */
.artist-card{
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
    cursor: none;
}

.artist-card:hover{
    border-color: var(--accent-color);
}

.artist-img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.artist-card:hover .artist-img{
    filter: grayscale(0%);
    transform: scale(1.03);
}

.artist-info{
    border-top: 1px solid #333;
    transition: border-color 0.3s ease;
}

.artist-card:hover .artist-info{
    border-color: var(--accent-color);
}

/* 大图模态框样式 */
#modal{
    background-color: rgba(10,10,10,0.98);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, visibility 0.3 ease;
}

.modal-hidden{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

#modal-caption-box{
    transition: transform 0.3s ease;
    transform: translate(100%);
}


/* 加载页样式 */
#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.loader-curtain{
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #0a0a0a;
    z-index: 1;
}

.loader-curtain.top{
    top: 0;
}

.loader-curtain.bottom{
    bottom: 0;
}

#nav-logo{
    line-height: 1;
}

#loader-text-wrapper{
    position: relative;
    width: auto;
    height: auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-brand{
    font-size: 15vw;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

.loader-brand.outline{
    color: transparent;
    -webkit-text-stroke: 2px #333;
}

.loader-brand-mask{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: hidden;
    transition: height 0.3s linear;
}

.loader-brand.filled{
    color: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.loader-percent{
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    color: #333;
    font-family: monospace;
    font-size: 1.5rem;
}