:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.85);
  --bg-card-hover: rgba(28, 36, 56, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-focus: #f43f5e;
  
  --primary: #f43f5e;
  --primary-glow: rgba(244, 63, 94, 0.35);
  --secondary: #8b5cf6;
  --accent: #38bdf8;
  --success: #10b981;
  --warning: #f59e0b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-update-banner {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.app-update-reload-btn {
  background: #ffffff;
  color: #065f46;
  border: none;
  border-radius: 6px;
  padding: 0.28rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.app-update-reload-btn:hover {
  background: #ecfdf5;
  transform: translateY(-1px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ── En-tête Global ── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border-card);
  padding: 1rem 1.5rem;
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-beta-app {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
  animation: pulse-beta 3s infinite ease-in-out;
  cursor: pointer;
}

@keyframes pulse-beta {
  0%, 100% {
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.45);
  }
  50% {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
    border-color: rgba(168, 85, 247, 0.7);
  }
}

body.is-beta .app-header {
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-text {
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.sync-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-card);
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.sync-status-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
  flex-shrink: 0;
}

.service-health-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.service-health-pill:hover {
  filter: brightness(1.15);
}

.service-health-pill.is-degraded {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}

.service-health-pill.is-degraded .status-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.btn-icon-pill {
  height: 36px;
  padding: 0 0.65rem;
  font-size: 0.85rem;
  line-height: 1;
}

@keyframes spin-sync {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn.is-syncing .sync-icon {
  display: inline-block;
  animation: spin-sync 1s linear infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e11d48);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-pwa {
  background: linear-gradient(135deg, var(--secondary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

/* ── Conteneur Principal ── */
.main-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Section Nouveautés de la dernière synchro ── */
.latest-sync-section {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.badge-new {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 12px var(--primary-glow); }
  100% { transform: scale(1); }
}

.horizontal-scroll-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll-grid::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
}
.horizontal-scroll-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

.new-concert-pill-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.new-concert-pill-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.new-card-image-box {
  position: relative;
  height: 96px;
  background: #1e293b;
  overflow: hidden;
  flex-shrink: 0;
}

.new-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.new-concert-pill-card:hover .new-card-image-box img {
  transform: scale(1.05);
}

.new-card-overlay-top {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  right: 0.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
}

.new-card-venue-tag {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  max-width: 135px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-card-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.new-card-actions .badge-new {
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
}

.new-card-body {
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 0.45rem;
}

.new-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.new-card-date {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0;
}

.new-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.new-card-genre-tag {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.new-card-link {
  font-size: 0.74rem;
  white-space: nowrap;
}

/* ── Barre d'outils, Recherche & Filtres ── */
.toolbar-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1 1 300px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  color: #fff;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.sort-select {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.venue-size-pills {
  margin-bottom: 0.65rem;
}

.pill-favorites.active {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border-color: #f43f5e;
  color: #fff;
}

.pill-share {
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.pill-share:hover {
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(56, 189, 248, 0.14);
  color: #fff;
}

.shared-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.shared-banner-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.95rem;
}

.shared-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.user-badge-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.user-display-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: var(--transition);
}

.user-display-label:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Toast d'information (icônes du header) ── */
.info-toast {
  position: fixed;
  top: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  max-width: min(92vw, 440px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  animation: toast-fade-in 0.18s ease-out;
}

.info-toast.is-warning {
  border-color: rgba(245, 158, 11, 0.55);
  color: #fde68a;
}

@keyframes toast-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.btn-sm {
  padding: 0.38rem 0.7rem;
  font-size: 0.8rem;
}

.auth-modal-content {
  max-width: 420px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tab {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
}

.auth-tab.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
  color: #fff;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
}

.auth-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.92rem;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-error {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fecdd3;
  font-size: 0.85rem;
}

.btn-header-share {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.scroll-nav-buttons {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scroll-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.scroll-nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(30, 41, 59, 0.95);
}

.btn-favorite {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-favorite:hover {
  transform: scale(1.1);
  border-color: rgba(244, 63, 94, 0.75);
  background: rgba(15, 23, 42, 0.9);
}

.btn-favorite.is-favorite {
  border-color: rgba(244, 63, 94, 0.8);
  background: rgba(244, 63, 94, 0.25);
}

.btn-favorite-inline {
  position: static;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.filter-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.filter-pills-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  background: var(--bg-glass);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* ── Grille Principale des Concerts ── */
.concerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.concert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.concert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-image-box {
  position: relative;
  height: 180px;
  background: #1e293b;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.concert-card:hover .card-image-box img {
  transform: scale(1.05);
}

.card-overlay-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.venue-tag {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.genre-tag {
  background: rgba(139, 92, 246, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.concert-date-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.concert-added-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.75;
  margin-bottom: 0.45rem;
}

.concert-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.concert-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-official {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--border-card);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-official:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ── Modal & Guide PWA ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Pagination Dynamique (> 250 résultats) ── */
.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 3.5rem;
}

.pagination-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.pagination-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 2.4rem;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.pagination-btn.active {
  color: #fff;
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: var(--text-muted);
  padding: 0 0.25rem;
  user-select: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .app-header {
    padding: 0.55rem 0.75rem;
  }
  .header-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .brand-group {
    min-width: 0;
    flex: 1;
    gap: 0.45rem;
  }
  .brand-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  .brand-title-row {
    flex-wrap: nowrap;
    gap: 0.3rem;
  }
  .brand-title {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .badge-beta-app {
    padding: 0.12rem 0.35rem;
    font-size: 0.7rem;
  }
  .brand-subtitle {
    display: none;
  }
  .header-actions {
    width: auto;
    flex-wrap: nowrap;
    gap: 0.3rem;
  }
  .sync-status-badge,
  .service-health-pill,
  .user-display-label {
    height: 32px;
    padding: 0 0.45rem;
    font-size: 0.75rem;
  }
  .user-display-label {
    min-width: 32px;
  }
  .btn-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .btn-icon-pill {
    height: 32px;
    padding: 0 0.5rem;
    font-size: 0.78rem;
  }
  .concerts-grid {
    grid-template-columns: 1fr;
  }
}
