:root {
    --bg-color: #13161f;
    --card-bg: #1e212b;
    --text-main: #ffffff;
    --text-sub: #b0b0b0;
    --accent-color: #fdd835;
    --border-color: #2c2f3b;
    --hover-bg: #252836;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

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

/* Header */
.site-header {
    background-color: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.search-box {
    flex: 1;
    margin: 0 40px;
    position: relative;
}

.search-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--text-main);
    outline: none;
}

.search-input:focus {
    border-color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    font-size: 16px;
    color: var(--text-sub);
}

.nav-link.active, .nav-link:hover {
    color: var(--accent-color);
}

/* Banner */
.home-banner {
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    flex: 1;
}

.banner-title {
    font-size: 48px;
    color: var(--accent-color);
    margin: 0 0 10px;
}

.banner-subtitle {
    font-size: 32px;
    margin: 0 0 20px;
}

.banner-desc {
    color: var(--text-sub);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.banner-img img {
    max-width: 300px;
    /* Glow effect */
    filter: drop-shadow(0 0 20px rgba(253, 216, 53, 0.3));
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.music-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.card-link {
    display: flex;
    padding: 15px;
    align-items: center;
}

.card-cover {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    flex: 1;
}

.card-title {
    font-size: 18px;
    margin: 0 0 5px;
    color: var(--text-main);
}

.card-meta {
    font-size: 14px;
    color: var(--text-sub);
    display: flex;
    justify-content: space-between;
}

/* Detail Page */
.detail-container {
    padding: 40px 0;
}

.detail-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.record-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    margin-right: 60px;
}

.record-disk {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(#111 0, #111 2px, #222 3px, #222 4px);
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: rotate 20s linear infinite;
}

.record-cover {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: 20%;
    object-fit: cover;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 32px;
    color: var(--accent-color);
    margin: 0 0 10px;
}

.detail-meta {
    color: var(--text-main);
    margin-bottom: 20px;
}

.detail-meta span {
    margin-right: 20px;
    color: var(--text-sub);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.qrcode-area {
    text-align: center;
    margin-left: 40px;
}

.qrcode-img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    margin-bottom: 10px;
}

.qrcode-text {
    font-size: 12px;
    color: var(--text-sub);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-sub);
    border-top: 1px solid var(--border-color);
}

/* Mobile */
@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: 1fr;
    }
    .detail-card {
        flex-direction: column;
        text-align: center;
    }
    .record-wrapper {
        margin: 0 0 30px;
    }
    .action-buttons {
        justify-content: center;
    }
    .home-banner {
        flex-direction: column-reverse;
        text-align: center;
    }
    .banner-content {
        margin-top: 30px;
    }
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    .search-box {
        margin: 10px 0;
        width: 100%;
    }
}
