:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #131317;
    --bg-card: rgba(26, 26, 32, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(236, 72, 153, 0.3);
    --pink-primary: #ec4899;
    --pink-hover: #db2777;
    --cyan-primary: #06b6d4;
    --gold-primary: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-boxx {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--cyan-primary);
    font-weight: 700;
}

.header-nav {
    display: flex;
    gap: 1.25rem;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #fff;
}

/* Main */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 5rem;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 2.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: var(--pink-primary);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--pink-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero-title-en {
    display: block;
    font-size: 1.25rem;
    letter-spacing: 4px;
    color: var(--cyan-primary);
    font-weight: 800;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Sections */
.section {
    margin-bottom: 4.5rem;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--pink-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.35rem;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Upcoming Grid */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.upcoming-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.upcoming-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
}

.upcoming-date-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.date-year {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 700;
}

.date-main {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.date-day {
    font-size: 1rem;
    color: var(--pink-primary);
    font-weight: 700;
}

/* Flyer Image */
.event-flyer-wrap {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #000;
    max-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-flyer-thumb {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
    transition: transform 0.3s;
}

.event-flyer-wrap:hover .event-flyer-thumb {
    transform: scale(1.03);
}

.flyer-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.upcoming-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge-live {
    font-size: 0.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink-primary), #be185d);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 0.4rem;
}

.upcoming-artist {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.upcoming-title {
    font-size: 0.95rem;
    color: var(--cyan-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upcoming-program {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.upcoming-venue-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.venue-icon {
    font-size: 0.9rem;
}

.venue-name {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.upcoming-time-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.35rem 0 0.5rem;
    font-size: 0.85rem;
    color: #fbbf24;
    font-weight: 700;
}

.upcoming-price-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.25rem 0 0.75rem;
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.upcoming-notes {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    white-space: pre-line;
}

.btn-ticket {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--pink-primary) 0%, #be185d 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-top: auto;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-ticket:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.no-upcoming-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

.no-upcoming-msg {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-upcoming-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-x-follow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-x-follow:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Search Box */
.search-box-wrap {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    color: var(--text-dim);
    pointer-events: none;
}

#liveSearchInput {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.85rem 2.8rem 0.85rem 2.6rem;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#liveSearchInput:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.search-clear-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
}

.search-clear-btn:hover {
    color: #fff;
}

.search-result-count {
    text-align: center;
    font-size: 0.85rem;
    color: var(--cyan-primary);
    margin-top: 0.6rem;
    font-weight: 600;
}

/* Year Selector */
.year-selector-wrap {
    margin-bottom: 2rem;
}

.year-selector-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.year-buttons-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.year-buttons-scroll::-webkit-scrollbar {
    height: 6px;
}

.year-buttons-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.year-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.year-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.year-btn.active {
    background: var(--pink-primary);
    color: #fff;
    border-color: var(--pink-primary);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.year-count {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Year Section */
.year-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.year-section.hidden {
    display: none;
}

.year-section.show {
    display: block;
}

.year-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.year-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

/* Table */
.table-scroll-wrap {
    overflow-x: auto;
}

.past-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.past-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.past-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.past-row:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.col-date {
    width: 110px;
    white-space: nowrap;
}

.past-date-val {
    font-weight: 700;
    color: #fff;
    margin-right: 0.25rem;
}

.past-day-val {
    color: var(--pink-primary);
    font-size: 0.75rem;
}

.col-artist strong {
    color: #fff;
    font-size: 0.9rem;
}

.col-venue {
    width: 200px;
}

.past-venue-link {
    color: var(--cyan-primary);
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

.past-venue-link:hover {
    text-decoration: underline;
}

.col-detail {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    cursor: zoom-out;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stealth-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.stealth-link:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
    
    .col-venue {
        width: auto;
    }
}
