/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
}

/* 根元素样式 */
html {
    font-size: 16px;
    /**/scroll-behavior: smooth;
}

/* 全局字体和基础样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-width: 320px;
}
a{
    text-decoration: none;
}

/* 主容器样式 */
.container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #000000;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    /*box-shadow: 0 2px 10px rgba(255, 0, 0, 0.1);*/
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff0000;
    text-decoration: none;
}
.logo img{
    display: block;
    height: 80px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff0000;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff0000;
}
.navright-box{

}

.search-bar {
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.search-bar input {
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    margin-left: 0.5rem;
    width: 200px;
}

.search-bar input::placeholder {
    color: #888888;
}

/* 登录按钮样式 */
.login-btn {
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    padding: 8px 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background-color: #cc0000;
    /*transform: translateY(-2px);*/
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.user-login-ok-btn {
    /* background-color: #ffffff; */
    border: 1px solid rgb(125 124 124);
    color: #ffffff;
    /* border: none; */
    padding: 7px 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-login-ok-btn:hover {
    border: 1px solid #cc0000;
    background-color: #cc0000;
    /*transform: translateY(-2px);*/
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    color:#fff;
}

/* 主要内容区域样式 */
.main-content {
    padding: 0 0;
}

/* 标题样式 */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff0000;
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* 精选歌单特殊布局 */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 响应式网格布局支持 */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* 响应式断点 */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 卡片基础样式 */
.card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    color:#333;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放按钮悬停效果 */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff0000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.card:hover .play-button {
    transform: scale(1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* VIP标签样式 */
.vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
}

/* 分类标签样式 */
.category-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tag {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
}

.category-tag:hover,
.category-tag.active {
    background-color: #ff0000;
    transform: translateY(-2px);
}

/* 歌手列表样式 */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
}

.artist-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a1a;
    transition: border-color 0.3s ease;
}

.artist-card:hover .artist-image {
    border-color: #ff0000;
}

.artist-name {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

/* 页脚样式 */
.footer {
    background-color: #000000;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #ff0000;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff0000;
}




.xw-share-butbox{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    margin: 0 auto; 
    padding: 0; 
    max-width: 100%;
}
.xw-share-butbox .share-but-list{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 16px; 
    margin: 0 auto 30px auto; 
    padding: 0;
}
.xw-share-butbox .share-but-list a{
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    background-color: #333; 
    border-radius: 6px; 
    color: #aaa; 
    transition: all 0.3s ease; 
    margin: 0; 
    padding: 0;
    text-decoration: none;
}
.xw-share-butbox .share-but-list a:hover{
    background-color:#ff0000;
    color:#fff;
}

/* 轮播图样式 */
.swiper-container {
    width: 100%;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.banner-swiper {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.banner-swiper .swiper-slide {
    width: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 隐藏轮播图分页指示器（加载条） */
.banner-swiper .swiper-pagination {
    display: none;
}

/* 自定义轮播图导航按钮 */
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
    padding:20px;
        box-sizing: border-box;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
    background-color: rgba(255, 0, 0, 0.8);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* 自定义箭头样式 */
.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
    font-size: 24px;
    font-weight: bold;
}

/* 轮播图内容样式 */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.banner-content.right {
    flex-direction: row-reverse;
    background: linear-gradient(to left, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.banner-text {
    max-width: 500px;
    color: white;
    z-index: 10;
}

.banner-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ff0000;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.banner-play-btn:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* 底部搜索框样式 */
.footer-search {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.footer-search .relative {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.footer-search input {
    font-size: 1rem;
    padding: 0.75rem 4rem 0.75rem 2.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
    background-color: #1a1a1a;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.0);
    box-sizing: border-box;
}

.footer-search input:focus {
    outline: none;
    border-color: #ff0000;
    background-color: #2a2a2a;
    /*transform: translateY(-2px);*/
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.footer-search input::placeholder {
    color: #666666;
    transition: color 0.3s ease;
}

.footer-search input:focus::placeholder {
    color: #999999;
}

.footer-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.footer-search button:hover {
    background-color: #cc0000;
}

.footer-search button:active {
    transform: translateY(0);
}

.footer-search i.fas.fa-search {
    font-size: 1rem;
    color: #666666;
    transition: color 0.3s ease;
    position: absolute;
    top: 14px;
    left: 15px;
    z-index: 2;
}

.footer-search input:focus ~ i.fas.fa-search {
    color: #ff0000;
}

/* 分类标签样式 */
.category-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tag {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
}

.category-tag:hover,
.category-tag.active {
    background-color: #ff0000;
    transform: translateY(-2px);
}

/* 底部导航链接样式 */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a:hover {
    color: #ff0000;
    transform: translateY(-1px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 底部版权信息样式 */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #1a1a1a;
    color: #666666;
    font-size: 0.85rem;
}
.footer-bottom p a{
    font-size: 0.85rem;
    color:#635e5e;
    text-decoration: none;
}
.footer-bottom p a:hover{
    color:#f30;
}

.more-swiper .swiper-slide {
    width: 200px !important;
    margin-right: 20px;
}

.swiper-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.swiper-controls .swiper-button-prev,
.swiper-controls .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

.swiper-controls .swiper-button-prev::after,
.swiper-controls .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-controls .swiper-button-prev:hover,
.swiper-controls .swiper-button-next:hover {
    background-color: rgba(255, 0, 0, 0.8);
    transform: scale(1.1) !important;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 工具类 */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }