:root {
    --bg-color: #0b132b;
    --card-bg: #1e1e1e;
    --text-main: #ffffff;
    --text-sub: #b3b3b3;
}

body {
    background: var(--bg-color);
    
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;

    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 10px 10px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

#bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* bodyのグラデーションの上、コンテンツカード（すりガラス）の裏 */
    background-repeat: repeat;
    pointer-events: none; /* マウス操作を透過させる */
}

.artwork {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 0 30px #399ec2;

    pointer-events: none; /* 右クリックやドラッグ操作無効化 */
    user-select: none; /* 画像選択を禁止 */
    -webkit-user-select: none; /* Safari用 */
    -webkit-touch-callout: none;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.artist {
    font-size: 14px;
    color: var(--text-sub);
    margin: 0;
}

.release-date {
    font-size: 12px;
    color: var(--text-sub);
    margin: 8px 0 0 0;
    letter-spacing: 0.05em;
    font-family: monospace;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);

    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px 0 rgba(255, 255, 255, 0.08);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ロゴ画像共通スタイル */
.service-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;

    /*filter: invert(1) opacity(0.8);*/
}

/* ロゴが存在しない場合の余白確保用 */
.fallback-logo {
    background-color: transparent;
}
.service-name {
    font-size: 16px;
    font-weight: 600;
}

.action-text {
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid var(--text-sub);
    border-radius: 16px;
    white-space: nowrap;
}

footer {
    padding: 6px 10px;
    font-size: 11px;
    color: #999;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

footer p {
    margin: 0;
}

footer #site-version {
    color: #888;
    margin-top: 5px;
}