/*
Theme Name: 你的主题名称
Theme URI: 主题官网地址
Description: 主题描述
Author: 作者名称
Author URI: 作者官网
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 主题文本域（用于国际化）
*/



/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-family: "Microsoft YaHei", sans-serif;*/
  font-family: HarmonyOS_Regular,sans-serif!important;
}

body {
  background-color: #0f1729;
  color: #fff;
  /*line-height: 1.6;*/
  /*min-height: 100vh;*/
  /*padding-bottom: 60px;*/
}

/* 隐藏页面垂直+水平滚动条（兼容 Chrome/Edge/Safari） */
::-webkit-scrollbar {
  display: none; /* Chrome/Edge/Safari 核心：隐藏滚动条轨道和滑块 */
}

/* Firefox 核心：隐藏滚动条，保留滚动功能 */
html {
  scrollbar-width: none; /* 隐藏滚动条宽度 */
  -ms-overflow-style: none; /* IE/Edge 旧版兼容（可选） */
}

/* 确保页面可正常滚动（默认已开启，无需额外设置） */
body {
  overflow: auto;
}


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

button {
  /* 去除默认边框和外边框 */
  border: none;
  outline: none; /* 去除点击时的默认焦点外框（可选，需注意 accessibility） */
  
  /* 去除默认背景和内边距 */
  background: none;
  padding: 0;
  
  /* 去除默认文字样式（如字体、颜色继承父元素） */
  font: inherit;
  color: inherit;
  
  /* 去除点击时的默认高亮/阴影（部分浏览器） */
  -webkit-tap-highlight-color: transparent; /* 移动端 Safari */
  box-shadow: none;
  
  /* 鼠标悬停时显示手型指针（模拟可点击状态） */
  cursor: pointer;
  
  /* 重置盒模型（避免默认样式干扰） */
  box-sizing: border-box;
  
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  padding: 20px;
  text-align: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
  /*margin-right: 15px;*/
}

.logo-text {
  font-size: 36px;
  font-weight: bold;
  color: #13c8ff;
}

.logo-subtitle {
  font-size: 14px;
  /*margin-bottom: 20px;*/
  max-width: 600px;
  text-align: center;

  background: -webkit-linear-gradient(80deg, #13c8ff 30%, #2fffec);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 搜索框样式 */
.search-box {
  position: relative;
  max-width: 360px;
  margin: 0 auto 30px;
}

.search-input {
  width: 100%;
  padding: 10px 15px 10px 16px;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
}

.search-input:focus {
  outline: none;
  border-color: #13c8ff;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 导航标签样式 */
.nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 6px 16px;
  background-color: #1e293b;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: #13c8ff;
  color: #0f1729;
  font-weight: bold;
}

.tab-btn:hover:not(.active) {
  background-color: #334155;
}

/* 歌曲列表样式 */
.song-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));*/
  grid-template-columns: repeat(2, 1fr); 
  gap: 16px;
  margin-bottom: 40px;
}

.song-card {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.song-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.song-cover {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.song-details {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.song-title {
  font-weight: bold;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  color: #94a3b8;
  font-size: 13px;
}

.song-date {
  color: #64748b;
  font-size: 12px;
  margin-top: 8px;
  text-align: right;
}
















/* 搜索关键词提示栏 */
.search-query-bar {
  /*background-color: #f5f5f5;*/
  padding: 12px 0;
  margin-bottom: 20px;
}
.search-query-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-query-bar p {
  margin: 0;
  color: #666;
  font-size: 14px;
}
.search-query-bar .query-text {
  color: #4299e1;
  font-weight: 600;
  margin: 0 8px;
}
.search-query-bar .result-count {
  margin: 0 12px;
  color: #999;
}
.search-query-bar .reset-search {
  color: #4299e1;
  text-decoration: none;
  margin-left: 12px;
}
.search-query-bar .reset-search:hover {
  text-decoration: underline;
}

/* 无搜索结果卡片 */
.no-results-card {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1; /* 占满整个网格宽度 */
}
.no-results-card .icon {
  margin-bottom: 20px;
  opacity: 0.5;
}
.no-results-card h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 12px;
}
.no-results-card p {
  color: #999;
  margin-bottom: 24px;
}
.no-results-card .suggestions {
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}
.no-results-card .suggestions p {
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}
.no-results-card .suggestions ul {
  margin: 0;
  padding-left: 20px;
  color: #999;
  line-height: 1.8;
}

/* 分页导航（适配首页风格） */
.pagination {
  margin-top: 40px;
  text-align: center;
  grid-column: 1 / -1; /* 占满网格宽度 */
}
.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
}
.pagination li {
  margin: 0;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}
.pagination a:hover {
  border-color: #4299e1;
  color: #4299e1;
}
.pagination .current {
  background-color: #4299e1;
  color: white;
  border-color: #4299e1;
}
.pagination .prev, .pagination .next {
  border-color: #eee;
}
.pagination .prev:hover, .pagination .next:hover {
  border-color: #4299e1;
  color: #4299e1;
}




/* 响应式调整 */
@media (max-width: 768px) {
  .logo img {
    width: 50px;
    height: 50px;
  }
  
  .logo-text {
    font-size: 28px;
  }
  
  .song-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}