:root {
    --bg-color-dark: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b1;
    --glass-bg: rgba(25, 27, 34, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-color: #f0f0f0;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background-color: var(--bg-color-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 40px 20px;
}

/* ---- Particle Canvas ---- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    animation: canvasFadeIn 1.2s ease-out forwards;
}

@keyframes canvasFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Scan Line Overlay ---- */
.scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

/* グラスモーフィズムなメインコンテナ */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 48px 32px;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 36px;
    width: 100%;
}

.jacket-wrapper {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jacket-wrapper:hover {
    transform: scale(1.04) translateY(-5px);
}

.jacket-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: rgba(255, 255, 255, 0.05);
    /* 画像読み込み前プレースホルダー */
}

.title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.artist {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
}

.link-button:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.link-button:hover {
    padding-left: 28px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.link-button .service-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.link-button i.service-icon {
    font-size: 22px;
}

.link-button .action-icon {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-speed) ease;
}

.link-button:hover .action-icon {
    opacity: 1;
    transform: translateX(0);
}

.footer {
    margin-top: 40px;
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    color: var(--text-secondary);
    opacity: 0.7;
    font-weight: 400;
}

/* ホバー時のブランドカラー適用（グラデーションを上書き） */
.link-button.spotify:hover {
    border-bottom-color: rgba(29, 185, 84, 0.5);
    background: linear-gradient(90deg, rgba(29, 185, 84, 0.1), transparent);
    color: #1DB954;
}

.link-button.apple:hover {
    border-bottom-color: rgba(250, 36, 60, 0.5);
    background: linear-gradient(90deg, rgba(250, 36, 60, 0.1), transparent);
    color: #FA243C;
}

.link-button.youtube:hover {
    border-bottom-color: rgba(255, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1), transparent);
    color: #FF0000;
}

.link-button.amazon:hover {
    border-bottom-color: rgba(0, 168, 225, 0.5);
    background: linear-gradient(90deg, rgba(0, 168, 225, 0.1), transparent);
    color: #00A8E1;
}

.link-button.line:hover {
    border-bottom-color: rgba(0, 195, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 195, 0, 0.1), transparent);
    color: #00C300;
}

.link-button.soundcloud:hover {
    border-bottom-color: rgba(255, 85, 0, 0.5);
    background: linear-gradient(90deg, rgba(255, 85, 0, 0.1), transparent);
    color: #FF5500;
}

.link-button.bandcamp:hover {
    border-bottom-color: rgba(98, 154, 169, 0.5);
    background: linear-gradient(90deg, rgba(98, 154, 169, 0.1), transparent);
    color: #629AA9;
}/* 楽曲リスト用の汎用ホバー */
.link-button.release-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    color: #FFFFFF;
}
