/* ============================================
   CDing GouZi Records · 官網樣式
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    background-color: #000000;
    color: #eaeaea;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 自定義滾動條 */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 選中文字效果 */
::selection {
    background-color: #00ff00;
    color: #000000;
}

/* ---------- 容器 ---------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid #1a1a1a;
}

.section:last-of-type {
    border-bottom: none;
}

/* ---------- 標題樣式 ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 2px;
    color: #666;
}

.section-bracket {
    color: #00ff00;
    opacity: 0.7;
}

.section-title {
    display: inline-block;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 0 8px;
    color: #fff;
}

/* ---------- HERO 區塊 ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-bottom: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #555;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.badge-divider {
    margin: 0 12px;
    color: #2a2a2a;
}

/* ---------- 動態標題字體 ---------- */
.hero-logo {
    font-size: clamp(32px, 8vw, 70px);
    font-weight: 700;
    letter-spacing: 8px;
    line-height: 1.2;
    margin-bottom: 40px;
/* ----------    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); ---------- */
}

.logo-line {
    display: block;
}

.hero-manifesto {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 80px;
}

.hero-manifesto p {
    margin: 0;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #444;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- 發行列表 ---------- */
.releases-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.release-group {
    border-left: 1px solid #1a1a1a;
    padding-left: 20px;
}

.group-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #00ff00;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.label-icon {
    margin-right: 8px;
}

.release-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.release-card {
    background: #0a0a0a;
    padding: 20px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.release-card:hover {
    border-color: #333;
    background: #0f0f0f;
}

.release-card.pending {
    opacity: 0.7;
}

.release-card.pending:hover {
    opacity: 0.9;
}

.release-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.release-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    word-break: break-word;
}

.release-type {
    font-size: 12px;
    color: #777;
    margin-bottom: 12px;
}

.release-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #00ff00;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #00ff00;
    letter-spacing: 1px;
}

.release-status.soldout {
    color: #ff3300;
    border-color: #ff3300;
}

.release-status.pending {
    color: #ffaa00;
    border-color: #ffaa00;
}

.release-expand {
    margin-top: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.release-expand:hover {
    color: #fff;
}

.expand-icon {
    transition: transform 0.3s;
}

.release-card.expanded .expand-icon {
    transform: rotate(45deg);
}

.release-detail {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 13px;
}

.release-card.expanded .release-detail {
    display: block;
}

.detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #00ff00;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.detail-tracklist ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.detail-tracklist li {
    font-size: 12px;
    color: #aaa;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.detail-tracklist li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #444;
}

.detail-links {
    display: flex;
    gap: 20px;
}

.detail-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-link:hover {
    color: #fff;
}

/* ---------- 成員區塊 ---------- */
.members-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.member-card {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 40px;
}

.member-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.member-avatar-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid #2a2a2a;
    display: block;
}

.avatar-placeholder {
    width: 64px;
    height: 64px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 600;
    color: #00ff00;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.member-alias {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.member-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #00ff00;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.member-bio {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 12px;
    line-height: 1.5;
}

.member-works {
    font-size: 12px;
    color: #666;
}

.works-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #444;
}

.works-list {
    color: #888;
}

/* 其他成員折疊區塊 */
.members-collapse {
    margin-top: 40px;
    text-align: center;
}

.collapse-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    padding: 10px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.collapse-btn:hover {
    border-color: #555;
    color: #fff;
}

.btn-icon {
    transition: transform 0.3s;
}

.collapse-btn.active .btn-icon {
    transform: rotate(45deg);
}

.collapse-content {
    display: none;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #1a1a1a;
}

.collapse-content.show {
    display: block;
}

.other-members-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.other-members-list span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
}

/* ---------- ABOUT 區塊 ---------- */
.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-final {
    font-size: 18px;
    color: #fff;
    margin-top: 24px;
    font-weight: 400;
}

.about-signature {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #555;
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
}

.signature-line {
    margin-bottom: 6px;
}

.signature-line.small {
    font-size: 10px;
    color: #333;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 60px 0 80px;
    background: #000;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.streaming-links, .social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.links-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-link.disabled {
    color: #333;
    cursor: default;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #111;
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #333;
    margin-bottom: 12px;
}

.footer-domain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.domain-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.domain-link:hover {
    color: #00ff00;
}

/* ---------- 響應式設計 ---------- */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .hero-logo {
        letter-spacing: 4px;
    }
    
    .release-card {
        padding: 16px;
    }
    
    .release-title {
        font-size: 16px;
    }
    
    .member-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .other-members-list {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .other-members-list span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-manifesto {
        font-size: 12px;
    }
    
    .release-group {
        padding-left: 12px;
    }
    
    .detail-links {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}