/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    background: #080808;
    color: #f0f0f0;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ===== Page shell — header + main fills full viewport ===== */
.page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Header / Nav ===== */
.site-header {
    flex-shrink: 0;
    padding: 0 2.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #080808;
    position: relative;
    z-index: 100;
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}
.nav-brand .zh {
    display: block;
    font-family: 'Noto Serif SC', serif;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-social {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.nav-social a {
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.nav-social a:hover { color: #fff; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

/* ===== Main content area — fills remaining height ===== */
.page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
}
.page-main.home {
    padding: 0;
    overflow: hidden;
}

/* ===== Footer ===== */
.site-footer {
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
}

/* ===== HOME PAGE ===== */
.home-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px - 44px);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.home-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: brightness(0.88) contrast(1.05) saturate(0.85);
}

/* dark gradient on left so name is always readable */
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
    z-index: 1;
}

.home-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 3rem;
    width: 100%;
}

.home-name h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.home-name .zh-name {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.55em;
    color: rgba(255,255,255,0.55);
    margin-top: 0.5rem;
    display: block;
}

.home-social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-top: 1.25rem;
}
.home-social a {
    color: rgba(255,255,255,0.5);
    display: flex;
    transition: color 0.2s;
}
.home-social a:hover { color: #fff; }

/* ===== INNER PAGE SHELL ===== */
.inner-page {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-heading {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== BIO PAGE ===== */
.bio-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: start;
}
.bio-body img {
    width: 100%;
    filter: brightness(0.85) saturate(0.8);
    border: 1px solid rgba(255,255,255,0.08);
}
.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bio-text p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.65);
}

/* ===== MUSIC PAGE ===== */
.music-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.music-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
}
.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.25);
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: border-color 0.2s, color 0.2s;
}
.stream-btn:hover {
    border-color: #fff;
    color: #fff;
}

/* ===== TOUR PAGE ===== */
.tour-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tour-event {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tour-event:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.event-month {
    font-family: 'Cinzel', serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.event-day {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.1;
}

.event-info h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0.15rem;
}
.event-info span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.event-status {
    font-family: 'Cinzel', serif;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border: 1px solid;
    white-space: nowrap;
}
.status-soldout { color: rgba(201,168,107,0.9); border-color: rgba(201,168,107,0.4); }
.status-available { color: rgba(78,201,195,0.9); border-color: rgba(78,201,195,0.4); }
.status-past { color: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.1); }

/* ===== CONTACT PAGE ===== */
.contact-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-block h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.6rem;
}
.contact-block p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}
.contact-block a {
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.contact-block a:hover { border-color: #fff; }

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.contact-social a {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.3rem 0.8rem;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-social a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ===== INNER PAGE HERO (full-bleed background like home) ===== */
.page-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px - 44px);
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.58) contrast(1.05) saturate(0.8);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.15) 72%, transparent 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 3rem;
    max-width: 620px;
    gap: 1.5rem;
}

/* per-page photo positioning */
.bio-hero img      { object-position: center top; }
.music-hero img    { object-position: center 15%; }
.tour-hero img     { object-position: left 15%; }
.contact-hero img  { object-position: left 70%; }
.fanclub-hero img  { object-position: center 15%; }

/* Right-side content variant — flips gradient and pushes content to right */
.hero-right::before {
    background: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.15) 72%, transparent 100%);
}
.hero-right .page-hero-content {
    margin-left: auto;
}

/* tour: more content — start from top, scroll without visible scrollbar */
.tour-hero .page-hero-content {
    justify-content: flex-start;
    max-width: 700px;
    overflow-y: auto;
    padding-top: 2.5rem;
    gap: 1.25rem;
    scrollbar-width: none;
}
.tour-hero .page-hero-content::-webkit-scrollbar { display: none; }

/* ===== Mobile ===== */
@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        transform: none;
        flex-direction: column;
        background: #0d0d0d;
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 200;
    }
    .nav-links.open { display: flex; }
    .nav-social { display: none; }
    .nav-toggle { display: flex; }
    .bio-body { grid-template-columns: 1fr; }
    .tour-event { grid-template-columns: 70px 1fr; }
    .event-status { grid-column: 2; }
    .page-hero-content { padding: 1.5rem; max-width: 100%; }
}
