/* ============================================================
   Y - WHY · billeterie.css
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-root:      #09050f;
    --bg-deep:      #0d0520;
    --bg-card:      #120828;
    --bg-card-alt:  #1a0d35;
    --border-faint: #1e0f38;
    --border-dim:   #2d1a4a;
    --border-mid:   #3d1f7a;
    --border-main:  #5b21b6;
    --purple-main:  #7c4dff;
    --purple-vivid: #7c4dff;
    --purple-light: #aa44ff;
    --purple-pale:  #c4a8ff;
    --purple-muted: #9b7ed0;
    --text-primary:   #ede0ff;
    --text-secondary: #b59dd4;
    --text-muted:     #6b4fa0;
    --text-faint:     #a891c4;
    --green-live:   #00ff95;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', Inter, sans-serif;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 22px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh;
    padding-bottom: 88px;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: rgba(9, 5, 15, 0.9);
    border-bottom: 0.5px solid var(--border-faint);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--purple-pale);
    letter-spacing: 3px;
}
.logo span { color: var(--purple-vivid); }

.nav-links { display: flex; gap: 36px; }
.nav-link { font-size: 13px; color: var(--text-muted); letter-spacing: 0.8px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--purple-pale); }

.nav-cta {
    font-size: 12px;
    color: var(--purple-pale);
    background: transparent;
    border: 0.5px solid var(--border-main);
    padding: 9px 22px;
    border-radius: var(--r-sm);
    letter-spacing: 1.5px;
    transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--purple-main); color: white; }

/* ============================================================
   EN-TÊTE PAGE
   ============================================================ */
.page-header {
    text-align: center;
    padding: 64px 48px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-eyebrow {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.page-title em { font-style: italic; color: var(--purple-light); }

.page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.back-btn {
    position: fixed;
    top: 120px;
    left: 80px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: black;
    color: var(--purple-pale);
    border: 0.5px solid var(--border-main);
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.back-btn:hover {
    background: var(--purple-main);
    color: white;
}

/* ============================================================
   PROCHAIN CONCERT (hero card)
   ============================================================ */
.next-show {
    max-width: 1100px;
    margin: 52px auto 0;
    padding: 0 48px;
}

.next-show-inner {
    background: var(--bg-card);
    border: 0.5px solid var(--border-main);
    border-radius: var(--r-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

/* Lueur d'ambiance derrière la carte */
.next-show-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.next-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--green-live);
    border: 0.5px solid var(--green-live);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    opacity: 0.85;
}

.next-show-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

/* Infos concert */
.next-show-info { display: flex; gap: 36px; align-items: flex-start; }

.next-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding: 16px 22px;
    background: var(--bg-card-alt);
    border: 0.5px solid var(--border-mid);
    border-radius: var(--r-lg);
    min-width: 90px;
}

.next-day {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--purple-pale);
    line-height: 1;
    text-align: center;
}

.next-month {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 2px;
    margin-top: 4px;
    text-align: center;
}

.next-details { flex: 1; }

.next-venue {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.15;
}

.next-city {
    font-size: 13px;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}

.next-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 20px;
}

.next-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.show-tag {
    font-size: 11px;
    color: var(--purple-pale);
    background: rgba(91, 33, 182, 0.15);
    border: 0.5px solid var(--border-mid);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.show-tag.small { font-size: 10px; padding: 3px 10px; }

/* Zone CTA */
.next-show-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 240px;
    align-items: stretch;
}

.ticket-price {
    background: var(--bg-card-alt);
    border: 0.5px solid var(--border-dim);
    border-radius: var(--r-md);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.price-value {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--purple-pale);
    font-weight: 500;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--purple-main);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: var(--r-md);
    letter-spacing: 0.5px;
    transition: background .2s, transform .15s;
}
.btn-buy:hover { background: #6040e0; transform: translateY(-1px); }
.btn-buy.disabled { background: var(--border-dim); color: var(--text-muted); cursor: not-allowed; }
.btn-buy.disabled:hover { background: var(--border-dim); transform: none; }

.notify-text {
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
}

.notify-form {
    display: flex;
    gap: 8px;
}

.notify-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-root);
    border: 0.5px solid var(--border-mid);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    outline: none;
    transition: border-color .2s;
    min-width: 0;
}
.notify-input::placeholder { color: var(--text-muted); }
.notify-input:focus { border-color: var(--purple-main); }

.btn-notify {
    font-size: 13px;
    color: var(--purple-pale);
    background: rgba(91, 33, 182, 0.2);
    border: 0.5px solid var(--border-main);
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: background .2s;
    white-space: nowrap;
}
.btn-notify:hover { background: rgba(91, 33, 182, 0.35); }

/* ============================================================
   LISTE DES DATES
   ============================================================ */
.shows-section {
    max-width: 1100px;
    margin: 64px auto 0;
    padding: 0 48px;
}

.shows-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}

.shows-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
}

.shows-filter { display: flex; gap: 8px; }

.filter-btn {
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    border: 0.5px solid var(--border-mid);
    padding: 7px 18px;
    border-radius: 100px;
    transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { color: var(--purple-pale); }
.filter-btn.active {
    background: var(--purple-main);
    color: white;
    border-color: var(--purple-main);
}

.shows-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.show-row {
    display: grid;
    grid-template-columns: 14px 90px 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    border: 0.5px solid transparent;
    transition: background .2s, border-color .2s;
}
.show-row:hover {
    background: var(--bg-card);
    border-color: var(--border-faint);
}

/* Points de statut */
.show-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-upcoming {
    background: var(--green-live);
    box-shadow: 0 0 8px rgba(0, 255, 149, 0.6);
    animation: pulse-green 2s ease-in-out infinite;
}
.dot-past { background: var(--border-dim); }

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.show-date-col {
    display: flex;
    flex-direction: column;
}
.show-day {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--purple-pale);
    line-height: 1;
}
.show-year {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.show-info-col { min-width: 0; }
.show-venue {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.show-city { font-size: 12px; color: var(--text-muted); }

.show-tags-col { display: flex; gap: 6px; }

.show-action-col { display: flex; justify-content: flex-end; min-width: 130px; }

.btn-ticket-sm {
    font-size: 13px;
    color: var(--purple-pale);
    background: rgba(91, 33, 182, 0.15);
    border: 0.5px solid var(--border-mid);
    padding: 8px 18px;
    border-radius: var(--r-sm);
    transition: background .2s;
    white-space: nowrap;
}
.btn-ticket-sm:hover { background: rgba(91, 33, 182, 0.3); }
.btn-ticket-sm.disabled { color: var(--text-muted); border-color: var(--border-faint); cursor: not-allowed; }
.btn-ticket-sm.disabled:hover { background: rgba(91, 33, 182, 0.15); }

.show-past-label {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    max-width: 1100px;
    margin: 64px auto 64px;
    padding: 0 48px;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
    border: 0.5px solid var(--border-faint);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-mid); }

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    background: var(--bg-card);
    transition: background .2s;
}
.faq-q:hover { background: var(--bg-card-alt); }

.faq-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--purple-pale);
    transition: transform .25s ease;
}

.faq-a {
    background: var(--bg-card-alt);
    border-top: 0.5px solid var(--border-faint);
    padding: 18px 22px;
}
.faq-a p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.faq-a a {
    color: var(--purple-pale);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   PLAYER BAR
   ============================================================ */
.player-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: var(--bg-card-alt);
    border-top: 0.5px solid var(--border-faint);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    gap: 24px;
    z-index: 200;
}

.player-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }

.player-thumb {
    width: 46px; height: 46px;
    border-radius: var(--r-sm);
    background: var(--border-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--purple-pale); flex-shrink: 0;
    overflow: hidden;
}
.player-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.player-title { font-size: 13px; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.player-center { flex: 1.5; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.player-controls { display: flex; align-items: center; gap: 8px; }

.ctrl-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s, background .2s;
}
.ctrl-btn:hover { color: var(--purple-pale); background: rgba(91,33,182,.15); }

.ctrl-play { width: 42px; height: 42px; background: var(--purple-main); color: white; font-size: 18px; }
.ctrl-play:hover { background: #6040e0; color: white; }

.player-progress { display: flex; align-items: center; gap: 10px; width: 100%; }
.player-time { font-size: 11px; color: var(--text-faint); flex-shrink: 0; }

.progress-track {
    flex: 1; height: 3px;
    background: var(--border-faint);
    border-radius: 2px; overflow: hidden; cursor: pointer;
}
.progress-fill { height: 100%; width: 0%; background: var(--purple-main); border-radius: 2px; }

.player-right { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; }
.volume-track { width: 80px; height: 3px; background: var(--border-dim); border-radius: 2px; overflow: hidden; cursor: pointer; }
.volume-fill { height: 100%; width: 70%; background: var(--purple-main); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .next-show-body { grid-template-columns: 1fr; gap: 32px; }
    .next-show-cta { min-width: unset; }
    .shows-section, .next-show, .faq-section { padding: 0 28px; }
    .show-row { grid-template-columns: 14px 80px 1fr auto; }
    .show-tags-col { display: none; }
    .navbar { padding: 14px 24px; }
    .player-right { display: none; }
    .page-title { font-size: 48px; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .next-show-info { flex-direction: column; gap: 20px; }
    .show-row { grid-template-columns: 14px 1fr auto; gap: 12px; }
    .show-date-col { display: none; }
    .shows-section, .next-show, .faq-section { padding: 0 18px; }
    .next-show-inner { padding: 28px 20px; }
    .page-title { font-size: 38px; }
}