/* ============================================================
   MousikiBook — Premium Greek Music Band Booking Platform
   Complete Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ============================================================
   0. CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  /* ── Colors ───────────────────────────────────────────── */
  --color-bg-base:        #0a0a12;
  --color-bg-card:        #12121e;
  --color-bg-card-alt:    #181828;
  --color-bg-elevated:    #1e1e30;
  --color-bg-sidebar:     #0e0e1a;
  --color-bg-input:       #161624;
  --color-bg-glass:       rgba(255, 255, 255, 0.04);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.07);

  --color-gold-start:     #d4a843;
  --color-gold-end:       #f0c95c;
  --color-gold-mid:       #e2b84f;
  --color-coral:          #e8596d;
  --color-coral-light:    #f07a8a;

  --color-text-primary:   #f0f0f5;
  --color-text-secondary: #a0a0b5;
  --color-text-muted:     #6a6a80;
  --color-text-on-gold:   #1a1a0e;

  --color-border:         rgba(255, 255, 255, 0.06);
  --color-border-light:   rgba(255, 255, 255, 0.10);
  --color-border-gold:    rgba(212, 168, 67, 0.4);

  --color-success:        #34d399;
  --color-warning:        #fbbf24;
  --color-error:          #f87171;
  --color-info:           #60a5fa;

  /* ── Gradients ────────────────────────────────────────── */
  --gradient-gold:        linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
  --gradient-gold-hover:  linear-gradient(135deg, var(--color-gold-end), var(--color-gold-start));
  --gradient-coral:       linear-gradient(135deg, var(--color-coral), #f07a8a);
  --gradient-hero:        linear-gradient(180deg, rgba(10,10,18,0.55) 0%, rgba(10,10,18,0.85) 60%, var(--color-bg-base) 100%);
  --gradient-card-hover:  linear-gradient(180deg, transparent 30%, rgba(10,10,18,0.92) 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(10,10,18,0.3) 0%, rgba(10,10,18,0.95) 100%);

  /* ── Typography ───────────────────────────────────────── */
  --font-heading:   'Playfair Display', 'Georgia', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-hero:        clamp(2.8rem, 6vw, 5rem);
  --fs-h1:          clamp(2rem, 4vw, 3rem);
  --fs-h2:          clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3:          clamp(1.2rem, 2vw, 1.5rem);
  --fs-h4:          1.125rem;
  --fs-body:        1rem;
  --fs-small:       0.875rem;
  --fs-xs:          0.75rem;

  --lh-heading:     1.2;
  --lh-body:        1.7;
  --ls-heading:     -0.02em;
  --ls-body:        0.01em;
  --ls-caps:        0.08em;

  /* ── Spacing ──────────────────────────────────────────── */
  --space-xs:       0.25rem;
  --space-sm:       0.5rem;
  --space-md:       1rem;
  --space-lg:       1.5rem;
  --space-xl:       2rem;
  --space-2xl:      3rem;
  --space-3xl:      4rem;
  --space-4xl:      6rem;
  --space-5xl:      8rem;

  /* ── Borders & Radius ─────────────────────────────────── */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-pill:    50px;
  --radius-circle:  50%;

  /* ── Shadows ──────────────────────────────────────────── */
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md:      0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg:      0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl:      0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-gold:    0 4px 24px rgba(212, 168, 67, 0.2);
  --shadow-gold-lg: 0 8px 40px rgba(212, 168, 67, 0.3);
  --shadow-inset:   inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* ── Transitions ──────────────────────────────────────── */
  --ease-out:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:     all 0.3s var(--ease-out);
  --transition-fast: all 0.15s var(--ease-out);
  --transition-slow: all 0.5s var(--ease-out);

  /* ── Glass Morphism ───────────────────────────────────── */
  --glass-bg:       rgba(255, 255, 255, 0.04);
  --glass-border:   rgba(255, 255, 255, 0.08);
  --glass-blur:     blur(20px);
  --glass-blur-lg:  blur(40px);

  /* ── Layout ───────────────────────────────────────────── */
  --container-max:  1200px;
  --container-lg:   1400px;
  --navbar-height:  72px;
  --sidebar-width:  260px;

  /* ── Z-index scale ────────────────────────────────────── */
  --z-base:         1;
  --z-dropdown:     10;
  --z-sticky:       100;
  --z-navbar:       1000;
  --z-modal-overlay: 9000;
  --z-modal:        9100;
  --z-toast:        9500;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--color-text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

::selection {
  background: rgba(212, 168, 67, 0.3);
  color: var(--color-text-primary);
}

::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}


/* ============================================================
   2. Utility Classes
   ============================================================ */

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.container-lg {
  max-width: var(--container-lg);
}

/* ── Section Title ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  padding-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-pill);
}

.section-title span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: calc(-1 * var(--space-xl)) auto var(--space-3xl);
  line-height: 1.8;
}

/* ── Text Gradient ──────────────────────────────────────── */
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Glass Card ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── Flex Center ────────────────────────────────────────── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hidden ─────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Text Utilities ─────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-muted  { color: var(--color-text-secondary); }
.text-gold   { color: var(--color-gold-mid); }
.text-coral  { color: var(--color-coral); }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ============================================================
   3. Common Components
   ============================================================ */

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-text-on-gold);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gradient-gold-hover);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold-mid);
  border-color: var(--color-border-gold);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--color-gold-mid);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--gradient-coral);
  color: #fff;
  border-color: transparent;
}

.btn-coral:hover {
  box-shadow: 0 4px 24px rgba(232, 89, 109, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-body);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-circle);
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  line-height: 1.4;
}

.badge-gold {
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-gold-end);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.badge-coral {
  background: rgba(232, 89, 109, 0.15);
  color: var(--color-coral-light);
  border: 1px solid rgba(232, 89, 109, 0.2);
}

.badge-success {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: var(--color-warning);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.badge-error {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-error);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.badge-info {
  background: rgba(96, 165, 250, 0.15);
  color: var(--color-info);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.badge-genre {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.badge-genre:hover {
  background: rgba(212, 168, 67, 0.12);
  color: var(--color-gold-end);
  border-color: rgba(212, 168, 67, 0.2);
}

/* ── Rating Stars ───────────────────────────────────────── */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating .star {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.rating .star.filled {
  color: var(--color-gold-mid);
  filter: drop-shadow(0 0 4px rgba(212, 168, 67, 0.4));
}

.rating .star.half {
  position: relative;
  color: var(--color-text-muted);
}

.rating-value {
  font-weight: 600;
  font-size: var(--fs-small);
  margin-left: var(--space-xs);
  color: var(--color-text-primary);
}

.rating-count {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-left: var(--space-xs);
}

/* ── Form Group & Inputs ────────────────────────────────── */
.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  transition: var(--transition);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  transition: var(--transition);
  box-shadow: var(--shadow-inset);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold-start);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15), var(--shadow-inset);
  background: var(--color-bg-elevated);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--color-border-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Floating label variant */
.form-group-floating {
  position: relative;
}

.form-group-floating input,
.form-group-floating textarea {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.form-group-floating label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  pointer-events: none;
  transition: var(--transition);
  margin-bottom: 0;
}

.form-group-floating textarea ~ label {
  top: 1rem;
  transform: translateY(0);
}

.form-group-floating input:focus ~ label,
.form-group-floating input:not(:placeholder-shown) ~ label,
.form-group-floating textarea:focus ~ label,
.form-group-floating textarea:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: var(--fs-xs);
  color: var(--color-gold-mid);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

/* ── Toast Notification ─────────────────────────────────── */
.toast-container {
  position: fixed;
  top: calc(var(--navbar-height) + var(--space-md));
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 320px;
  max-width: 420px;
  pointer-events: all;
  animation: slideIn 0.4s var(--ease-spring) forwards;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.toast.toast-exit {
  animation: slideOut 0.3s var(--ease-out) forwards;
}

.toast-success { border-left: 3px solid var(--color-success); }
.toast-error   { border-left: 3px solid var(--color-error); }
.toast-warning { border-left: 3px solid var(--color-warning); }
.toast-info    { border-left: 3px solid var(--color-info); }

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: 2px;
}

.toast-message {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
}

.toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
}

/* ── Skeleton Loading ───────────────────────────────────── */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
}

.skeleton-text.short {
  width: 60%;
}

.skeleton-heading {
  height: 24px;
  width: 80%;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
}

.skeleton-card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

/* ── Avatar ─────────────────────────────────────────────── */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 2px solid var(--color-border-light);
  transition: var(--transition);
  flex-shrink: 0;
}

.avatar:hover {
  border-color: var(--color-gold-start);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

.avatar-sm  { width: 32px; height: 32px; }
.avatar-md  { width: 48px; height: 48px; }
.avatar-lg  { width: 64px; height: 64px; }
.avatar-xl  { width: 96px; height: 96px; border-width: 3px; }

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  margin-left: -12px;
  border: 2px solid var(--color-bg-base);
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* ── Tag ────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.375rem 0.875rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--color-border-gold);
  color: var(--color-gold-end);
}

.tag.active {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--color-gold-start);
  color: var(--color-gold-end);
}

.tag-remove {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  font-size: 10px;
  opacity: 0.6;
}

.tag-remove:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   4. Navigation (.navbar)
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 18, 0.92);
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  flex-shrink: 0;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar-logo .logo-accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-pill);
  transition: width 0.3s var(--ease-out);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-text-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Nav actions (right side) */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* Hamburger menu */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
}

.navbar-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  transform-origin: center;
}

.navbar-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.navbar-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.97);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  z-index: var(--z-navbar);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-3xl);
}

.navbar-mobile.open {
  display: flex;
  animation: fadeIn 0.3s var(--ease-out);
}

.navbar-mobile a {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
  transition: var(--transition);
}

.navbar-mobile a:hover {
  color: var(--color-gold-mid);
}


/* ============================================================
   5. Hero Section (.hero)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

/* Decorative animated elements */
.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-circle);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-circle);
  background: radial-gradient(circle, rgba(232, 89, 109, 0.06) 0%, transparent 70%);
  bottom: 5%;
  left: -5%;
  z-index: -1;
  animation: pulse 10s ease-in-out infinite reverse;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  animation: fadeInUp 0.8s var(--ease-out);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-gold-mid);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-pill);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-pill);
  opacity: 0.4;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* Hero Search Form */
.hero-search {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 1s var(--ease-out) 0.2s both;
}

.hero-search .search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-md);
  position: relative;
}

.hero-search .search-field:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-border);
}

.hero-search .search-field .field-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
}

.hero-search .search-field input,
.hero-search .search-field select {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: var(--fs-small);
  padding: 0;
}

.hero-search .search-field input:focus,
.hero-search .search-field select:focus {
  box-shadow: none;
}

.hero-search .search-field select option {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
}

.hero-search .btn-search {
  flex-shrink: 0;
  background: var(--gradient-gold);
  color: var(--color-text-on-gold);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: var(--fs-small);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-gold);
}

.hero-search .btn-search:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: scale(1.02);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  animation: fadeInUp 1s var(--ease-out) 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-primary);
}

.hero-stat .stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}


/* ============================================================
   6. How It Works (.how-it-works)
   ============================================================ */
.how-it-works {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-base);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.step-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
  background: var(--color-bg-card-alt);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  color: var(--color-text-on-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: var(--radius-circle);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-gold);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(212, 168, 67, 0.08);
  border-radius: var(--radius-lg);
  color: var(--color-gold-mid);
  font-size: 1.8rem;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: rgba(212, 168, 67, 0.14);
  transform: scale(1.05);
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Connector lines between steps */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.25rem;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border-light), transparent);
}


/* ============================================================
   7. Featured Bands (.featured-bands)
   ============================================================ */
.featured-bands {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-base);
}

.bands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.band-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.band-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-light);
}

/* Card Image */
.band-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.band-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.band-card:hover .band-card-image img {
  transform: scale(1.08);
}

.band-card-image .card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card-hover);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.band-card:hover .band-card-image .card-overlay {
  opacity: 1;
}

.band-card-image .card-overlay .btn {
  width: 100%;
}

/* Favorite button */
.band-card-favorite {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-circle);
  color: var(--color-text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  z-index: var(--z-base);
  border: none;
  cursor: pointer;
}

.band-card-favorite:hover,
.band-card-favorite.active {
  background: var(--color-coral);
  color: #fff;
  transform: scale(1.1);
}

/* Card Body */
.band-card-body {
  padding: var(--space-lg);
}

.band-card-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.band-card-name .verified {
  color: var(--color-gold-mid);
  font-size: var(--fs-small);
}

.band-card-genres {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.band-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.band-card-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.band-card-price {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: var(--fs-small);
}

.band-card-price span {
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}


/* ============================================================
   8. Event Types (.event-types)
   ============================================================ */
.event-types {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-base);
}

.event-types-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-sm) 0 var(--space-md);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-types-scroll::-webkit-scrollbar {
  display: none;
}

.event-type-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 140px;
  height: 130px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  scroll-snap-align: start;
  text-align: center;
  padding: var(--space-md);
}

.event-type-card:hover {
  background: var(--color-bg-card-alt);
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-type-card.active {
  border-color: var(--color-gold-start);
  background: rgba(212, 168, 67, 0.06);
  box-shadow: var(--shadow-gold);
}

.event-type-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.event-type-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.event-type-card.active .event-type-label {
  color: var(--color-gold-mid);
}


/* ============================================================
   9. Testimonials (.testimonials)
   ============================================================ */
.testimonials {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-card);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
  gap: var(--space-xl);
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-family: var(--font-heading);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text-primary);
}

.testimonial-event {
  font-size: var(--fs-small);
  color: var(--color-gold-mid);
}

/* Carousel dots */
.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  background: var(--color-border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonials-dots .dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold);
}


/* ============================================================
   10. Search Results Page (.search-results)
   ============================================================ */
.search-results {
  padding-top: calc(var(--navbar-height) + var(--space-xl));
  min-height: 100vh;
}

.search-results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

/* ── Filters Sidebar ────────────────────────────────────── */
.filters-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-xl));
  height: fit-content;
  max-height: calc(100vh - var(--navbar-height) - var(--space-2xl));
  overflow-y: auto;
  padding-right: var(--space-md);
}

.filters-sidebar::-webkit-scrollbar {
  width: 4px;
}

.filter-section {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.filter-section-title {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-section-title .collapse-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-section-title .collapse-toggle:hover {
  color: var(--color-text-primary);
}

.filter-section-content {
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}

.filter-section-content.collapsed {
  max-height: 0;
}

/* Price Range Slider */
.price-range {
  padding: var(--space-md) 0;
}

.price-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  outline: none;
  margin: var(--space-md) 0;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gradient-gold);
  border-radius: var(--radius-circle);
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Genre Checkboxes */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-checkbox:hover {
  color: var(--color-text-primary);
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border-light);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked {
  background: var(--gradient-gold);
  border-color: var(--color-gold-start);
}

.filter-checkbox label {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox .count {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Filter Chips (active filters display) */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* ── Search Results Grid ────────────────────────────────── */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.results-count {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.results-count strong {
  color: var(--color-text-primary);
}

.results-sort {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.results-sort select {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--fs-small);
  cursor: pointer;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Mobile filter toggle */
.filter-toggle-mobile {
  display: none;
  width: 100%;
  margin-bottom: var(--space-md);
}


/* ============================================================
   11. Band Profile Page (.band-profile)
   ============================================================ */
.band-profile {
  padding-top: var(--navbar-height);
}

/* Profile Hero Banner */
.band-profile-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.band-profile-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-profile-hero .profile-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark-overlay);
  display: flex;
  align-items: flex-end;
  padding: var(--space-2xl);
}

.band-profile-info {
  display: flex;
  align-items: flex-end;
  gap: var(--space-xl);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.band-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.band-profile-details h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-sm);
}

.band-profile-quick-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.band-profile-quick-stats .stat {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.band-profile-quick-stats .stat .stat-icon {
  color: var(--color-gold-mid);
}

.band-profile-actions {
  margin-left: auto;
  display: flex;
  gap: var(--space-md);
}

/* Profile Tabs */
.band-profile-tabs {
  display: flex;
  gap: 0;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.band-profile-tabs::-webkit-scrollbar {
  display: none;
}

.band-profile-tabs .tab {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.band-profile-tabs .tab:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.band-profile-tabs .tab.active {
  color: var(--color-gold-mid);
  border-bottom-color: var(--color-gold-mid);
}

/* Tab Content */
.tab-content {
  padding: var(--space-2xl) 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s var(--ease-out);
}

.tab-pane.active {
  display: block;
}

/* Bio Tab */
.band-bio {
  max-width: 800px;
}

.band-bio p {
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

/* Media Tab */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.media-grid .video-embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.media-grid .video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Calendar Tab */
.band-calendar {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

/* Reviews Tab */
.review-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--color-border-light);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.review-author {
  flex: 1;
}

.review-author-name {
  font-weight: 600;
  font-size: var(--fs-small);
}

.review-date {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.review-text {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================================
   12. Band Dashboard (.dashboard)
   ============================================================ */
.dashboard {
  display: flex;
  min-height: 100vh;
  padding-top: var(--navbar-height);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  width: var(--sidebar-width);
  background: var(--color-bg-sidebar);
  border-right: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  position: fixed;
  top: var(--navbar-height);
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: var(--z-sticky);
}

.dashboard-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 var(--space-md);
}

.dashboard-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.75rem var(--space-md);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.dashboard-sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
}

.dashboard-sidebar-nav a.active {
  background: rgba(212, 168, 67, 0.1);
  color: var(--color-gold-mid);
}

.dashboard-sidebar-nav a .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dashboard-sidebar-nav a .nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--color-coral);
  color: #fff;
  border-radius: var(--radius-pill);
}

.dashboard-sidebar-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) var(--space-md);
}

/* Dashboard Main Content */
.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--space-xl) var(--space-2xl);
  min-width: 0;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.dashboard-header h1 {
  font-size: var(--fs-h2);
}

.dashboard-header .dashboard-date {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* Analytics Cards */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.analytics-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
}

.analytics-card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.analytics-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.analytics-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
}

.analytics-card-icon.gold    { background: rgba(212, 168, 67, 0.12); color: var(--color-gold-mid); }
.analytics-card-icon.coral   { background: rgba(232, 89, 109, 0.12); color: var(--color-coral); }
.analytics-card-icon.success { background: rgba(52, 211, 153, 0.12); color: var(--color-success); }
.analytics-card-icon.info    { background: rgba(96, 165, 250, 0.12); color: var(--color-info); }

.analytics-card-change {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.analytics-card-change.positive {
  background: rgba(52, 211, 153, 0.1);
  color: var(--color-success);
}

.analytics-card-change.negative {
  background: rgba(248, 113, 113, 0.1);
  color: var(--color-error);
}

.analytics-card-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.analytics-card-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}

/* Profile Editor Form */
.dashboard-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.dashboard-form-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Calendar View */
.calendar {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.calendar-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
}

.calendar-nav {
  display: flex;
  gap: var(--space-sm);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
  padding: var(--space-sm);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  border-bottom: 1px solid var(--color-border);
}

.calendar-day {
  aspect-ratio: 1;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.03);
}

.calendar-day.today {
  background: rgba(212, 168, 67, 0.06);
}

.calendar-day.today .day-number {
  background: var(--gradient-gold);
  color: var(--color-text-on-gold);
  border-radius: var(--radius-circle);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.calendar-day.available::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-circle);
  background: var(--color-success);
  margin-top: var(--space-xs);
}

.calendar-day.booked::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-circle);
  background: var(--color-coral);
  margin-top: var(--space-xs);
}

.calendar-day.other-month {
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* Booking Requests List */
.booking-requests {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-request-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: var(--transition);
}

.booking-request-card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.booking-request-info {
  flex: 1;
}

.booking-request-event {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.booking-request-details {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.booking-request-actions {
  display: flex;
  gap: var(--space-sm);
}


/* ============================================================
   13. Booking Modal (.booking-modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.booking-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.modal-overlay.open .booking-modal {
  transform: scale(1) translateY(0);
}

.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.booking-modal-header h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
}

.booking-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
}

.booking-modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  flex: 1;
}

.booking-price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: rgba(212, 168, 67, 0.06);
  border: 1px dashed var(--color-border-gold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.booking-price-label {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.booking-price-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-gold-mid);
}

.booking-modal-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-md);
}

.booking-modal-footer .btn {
  flex: 1;
}


/* ============================================================
   14. Footer (.footer)
   ============================================================ */
.footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

/* Footer brand */
.footer-brand {
  max-width: 300px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.footer-brand .footer-description {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(212, 168, 67, 0.12);
  border-color: var(--color-border-gold);
  color: var(--color-gold-mid);
  transform: translateY(-2px);
}

/* Footer columns */
.footer-column h4 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column ul li a {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--color-gold-mid);
  padding-left: var(--space-xs);
}

/* Newsletter */
.footer-newsletter {
  margin-bottom: var(--space-lg);
}

.footer-newsletter p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.footer-newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.75rem var(--space-md);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--fs-small);
}

.footer-newsletter-form input:focus {
  border-color: var(--color-gold-start);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-text-secondary);
}


/* ============================================================
   15. Keyframe Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(212, 168, 67, 0.2);
    box-shadow: 0 0 8px rgba(212, 168, 67, 0.1);
  }
  50% {
    border-color: rgba(212, 168, 67, 0.5);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.2);
  }
}

/* Intersection Observer trigger class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.visible .stagger-child:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll.visible .stagger-child:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll.visible .stagger-child:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll.visible .stagger-child:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll.visible .stagger-child:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll.visible .stagger-child:nth-child(6) { transition-delay: 0.6s; }

.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.animate-on-scroll.visible .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for CTAs */
.pulse-glow {
  animation: borderGlow 2.5s ease-in-out infinite;
}


/* ============================================================
   16. Responsive — Tablet (max-width: 1200px)
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 220px;
  }

  /* Bands grid: 2 columns */
  .bands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Analytics grid: 2 columns */
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* How it works: 3 columns still, but tighter */
  .how-it-works-grid {
    gap: var(--space-md);
  }

  /* Step connector hide */
  .step-card::after {
    display: none;
  }

  /* Footer grid: 2 columns */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Search results */
  .search-results-layout {
    grid-template-columns: 240px 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  /* Band profile */
  .band-profile-hero {
    height: 320px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   17. Responsive — Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  /* ── Navbar ────────────────────────────────────────────── */
  .navbar-links {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

  .navbar-actions .btn {
    display: none;
  }

  /* ── Hero ──────────────────────────────────────────────── */
  .hero {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .hero-search .search-field::after {
    display: none;
  }

  .hero-search .search-field {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .hero-search .search-field:last-of-type {
    border-bottom: none;
  }

  .hero-search .btn-search {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat .stat-value {
    font-size: var(--fs-h4);
  }

  /* ── How It Works ──────────────────────────────────────── */
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .step-card::after {
    display: none;
  }

  /* ── Bands Grid ────────────────────────────────────────── */
  .bands-grid {
    grid-template-columns: 1fr;
  }

  /* ── Search Results ────────────────────────────────────── */
  .search-results-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    max-height: none;
    padding-right: 0;
    display: none;
  }

  .filters-sidebar.mobile-open {
    display: block;
    animation: fadeInUp 0.3s var(--ease-out);
  }

  .filter-toggle-mobile {
    display: flex;
  }

  /* ── Band Profile ──────────────────────────────────────── */
  .band-profile-hero {
    height: 250px;
  }

  .band-profile-info {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .band-profile-avatar {
    width: 80px;
    height: 80px;
  }

  .band-profile-details h1 {
    font-size: var(--fs-h3);
  }

  .band-profile-actions {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .band-profile-tabs .tab {
    padding: var(--space-md);
    font-size: var(--fs-xs);
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  /* ── Dashboard ─────────────────────────────────────────── */
  .dashboard-sidebar {
    display: none;
  }

  .dashboard-sidebar.mobile-open {
    display: block;
    width: 100%;
    position: fixed;
    z-index: var(--z-modal);
    animation: fadeIn 0.3s var(--ease-out);
  }

  .dashboard-main {
    margin-left: 0;
    padding: var(--space-md);
  }

  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* ── Footer ────────────────────────────────────────────── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  /* ── Modal ─────────────────────────────────────────────── */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .booking-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .modal-overlay.open .booking-modal {
    transform: scale(1) translateY(0);
  }

  /* ── Section spacing ───────────────────────────────────── */
  .how-it-works,
  .featured-bands,
  .testimonials {
    padding: var(--space-3xl) 0;
  }

  .section-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-2xl);
  }
}


/* ============================================================
   18. Responsive — Small Mobile (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .band-profile-quick-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .booking-request-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-request-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .event-type-card {
    width: 110px;
    height: 110px;
  }
}


/* ============================================================
   19. Print Styles
   ============================================================ */
@media print {
  .navbar,
  .footer,
  .toast-container,
  .modal-overlay,
  .dashboard-sidebar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .band-card,
  .step-card,
  .analytics-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


/* ============================================================
   20. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
