:root {
    --color-bg: #121212;
    --color-bg-gradient-start: #1a1a1a;
    --color-bg-gradient-end: #0a0a0a;
    --color-surface: #1e1e1e;
    --color-surface-alt: #262626;
    --color-border: #333333;
    --color-text: #f5f5f5;
    --color-text-muted: #a8a8a8;
    --color-accent: #ffffff;
    --color-accent-bg: #ffffff;
    --color-accent-text: #121212;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-round: 999px;

    --gap-xs: 6px;
    --gap-sm: 10px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 36px;

    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
    --max-width: 480px;

    --font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(180deg, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    color: var(--color-text);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--gap-lg) var(--gap-md) var(--gap-xl);
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
}

/* ---------------- Header ---------------- */

.artist-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    text-align: center;
}

.artist-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

.artist-logo-link {
    display: block;
    width: 100%;
    max-width: 220px;
}

.artist-photo-wrap {
    width: 100%;
}

.artist-photo-link {
    display: block;
    width: 100%;
}

.artist-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.artist-photo--placeholder {
    aspect-ratio: 1 / 1;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
}

.artist-catchcopy {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

/* ---------------- Section common ---------------- */

.section {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-left: 4px solid var(--color-accent);
    padding-left: var(--gap-sm);
}

/* ---------------- Link buttons ---------------- */

.link-button-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
}

.link-button-list--vertical {
    flex-direction: column;
}

.link-button-list--song {
    gap: var(--gap-xs);
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.15s ease;
    overflow: hidden;
}

.link-button:active {
    transform: scale(0.97);
}

.link-button:hover {
    background: #303030;
}

.link-button--small {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.link-button--full {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 1rem;
}

.link-button i {
    font-size: 1.1em;
}

.link-button--image {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
}

.link-button__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.link-button__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-button__label {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 10px 14px;
}

/* ---------------- Setlist ---------------- */

.setlist-event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.setlist-event-name {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.setlist-event-subname {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.setlist-event-date-venue {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.setlist-before-release {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--gap-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
    text-align: center;
}

.setlist-before-message {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.setlist-release-at {
    margin: 0;
    font-weight: 700;
}

.setlist-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.setlist-comment {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--gap-md);
    text-align: center;
}

.setlist-comment-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.setlist-songs {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.song-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--gap-md);
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
}

.song-title {
    margin: 0;
    font-weight: 700;
    display: flex;
    gap: 8px;
}

.song-order {
    color: var(--color-text-muted);
    font-weight: 400;
}

.song-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ---------------- Merch ---------------- */

.merch-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.merch-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--gap-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.merch-name {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.merch-description {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.merch-price {
    margin: 4px 0 0;
    text-align: right;
    font-weight: 700;
    font-size: 1rem;
}

/* ---------------- Schedule ---------------- */

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.schedule-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.schedule-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.schedule-body {
    padding: var(--gap-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-date {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.schedule-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.schedule-venue,
.schedule-time {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.schedule-body .link-button-list {
    margin-top: var(--gap-sm);
}

/* ---------------- Members ---------------- */

.member-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
}

@media (min-width: 380px) {
    .member-list {
        grid-template-columns: 1fr 1fr;
    }
}

.member-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.member-photo {
    width: 100%;
    height: auto;
}

.member-photo--placeholder {
    aspect-ratio: 3 / 4;
    background: var(--color-surface-alt);
}

.member-body {
    padding: var(--gap-sm) var(--gap-md) var(--gap-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-name {
    margin: 0;
    font-weight: 700;
}

.member-role {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.member-x-link {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-round);
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ---------------- YouTube embed ---------------- */

.youtube-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
    padding-top: var(--gap-sm);
    text-align: center;
}

.site-copyright {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

/* ---------------- Debug banner ---------------- */

.debug-banner {
    position: fixed;
    left: 8px;
    bottom: 8px;
    z-index: 9999;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
}
