* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== 导航栏 ========== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 100;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.nav-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 36px;
    width: auto;
}
.nav-links a {
    margin-left: 32px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.nav-links a:hover { color: #111; }
.back-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.back-link:hover { color: #111; }

/* ========== 轮播图（优化高度） ========== */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 400px;
}
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}
.slide-item {
    min-width: 100%;
}
.slide-item img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    object-position: center;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.slider-btn:hover { background: rgba(0,0,0,0.5); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ========== 区块通用 ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 8px;
    font-weight: 600;
}
.section-header p {
    color: #888;
    font-size: 15px;
}
.works-section { padding: 80px 0; }

/* ========== 曲目卡片 ========== */
.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}
.track-card {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}
.track-card:hover {
    transform: translateY(-6px);
}
.track-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}
.track-cover img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.4s ease;
}
.track-card:hover .track-cover img {
    transform: scale(1.05);
}
.cover-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 500;
}
.track-card:hover .cover-mask {
    opacity: 1;
}
.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
}
.track-title {
    font-size: 16px;
    color: #111;
    margin-bottom: 4px;
    font-weight: 600;
}
.track-artist {
    font-size: 14px;
    color: #888;
}

/* ========== 电台节目 ========== */
.radio-section {
    padding: 80px 0;
    background: #fafafa;
}
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}
.radio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.radio-title {
    padding: 16px 20px;
    font-size: 16px;
    color: #111;
    font-weight: 600;
}

/* 视频响应式容器 */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== 广告位 ========== */
.ad-section {
    padding: 40px 0;
    background: #fff;
}
.ad-banner img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ========== 在线人数 ========== */
.online-bar {
    background: #fafafa;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}
.online-bar strong {
    color: #111;
    font-weight: 600;
    margin: 0 4px;
}
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 8px;
    animation: pulse 2s infinite;
    vertical-align: middle;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== 关于区块 ========== */
.about-section {
    padding: 80px 0;
    background: #fafafa;
}
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.about-content h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 20px;
    font-weight: 600;
}
.about-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 16px;
}
.contact {
    margin-top: 24px;
    font-weight: 500;
    color: #333 !important;
}

/* ========== 详情页 ========== */
.detail-page { padding: 60px 0; }
.detail-main {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    margin-bottom: 70px;
}
.detail-cover-wrap {
    position: sticky;
    top: 100px;
}
.detail-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder.large { font-size: 18px; }

.track-label {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}
.detail-title {
    font-size: 40px;
    color: #111;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
}
.detail-artist {
    font-size: 20px;
    color: #666;
    margin-bottom: 24px;
}
.meta-row {
    margin-bottom: 32px;
}
.view-count {
    color: #999;
    font-size: 14px;
}

/* 跳转按钮 */
.link-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-icon { font-size: 16px; }
.btn-netease { background: #c20c0c; color: #fff; }
.btn-qq { background: #31c27c; color: #fff; }

/* 发行介绍 & 视频区块 */
.description-block, .video-block {
    margin-bottom: 36px;
}
.description-block h3, .video-block h3 {
    font-size: 18px;
    color: #111;
    margin-bottom: 16px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.description {
    color: #555;
    font-size: 15px;
    line-height: 2;
    white-space: pre-wrap;
}
.description br {
    margin-bottom: 8px;
    content: "";
    display: block;
}

/* ========== 评论区 ========== */
.comment-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 50px;
}
.comment-section .section-header {
    text-align: left;
    margin-bottom: 24px;
}
.comment-section .section-header h2 {
    font-size: 22px;
}

.comment-form {
    background: #fafafa;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}
.form-row { margin-bottom: 16px; }
.form-row:last-child { margin-bottom: 0; }
.form-right { text-align: right; }
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #999;
}
.submit-btn {
    padding: 10px 28px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-btn:hover { background: #333; }
.form-tip {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.comment-list {
    max-width: 100%;
}
.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
}
.comment-header {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-nickname {
    color: #111;
    font-weight: 500;
    font-size: 14px;
}
.comment-time {
    color: #aaa;
    font-size: 12px;
}
.comment-content {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.no-comment {
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
}

/* ========== 页脚 ========== */
.footer {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 0;
    background: #fff;
}

/* ========== 后台样式 ========== */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f5f5f5;
}
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 380px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.login-box h2 { color: #111; margin-bottom: 24px; text-align: center; font-size: 20px; }
.login-box input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
}
.login-box button {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
}
.login-box .tip { text-align: center; color: #999; font-size: 12px; margin-top: 16px; }
.error { color: #e53935; text-align: center; margin-bottom: 16px; font-size: 14px; }

.admin-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-header h1 { font-size: 18px; color: #111; }
.logout-btn { color: #666; text-decoration: none; font-size: 14px; }
.admin-content { padding: 30px 0; }
.admin-nav {
    display: flex;
    gap: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    flex-wrap: wrap;
}
.admin-nav a {
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
}
.admin-nav a.active {
    color: #111;
    border-bottom-color: #111;
    font-weight: 500;
}
.admin-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.admin-table th, .admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.admin-table th {
    background: #fafafa;
    color: #666;
    font-weight: 500;
}
.admin-cover {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}
.admin-form h2 {
    font-size: 20px;
    color: #111;
    margin-bottom: 24px;
}
.admin-form h3 {
    font-size: 16px;
    color: #111;
    margin: 30px 0 16px;
}
.admin-form label {
    display: block;
    margin: 18px 0 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}
.admin-form input, .admin-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-family: inherit;
}
.admin-form button {
    margin-top: 28px;
    padding: 12px 32px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}
.comment-manage-item {
    padding: 18px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 12px;
}
.comment-status {
    margin-left: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.status-pass { background: #e8f5e9; color: #2e7d32; }
.status-wait { background: #fff3e0; color: #e65100; }
.comment-text {
    color: #555;
    margin: 8px 0;
    font-size: 14px;
}
.comment-actions a {
    color: #1976d2;
    font-size: 13px;
    text-decoration: none;
    margin-right: 16px;
}
.comment-actions a:last-child { color: #e53935; }

/* 后台预览 */
.banner-manage-item, .ad-manage-item, .radio-manage-item {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.banner-preview {
    width: 200px;
    height: auto;
    border-radius: 6px;
}
.ad-preview {
    width: 300px;
    height: auto;
    border-radius: 6px;
}
.banner-info p, .ad-info p, .radio-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}
.banner-info a, .ad-info a, .radio-info a {
    color: #e53935;
    font-size: 13px;
    text-decoration: none;
}
.logo-preview {
    height: 40px;
    vertical-align: middle;
    margin-left: 8px;
}

/* ========== 响应式适配 ========== */
@media (max-width: 900px) {
    .detail-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .detail-cover-wrap {
        position: static;
        max-width: 320px;
        margin: 0 auto;
    }
    .detail-title { font-size: 28px; }
    .slider-btn { width: 36px; height: 36px; font-size: 20px; }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
    .slide-item img { height: 240px; }
    .banner-slider { max-height: 240px; }
    .radio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .track-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .section-header h2 { font-size: 24px; }
    .link-buttons { flex-direction: column; }
    .btn { justify-content: center; }
    .nav-links { display: none; }
    .slide-item img { height: 180px; }
    .banner-slider { max-height: 180px; }
}
