/* ============================================
   新歓LIVE 2026 - TIME TABLE
   Light Theme / SP Optimized
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #fce4ec;
    --bg-secondary: #fff0f3;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);

    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --pink-700: #be185d;

    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;

    --accent-gradient: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(244, 114, 182, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);

    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-accent: #be185d;

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(244, 114, 182, 0.35);

    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-display: 'Outfit', 'Noto Sans JP', sans-serif;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-soft: 0 2px 12px rgba(190, 24, 93, 0.06);
    --shadow-card: 0 4px 20px rgba(190, 24, 93, 0.08);
    --shadow-card-hover: 0 6px 28px rgba(236, 72, 153, 0.14);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    /* SP safe area */
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* --- Floating Particles (soft pastel for light theme) --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pink-300), transparent);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.35;
    }

    90% {
        opacity: 0.35;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    display: block;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    padding: 32px 0 16px;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.title-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.1s;
}

.title-logo-img {
    width: 80%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.45));
    }
}

.guitar-icon {
    width: 100%;
    height: 100%;
}

.hero-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--pink-500);
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.15s;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.3s;
}

.title-jp {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 2.8rem;
    font-weight: normal;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.title-live {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
    color: var(--text-primary);
}

.title-year {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    line-height: 1.3;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.45s;
}

.dash {
    color: var(--pink-400);
    font-weight: 300;
}

.hero-dates {
    display: flex;
    gap: 10px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.6s;
}

.date-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pink-600);
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.date-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--pink-700);
}

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

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

/* --- Day Navigation (Sticky Tabs) --- */
.day-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(252, 228, 236, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow var(--transition-smooth);
}

.day-nav.scrolled {
    box-shadow: 0 4px 20px rgba(190, 24, 93, 0.08);
}

.day-tab {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.day-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    border-radius: inherit;
}

.day-tab:active {
    transform: scale(0.96);
}

.day-tab.active {
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.day-tab.active::before {
    opacity: 1;
}

.tab-date,
.tab-day {
    position: relative;
    z-index: 1;
}

.tab-date {
    font-size: 1rem;
    font-weight: 800;
}

/* --- Schedule Container --- */
.schedule-container {
    max-width: 440px;
    margin: 0 auto;
    padding: 24px 16px 80px;
    position: relative;
    z-index: 1;
}

/* --- Day Schedule --- */
.day-schedule {
    display: none;
}

.day-schedule.active {
    display: block;
    animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

.day-date {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.day-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Band Card --- */
.band-card {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.band-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 48px;
    padding-top: 16px;
}

.time {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pink-600);
    white-space: nowrap;
}

.time-line {
    width: 2px;
    flex: 1;
    min-height: 16px;
    background: linear-gradient(to bottom, var(--pink-400), var(--pink-200));
    margin-top: 6px;
    border-radius: 1px;
    opacity: 0.5;
}

.card-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card-content:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-card-hover);
}

.card-content:active::before {
    opacity: 1;
}

.band-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.band-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.member-toggle,
.like-toggle {
    background: var(--pink-100);
    border: none;
    color: var(--pink-600);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.member-toggle:hover,
.like-toggle:hover:not(.liked) {
    background: var(--pink-200);
}

.like-toggle.liked {
    background: var(--pink-500);
    color: white;
    animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-toggle.liked svg {
    fill: currentColor;
    stroke: none;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.member-toggle:hover {
    background: var(--pink-200);
}

.member-toggle svg {
    transition: transform var(--transition-smooth);
}

.member-toggle[aria-expanded="true"] {
    background: var(--pink-500);
    color: white;
}

.member-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.band-members {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-bottom 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    margin-bottom: 0;
}

.band-members.open {
    max-height: 120px;
    margin-bottom: 12px;
    opacity: 1;
}

.band-members p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--pink-50);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--pink-300);
}

/* --- Setlist --- */
.setlist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.song-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 10px;
    background: var(--rose-50);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    flex-wrap: wrap;
}

.song-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.song-artist {
    font-size: 0.73rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding-left: 12px;
}

.song-artist::before {
    content: '/';
    position: absolute;
    left: 0;
    color: var(--pink-400);
    opacity: 0.7;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
    text-align: center;
}

.footer-inner {
    max-width: 360px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.club-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-divider {
    width: 32px;
    height: 2px;
    background: var(--accent-gradient);
    margin: 0 auto 12px;
    border-radius: 1px;
}

.footer-copy {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* --- Now Playing Bar --- */
.now-playing {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, rgba(190, 24, 93, 0.95), rgba(219, 39, 119, 0.92));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 16px;
}

.equalizer span {
    display: block;
    width: 2.5px;
    border-radius: 1px;
    background: white;
    transform-origin: bottom;
}

.equalizer span:nth-child(1) { height: 100%; animation: eqRandom1 1.8s ease-in-out infinite; }
.equalizer span:nth-child(2) { height: 100%; animation: eqRandom2 2.2s ease-in-out infinite; }
.equalizer span:nth-child(3) { height: 100%; animation: eqRandom3 1.6s ease-in-out infinite; }
.equalizer span:nth-child(4) { height: 100%; animation: eqRandom4 2.4s ease-in-out infinite; }
.equalizer span:nth-child(5) { height: 100%; animation: eqRandom5 2.0s ease-in-out infinite; }

@keyframes eqRandom1 { 0% { transform: scaleY(0.4); } 25% { transform: scaleY(1.0); } 50% { transform: scaleY(0.2); } 75% { transform: scaleY(0.8); } 100% { transform: scaleY(0.4); } }
@keyframes eqRandom2 { 0% { transform: scaleY(0.8); } 25% { transform: scaleY(0.3); } 50% { transform: scaleY(0.9); } 75% { transform: scaleY(0.5); } 100% { transform: scaleY(0.8); } }
@keyframes eqRandom3 { 0% { transform: scaleY(0.2); } 25% { transform: scaleY(0.8); } 50% { transform: scaleY(0.4); } 75% { transform: scaleY(1.0); } 100% { transform: scaleY(0.2); } }
@keyframes eqRandom4 { 0% { transform: scaleY(0.9); } 25% { transform: scaleY(0.4); } 50% { transform: scaleY(0.7); } 75% { transform: scaleY(0.2); } 100% { transform: scaleY(0.9); } }
@keyframes eqRandom5 { 0% { transform: scaleY(0.5); } 25% { transform: scaleY(0.9); } 50% { transform: scaleY(0.3); } 75% { transform: scaleY(1.0); } 100% { transform: scaleY(0.5); } }

.np-text {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
}

/* --- Scroll Reveal Stagger --- */
.band-card:nth-child(1) {
    transition-delay: 0.04s;
}

.band-card:nth-child(2) {
    transition-delay: 0.08s;
}

.band-card:nth-child(3) {
    transition-delay: 0.12s;
}

.band-card:nth-child(4) {
    transition-delay: 0.16s;
}

.band-card:nth-child(5) {
    transition-delay: 0.2s;
}

/* --- Mobile Tight (<360px) --- */
@media (max-width: 360px) {
    .hero {
        padding: 24px 14px 12px;
    }

    .title-jp {
        font-size: 2.3rem;
    }

    .title-live {
        font-size: 3.2rem;
    }

    .title-year {
        font-size: 1.6rem;
    }

    .card-content {
        padding: 14px 12px;
    }

    .band-name {
        font-size: 1rem;
    }

    .song-title {
        font-size: 0.82rem;
    }
}

/* --- Tablet+ — just center nicely --- */
@media (min-width: 768px) {
    .schedule-container {
        max-width: 480px;
    }

    .card-content {
        padding: 22px 20px;
    }

    .band-name {
        font-size: 1.25rem;
    }
}