/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #1db954;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h1 a {
    font-size: 24px;
    font-weight: bold;
    color: #1db954;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    font-weight: 500;
}

.nav ul li a.active {
    color: #1db954;
    font-weight: bold;
}

.search-box {
    display: flex;
    margin-left: auto;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-box button {
    padding: 8px 15px;
    background-color: #1db954;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #1aa34a;
}

/* 主要内容样式 */
.section-title {
    margin: 30px 0 20px;
    font-size: 24px;
    color: #333;
}
.gg-container {
    display: block;
	text-align:center;
    margin-top: 30px;
}

/* 歌词卡片样式 */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.lyrics-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center; /* 添加整体居中 */
    padding: 15px 0; /* 添加内边距 */
}
 
.lyrics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.lyrics-card .avatar-link {
    display: inline-block; /* 改为inline-block以便居中 */
    width: 50%; /* 卡片宽度的50% */
    padding-top: 50%; /* 保持1:1宽高比 */
    position: relative;
    overflow: hidden;
    border-radius: 50%; /* 圆形图片 */
    margin-bottom: 15px; /* 与内容间距 */
}
 
.lyrics-card .avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.lyrics-card .card-content {
    padding: 0 15px; /* 只需左右内边距 */
}
 
.lyrics-card .song-title,
.lyrics-card .singer-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.lyrics-card .song-title {
	font-weight:bold;
}
.lyrics-card .singer-name {
	margin-top:10px;
	font-size:14px;
}

/* 歌词详情页样式 */
.lyrics-detail-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.lyrics-content {
    flex: 2;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lyrics-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lyrics-controls {
    margin-bottom: 20px;
}

.lyrics-controls button {
    padding: 8px 15px;
    background-color: #1db954;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lyrics-controls button:hover {
    background-color: #1aa34a;
}

.lyrics-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.singer-info-mobile {
    display: none;
    align-items: center;
    margin-bottom: 20px;
}

.singer-info-mobile .singer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.singer-info-mobile .singer-name-link {
    font-weight: bold;
}

.lyrics-text {
    white-space: pre-line;
}

.lyric-line {
    margin-bottom: 10px;
    display: flex;
}

.lyric-time {
    color: #666;
    margin-right: 10px;
    min-width: 60px;
}

.lyric-text {
    flex: 1;
}

/* 侧边栏样式 */
.singer-info, .other-lyrics {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.singer-info h3, .other-lyrics h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.singer-info .singer-avatar {
    width: 50%;
    border-radius: 50%;
    margin: 0 auto 10px;
	display: block;
}

.singer-info h4 {
    margin-bottom: 10px;
    text-align: center;
}

.singer-info p {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.other-lyrics ul {
    list-style: none;
}

.other-lyrics li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.other-lyrics li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.other-lyrics a {
    display: block;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer p:last-child {
    margin-bottom: 0;
}