/* ============================================================
   MUJTIC — style.css (full rewrite, v5)
   Replaces the old style.css. Keep css/loader.css after it.

   Look:    solid, blended colour. No glass, no blur on surfaces.
            Light mode lives on a teal-tinted page; cards are white,
            sections alternate between page tint and a deeper teal band.
   Fonts:   Syne (display) · Outfit (body) · JetBrains Mono (ids/codes only)
   Radii:   10px controls · 18px cards · 26px panels · pill
============================================================ */

/* ============================================================
   1. TOKENS
============================================================ */
:root {
  color-scheme: light;

  /* surfaces */
  --bg:         #f6f8fb;
  --bg-2:       #ffffff;
  --bg-3:       #eff3f7;
  --surface:    #e4eaf0;
  --band:       #eaf0f5;
  --band-2:     #dce5ed;
  --field:      #f3f6f9;
  --border:     #e1e7ee;
  --border-2:   #c9d3de;

  /* ink */
  --muted:      #5a6b7c;
  --dim:        #3f4f5f;
  --text:       #1a2735;
  --bright:     #0a1522;

  /* the one deep green used for hover, active states and feature sections */
  --deep:       #0b5e57;
  --deep-blend: linear-gradient(135deg, #0d7a70 0%, #0b5e57 50%, #08463f 100%);

  /* brand */
  --coral:      #e5484d;
  --coral-d:    #c93a3f;
  --coral-glow: rgba(229,72,77,0.12);
  --teal:       #0d9488;
  --teal-d:     #0b766d;
  --teal-deep:  #0a4a45;
  --teal-soft:  #cdece6;
  --teal-glow:  rgba(13,148,136,0.12);
  --mint:       #059669;
  --sky:        #0284c7;
  --gold:       #b45309;
  --success:    #059669;
  --error:      #e5484d;
  --warning:    #b45309;

  /* misc */
  --radius:     10px;
  --radius-lg:  18px;
  --r-panel:    26px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --on-teal:    #ffffff;
  --nav-bg:     #ffffff;
  --badge-bg:   #ffffff;
  --backdrop:   rgba(10,21,34,0.55);
  --hero-grad:  linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --hero-glow:  linear-gradient(180deg, rgba(13,148,136,0.08), transparent 70%);
  --profile-bg: var(--deep-blend);
  --detail-img-filter: none;

  --sh-1: 0 1px 2px rgba(11,38,52,0.06), 0 2px 8px -2px rgba(11,38,52,0.07);
  --sh-2: 0 2px 4px rgba(11,38,52,0.05), 0 14px 30px -12px rgba(11,38,52,0.18);
  --sh-3: 0 4px 10px rgba(11,38,52,0.06), 0 30px 60px -18px rgba(11,38,52,0.30);
  --ring: 0 0 0 4px var(--teal-glow);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:         #0a0f15;
  --bg-2:       #101720;
  --bg-3:       #161e29;
  --surface:    #1c2634;
  --band:       #0d131a;
  --band-2:     #121a23;
  --field:      #0c1218;
  --border:     #1e2836;
  --border-2:   #2c394a;

  --muted:      #7e8fa3;
  --dim:        #9fb1c3;
  --text:       #cfdbe6;
  --bright:     #f1f6fa;

  --coral:      #ff6b6b;
  --coral-d:    #e05555;
  --coral-glow: rgba(255,107,107,0.15);
  --teal:       #2dd4bf;
  --teal-d:     #1aae9e;
  --teal-deep:  #0b3a3a;
  --teal-soft:  rgba(45,212,191,0.16);
  --teal-glow:  rgba(45,212,191,0.14);
  --mint:       #6ee7b7;
  --sky:        #7dd3fc;
  --gold:       #fbbf24;
  --success:    #6ee7b7;
  --error:      #ff6b6b;
  --warning:    #fbbf24;

  --on-teal:    #07151a;
  --nav-bg:     #0c1218;
  --badge-bg:   #101720;
  --backdrop:   rgba(3,6,10,0.78);
  --hero-grad:  linear-gradient(180deg, #0d141b 0%, #0a0f15 100%);
  --hero-glow:  linear-gradient(180deg, rgba(45,212,191,0.07), transparent 70%);

  --sh-1: 0 1px 2px rgba(0,0,0,0.45);
  --sh-2: 0 14px 30px -12px rgba(0,0,0,0.65);
  --sh-3: 0 30px 60px -18px rgba(0,0,0,0.8);
}

/* ============================================================
   2. BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
img, video, canvas, svg { max-width: 100%; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--teal); color: var(--on-teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================================
   3. NAVBAR
============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px -20px rgba(11,38,52,0.5);
}
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--teal); letter-spacing: -0.03em; cursor: pointer; text-decoration: none; display: flex; align-items: baseline; gap: 0.3rem; }
.nav-logo .logo-img { width: 10rem; display: block; }
.nav-logo .logo-img--dark { display: none; }
:root[data-theme="dark"] .nav-logo .logo-img--light { display: none; }
:root[data-theme="dark"] .nav-logo .logo-img--dark  { display: block; }

.nav-links { display: flex; gap: 0.15rem; list-style: none; }
.nav-links a {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem;
  color: var(--dim); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.nav-links a i { font-size: 0.78rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--deep); }
.nav-links a.active { font-weight: 600; }
.nav-right { display: flex; gap: 0.6rem; align-items: center; }

#login-link { background: var(--bright); color: var(--bg); border-color: transparent; border-radius: 999px; padding: 0.55rem 1.3rem; }
#login-link:hover { background: var(--bright); opacity: 0.88; border-color: transparent; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.4rem; z-index: 10; }
.mobile-menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: all 0.3s; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.theme-toggle-btn {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--border-2); color: var(--dim); cursor: pointer; font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}
.theme-toggle-btn:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-glow); transform: rotate(15deg); }

/* profile dropdown */
.profile-dropdown { position: relative; display: inline-block; }
.profile-trigger { display: flex; align-items: center; gap: 0.5rem; background: var(--bg-2); border: 1px solid var(--border); cursor: pointer; padding: 0.3rem 0.75rem 0.3rem 0.3rem; border-radius: 999px; transition: background 0.2s; color: var(--text); }
.profile-trigger:hover { background: var(--band); }
.profile-avatar-small { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--on-teal); }
.profile-name-small { font-size: 0.85rem; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-menu { position: absolute; top: 100%; right: 0; margin-top: 0.5rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 0.4rem; min-width: 200px; box-shadow: var(--sh-3); z-index: 100; display: none; }
.dropdown-menu.show { display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 0.88rem; transition: background 0.2s; }
.dropdown-menu a:hover { background: var(--band); }
.dropdown-menu a i { width: 20px; font-size: 0.9rem; color: var(--dim); }

/* ============================================================
   4. NOTIFICATIONS
============================================================ */
.notif-bell-btn { position: relative; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--dim); font-size: 1rem; border-radius: 50%; transition: all 0.2s; }
.notif-bell-btn:hover { color: var(--teal); background: var(--teal-glow); }
.notif-badge { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; border-radius: 100px; background: var(--coral); color: #fff; font-family: 'Outfit', sans-serif; font-size: 0.62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--nav-bg); }
.notifications-panel {
  position: fixed; top: 70px; right: 1.5rem; z-index: 600; width: 370px; max-height: 480px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sh-3);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(-8px) scale(0.97); opacity: 0; pointer-events: none; transition: all 0.22s var(--ease);
}
.notifications-panel.open { transform: none; opacity: 1; pointer-events: all; }
.notif-overlay { position: fixed; inset: 0; z-index: 590; display: none; }
.notif-overlay.visible { display: block; }
.notif-header { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--border); background: var(--bg-3); flex-shrink: 0; }
.notif-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--bright); flex: 1; }
.notif-mark-read { background: none; border: none; cursor: pointer; font-size: 0.74rem; font-weight: 600; color: var(--teal-d); font-family: 'Outfit', sans-serif; transition: opacity 0.2s; }
:root[data-theme="dark"] .notif-mark-read { color: var(--teal); }
.notif-mark-read:hover { opacity: 0.7; }
.notif-close { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.2rem; line-height: 1; padding: 0.1rem; transition: color 0.2s; }
.notif-close:hover { color: var(--text); }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--border); transition: background 0.15s; cursor: pointer; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-3); }
.notif-item.unread { background: var(--teal-glow); }
.notif-item.unread::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 0.4rem; }
.notif-item-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.notif-icon-purchase { background: rgba(45,212,191,0.15); color: var(--teal); }
.notif-icon-refund   { background: rgba(255,107,107,0.15); color: var(--coral); }
.notif-icon-waitlist { background: rgba(251,191,36,0.16);  color: var(--gold); }
.notif-icon-reminder { background: rgba(110,231,183,0.18); color: var(--mint); }
.notif-icon-transfer { background: rgba(125,211,252,0.18); color: var(--sky); }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-text { font-size: 0.84rem; color: var(--text); line-height: 1.45; }
.notif-item-time { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.notif-empty { text-align: center; padding: 3rem 1.5rem; color: var(--muted); font-size: 0.85rem; }
.notif-empty i { font-size: 2rem; display: block; margin-bottom: 0.75rem; opacity: 0.4; }

/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.65rem 1.25rem; border-radius: var(--radius);
  font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; border: none; white-space: nowrap; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 1px 2px rgba(11,38,52,0.2), 0 8px 18px -8px var(--teal); }
.btn-primary:hover { background: var(--teal-d); transform: translateY(-1px); box-shadow: 0 1px 2px rgba(11,38,52,0.2), 0 12px 24px -8px var(--teal); }
.btn-ghost { background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: var(--band); border-color: var(--muted); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-d); box-shadow: 0 8px 20px -8px var(--coral); }
.btn-outline { background: transparent; color: var(--teal-d); border: 1px solid var(--teal); }
:root[data-theme="dark"] .btn-outline { color: var(--teal); }
.btn-outline:hover { background: var(--teal-glow); }
.btn-danger { background: var(--coral); color: #fff; }
.btn-danger:hover { opacity: 0.88; }
.btn-success { background: var(--mint); color: #fff; }
:root[data-theme="dark"] .btn-success { color: #07151a; }
.btn-success:hover { opacity: 0.88; }
.btn-warn { background: var(--gold); color: #fff; }
:root[data-theme="dark"] .btn-warn { color: #07151a; }
.btn-warn:hover { opacity: 0.9; }
.btn-block { width: 100%; padding: 0.85rem 1.25rem; }
.btn-sm { padding: 0.42rem 0.9rem; font-size: 0.8rem; border-radius: 8px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.icon-btn { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--dim); cursor: pointer; font-size: 0.85rem; transition: all 0.2s var(--ease); }
.icon-btn:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-glow); }
.icon-btn-primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); box-shadow: 0 6px 14px -6px var(--teal); }
.icon-btn-primary:hover { background: var(--teal-d); border-color: var(--teal-d); color: var(--on-teal); transform: scale(1.08); }
.icon-btn-danger:hover { color: var(--coral); border-color: var(--coral); background: var(--coral-glow); }
.icon-btn-sm { width: 30px; height: 30px; font-size: 0.72rem; }

/* ============================================================
   6. HERO + CAROUSEL
============================================================ */
#home-section { display: block; }
.hero {
  position: relative; min-height: min(92vh, 860px); padding-top: 64px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--hero-grad);
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero-left { position: relative; padding: 5rem 3rem 4rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.95rem 0.4rem 0.8rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; margin-bottom: 1.75rem; width: fit-content; box-shadow: var(--sh-1); }
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-glow); }
.hero-badge span { font-size: 0.84rem; font-weight: 600; color: var(--dim); }
.hero-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.9rem, 5.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.04em; color: var(--bright); margin-bottom: 1.4rem; }
.hero-title .accent { color: var(--teal); }
.hero-title .accent-2 { color: var(--coral); }
.hero-sub { font-size: 1.12rem; color: var(--dim); max-width: 440px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.5rem; }
.hero-stats > div { flex: 1 1 0; min-width: 120px; padding: 1rem 1.1rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--sh-1); }
.hero-stat-val { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bright); line-height: 1; }
.hero-stat-val em { color: var(--teal); font-style: normal; }
.hero-stat-key { font-size: 0.8rem; color: var(--muted); margin-top: 0.45rem; display: flex; align-items: center; gap: 0.4rem; }
.hero-stat-key i { color: var(--teal); font-size: 0.72rem; }

.hero-right { position: relative; overflow: hidden; }
.hero-right-inner { position: absolute; inset: 2.25rem 3rem 2.25rem 0.5rem; display: flex; flex-direction: column; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--sh-3); }
.carousel-label { position: absolute; top: 1rem; left: 1rem; z-index: 4; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #fff; background: #0a2523; display: flex; align-items: center; gap: 0.5rem; }
.carousel-slides { position: absolute; inset: 0; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-info { position: relative; z-index: 2; padding: 3rem 1.75rem 2.25rem; background: linear-gradient(to top, #061513 0%, rgba(6,21,19,0.62) 55%, rgba(6,21,19,0) 100%); }
.carousel-cat { position: absolute; top: 1rem; right: 1rem; z-index: 3; padding: 0.35rem 0.85rem; font-size: 0.78rem; font-weight: 600; color: #fff; background: #0a2523; border-radius: 100px; }
.carousel-title { font-family: 'Syne', sans-serif; font-size: 1.65rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1.2; margin-bottom: 0.4rem; }
.carousel-venue { font-size: 0.85rem; color: #cfe3df; }
.carousel-price-tag { display: inline-block; margin-top: 0.9rem; padding: 0.35rem 0.95rem; background: var(--coral); color: #fff; border-radius: 100px; font-weight: 700; font-size: 0.84rem; }
.carousel-dots { position: absolute; bottom: 1.15rem; right: 1.5rem; z-index: 3; display: flex; gap: 0.4rem; }
.carousel-dot { width: 18px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s; }
.carousel-dot.active { width: 32px; background: #fff; }

/* ============================================================
   7. FILTERS BAR
============================================================ */
.filters-bar {
  position: sticky; top: 64px; z-index: 100;
  background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border-2);
  padding: 0.8rem 2.5rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.filters-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); flex-shrink: 0; }
.filter-chip { height: 40px; padding: 0 1rem; background-color: var(--bg-2); border: 1px solid var(--border-2); border-radius: 100px; color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-chip:hover, .filter-chip:focus { border-color: var(--teal); color: var(--teal-d); outline: none; }
:root[data-theme="dark"] .filter-chip:hover, :root[data-theme="dark"] .filter-chip:focus { color: var(--teal); }
.filter-chip.is-loading { opacity: 0.6; pointer-events: none; }
select.filter-chip {
  appearance: none; -webkit-appearance: none; padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2350706b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center;
}
select.filter-chip option, select.filter-chip optgroup { background: var(--bg-2); color: var(--text); }
.filter-clear { margin-left: auto; font-size: 0.8rem; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; transition: color 0.2s; }
.filter-clear:hover { color: var(--coral); }
.filter-search { position: relative; flex: 1 1 260px; max-width: 420px; min-width: 200px; }
.filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.8rem; pointer-events: none; }
.filter-search input { width: 100%; height: 40px; padding: 0 1rem 0 2.5rem; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 100px; color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.88rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.filter-search input::placeholder { color: var(--muted); }
.filter-search input:focus { border-color: var(--teal); box-shadow: var(--ring); }

/* ============================================================
   8. SECTIONS
============================================================ */
.section { display: none; padding: 3.5rem 2.5rem; min-height: 60vh; }
.section.visible { display: block; }
.events-section { padding: 3.5rem 2.5rem; scroll-margin-top: 130px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.75rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--bright); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 2.25rem; }

/* ============================================================
   9. EVENT CARDS  (classic layout: image on top, body below)
============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.event-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--sh-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s;
}
.event-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--sh-3); }
.event-card.cancelled { opacity: 0.5; pointer-events: none; }
.card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--band); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.event-card:hover .card-img img { transform: scale(1.05); }
.card-img-overlay { display: none; }
.card-cat-badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.28rem 0.7rem; background: var(--badge-bg); border-radius: 100px; font-size: 0.75rem; font-weight: 600; color: var(--bright); box-shadow: var(--sh-1); }
.card-cat-badge i { color: var(--teal); margin-right: 0.2rem; }
.card-cancelled-badge { position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.28rem 0.7rem; background: var(--coral); color: #fff; border-radius: 100px; font-size: 0.7rem; font-weight: 700; }
.card-body { padding: 1.15rem 1.3rem 1.3rem; }
.card-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.6rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.card-meta-row { font-size: 0.82rem; color: var(--dim); display: flex; align-items: center; gap: 0.5rem; }
.card-meta-row i { color: var(--teal); width: 0.9rem; text-align: center; font-size: 0.78rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.card-price { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--bright); margin-right: auto; }
.card-price.free { color: var(--mint); font-size: 0.95rem; }
.card-price.early-bird { color: var(--gold); }
.card-price.sold-out { color: var(--coral); font-size: 0.9rem; font-weight: 700; }
.avail-badge { font-family: 'Outfit', sans-serif !important; letter-spacing: 0 !important; font-size: 0.72rem !important; font-weight: 600; padding: 0.25rem 0.65rem !important; }
.fav-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-3); border: none; border-radius: 50%; cursor: pointer; color: var(--muted); font-size: 0.9rem; line-height: 1; flex-shrink: 0; transition: all 0.2s; }
.fav-btn:hover { transform: scale(1.1); color: var(--coral); background: var(--coral-glow); }
.fav-btn.active, .fav-btn[aria-pressed="true"] { color: var(--coral); background: var(--coral-glow); }
.early-tag { font-size: 0.7rem; font-weight: 600; color: var(--gold); background: rgba(251,191,36,0.14); border: 1px solid rgba(180,83,9,0.25); padding: 0.15rem 0.55rem; border-radius: 100px; }

/* loading / empty */
.empty-state { grid-column: 1/-1; text-align: center; padding: 4.5rem 2rem; color: var(--muted); background: var(--bg-2); border-radius: var(--r-panel); }
.empty-state h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; color: var(--bright); margin-bottom: 0.4rem; }
.empty-state p { max-width: 380px; margin: 0.4rem auto 0; font-size: 0.9rem; line-height: 1.6; }
.empty-emoji { font-size: 3.5rem; line-height: 1; margin-bottom: 1rem; color: var(--teal); }
.loading-placeholder { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 5rem 2rem; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border-2); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* inline field errors */
.field-error { display: none; font-size: 0.74rem; color: var(--coral); margin-top: 0.3rem; }
.field-error.visible { display: block; }
.input.has-error { border-color: var(--coral) !important; box-shadow: 0 0 0 3px var(--coral-glow) !important; }

/* ============================================================
   10. HOMEPAGE SECTIONS
============================================================ */
.hm-section { max-width: 1400px; margin: 0 auto; padding: 5rem 2.5rem; }
#hm-how, #hm-why { clip-path: inset(0 -100vmax); }
#hm-how { position: relative; isolation: isolate; }
#hm-how::before { content: ''; position: absolute; inset: 0 -100vmax; background: var(--deep-blend); z-index: -1; }
#hm-why { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); }
#hm-how .hm-eyebrow { color: #8ff0e0; }
#hm-how .hm-title { color: #fff; }
#hm-how .hm-step { background: #0f6c64; border-color: #1d8277; box-shadow: none; }
#hm-how .hm-step-n { color: #8ff0e0; }
#hm-how .hm-step h3 { color: #fff; }
#hm-how .hm-step p { color: #cfe9e5; }
.hm-head { margin-bottom: 2rem; }
.hm-eyebrow { font-size: 0.92rem; font-weight: 600; color: var(--teal-d); margin-bottom: 0.5rem; }
:root[data-theme="dark"] .hm-eyebrow { color: var(--teal); }
.hm-title { font-family: 'Syne', sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--bright); line-height: 1.1; }
.hm-sub { color: var(--dim); font-size: 0.98rem; line-height: 1.75; margin-top: 0.6rem; max-width: 560px; }

.hm-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
.hm-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; padding: 1.15rem; text-align: left; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text); cursor: pointer; font: 600 0.92rem 'Outfit', sans-serif; letter-spacing: -0.01em; box-shadow: var(--sh-1); transition: all 0.2s var(--ease); }
.hm-cat:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--sh-2); }
.hm-cat-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; background: var(--teal-soft); color: var(--teal-d); }
:root[data-theme="dark"] .hm-cat-ico { color: var(--teal); }

.hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hm-step { padding: 1.9rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--sh-1); }
.hm-step-n { font-family: 'Syne', sans-serif; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--teal); line-height: 1; display: block; margin-bottom: 0.8rem; }
.hm-step h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.4rem; }
.hm-step p { font-size: 0.88rem; color: var(--dim); line-height: 1.7; }

.hm-cities { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hm-city { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 1.1rem; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 100px; color: var(--dim); cursor: pointer; font: 500 0.88rem 'Outfit', sans-serif; transition: all 0.2s; }
.hm-city i { color: var(--teal); font-size: 0.75rem; }
.hm-city:hover { border-color: var(--teal); color: var(--bright); background: var(--teal-soft); }

/* host CTA: solid deep teal, blended */
.hm-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem; border-radius: var(--r-panel); background: var(--deep-blend); box-shadow: var(--sh-2); }
.hm-cta .hm-eyebrow { color: #8ff0e0; }
.hm-cta .hm-title { color: #fff; }
.hm-cta .hm-sub { color: #cfe9e5; }
.hm-cta .btn-primary { background: #fff; color: var(--deep); box-shadow: none; }
.hm-cta .btn-primary:hover { background: #e6f7f4; }
.hm-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.hm-cta .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hm-cta-actions { display: flex; gap: 0.6rem; flex-shrink: 0; flex-wrap: wrap; }

.hm-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hm-why-card { padding: 1.5rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--sh-1); }
.hm-why-card i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-d); font-size: 1rem; margin-bottom: 1rem; }
:root[data-theme="dark"] .hm-why-card i { color: var(--teal); }
.hm-why-card h4 { font-family: 'Syne', sans-serif; color: var(--bright); font-size: 1rem; margin-bottom: 0.3rem; }
.hm-why-card p { font-size: 0.85rem; color: var(--dim); line-height: 1.65; }

/* ============================================================
   11. EVENT LANDING PAGE
============================================================ */
.ep-wrap { max-width: 1080px; margin: 0 auto; }
.ep-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--dim); text-decoration: none; font-size: 0.88rem; font-weight: 500; margin-bottom: 1.25rem; transition: color 0.2s; }
.ep-back:hover { color: var(--teal); }
.ep-hero { position: relative; aspect-ratio: 16/9; max-height: 560px; overflow: hidden; background: var(--band); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--sh-2); margin-bottom: 2rem; }
.ep-hero-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(28px) saturate(1.1); }
.ep-hero-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.detail-cat-badge { position: absolute; z-index: 2; top: 1rem; left: 1.25rem; padding: 0.35rem 0.85rem; background: var(--badge-bg); border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--bright); box-shadow: var(--sh-1); }
.detail-cat-badge i { color: var(--teal); }
.ep-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 2rem; align-items: start; }
.ep-title { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; color: var(--bright); line-height: 1.15; margin-bottom: 1rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-bottom: 1.1rem; }
.detail-meta-item { font-size: 0.82rem; color: var(--text); display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; }
.detail-meta-item i { color: var(--teal); }
.ep-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.25rem 0 1.75rem; }
.ep-h { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.6rem; }
.ep-desc { font-size: 0.95rem; color: var(--dim); line-height: 1.85; white-space: pre-line; }
.ep-ticket-card { position: sticky; top: 84px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 1.5rem; box-shadow: var(--sh-2); }
.ep-notice { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px; font-size: 0.86rem; color: var(--dim); }
.ep-notice i { color: var(--coral); }
.ep-terms { margin-top: 1.5rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 0.9rem 1.1rem; }
.ep-terms summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--bright); display: flex; align-items: center; gap: 0.5rem; }
.ep-terms summary i { color: var(--teal); }
.ep-terms[open] summary { margin-bottom: 0.75rem; }
.terms-agree { margin: 0.25rem 0 1rem; }
.terms-agree .ep-terms { margin-top: 0.6rem; padding: 0.6rem 0.8rem; }

.tickets-label { font-size: 0.95rem; font-weight: 700; color: var(--bright); margin-bottom: 0.85rem; }
.ticket-tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0.35rem 1rem; padding: 1rem 1.15rem; background: var(--field); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 0.65rem; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.ticket-tier > div:first-child { min-width: 0; }
.ticket-tier:hover { border-color: var(--teal); background: var(--bg-2); box-shadow: var(--ring); }
.ticket-tier-name { font-weight: 600; color: var(--bright); font-size: 0.95rem; margin-bottom: 0.15rem; }
.ticket-tier-avail { font-size: 0.74rem; color: var(--muted); margin-top: 0.15rem; }
.ticket-tier-benefits { font-size: 0.74rem; color: var(--muted); margin-top: 0.25rem; }
.tier-price { font-size: 1.15rem; font-weight: 700; color: var(--bright); text-align: right; white-space: nowrap; line-height: 1.2; }
.tier-eb { display: block; margin-top: 0.3rem; font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.tier-price.free { color: var(--mint); font-size: 1rem; }
.tier-price.sold-out-lbl { color: var(--coral); font-size: 0.85rem; }

/* ============================================================
   12. PROFILE
============================================================ */
.profile-page-header { margin-bottom: 0; }
.profile-hero-card { position: relative; border-radius: var(--r-panel) var(--r-panel) 0 0; overflow: hidden; border: 1px solid var(--border); border-bottom: none; }
.profile-hero-bg { height: 150px; background: var(--profile-bg); position: relative; }
.profile-hero-bg::before { content: ''; position: absolute; inset: 0; background: var(--hero-glow); }
.profile-hero-content { display: flex; align-items: flex-end; gap: 1.5rem; padding: 0 2.25rem 1.75rem; background: var(--bg-2); position: relative; }
.profile-avatar-lg { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 2.3rem; font-weight: 800; color: var(--on-teal); border: 4px solid var(--bg-2); box-shadow: var(--sh-2); flex-shrink: 0; margin-top: -48px; position: relative; z-index: 1; }
.profile-hero-info { flex: 1; padding-top: 0.5rem; }
.profile-hero-name { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bright); margin-bottom: 0.35rem; line-height: 1.1; }
.profile-hero-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.profile-hero-meta span { display: flex; align-items: center; gap: 0.4rem; }
.profile-hero-meta i { color: var(--teal); font-size: 0.75rem; }
.profile-hero-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.profile-tabs-nav { display: flex; gap: 0.35rem; padding: 0.75rem 1rem; background: var(--bg-2); border: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.profile-tabs-nav::-webkit-scrollbar { height: 0; }
.profile-tab-btn { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1.1rem; background: none; border: none; border-radius: 999px; color: var(--dim); font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.profile-tab-btn:hover, .profile-tab-btn.active { color: #fff; background: var(--deep); }
.profile-tab-btn.active { font-weight: 600; }
.profile-tab-btn i { font-size: 0.78rem; }
.profile-tab-panels { background: var(--bg-2); border: 1px solid var(--border); border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 2rem 2.25rem; min-height: 300px; }
.profile-tab-panel { display: none; animation: tab-appear 0.18s var(--ease); }
.profile-tab-panel.active { display: block; }
@keyframes tab-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.profile-section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.profile-section-header h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--bright); }
.profile-section-count { font-size: 0.82rem; color: var(--muted); }
.profile-section-hint { font-size: 0.8rem; color: var(--muted); }

.purchase-list, .reminders-list { display: flex; flex-direction: column; gap: 0.65rem; }
.purchase-item, .reminder-item, .refund-item, .review-card, .manage-item, .waitlist-entry {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.purchase-item { padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.purchase-item:hover, .reminder-item:hover, .manage-item:hover { border-color: var(--border-2); background: var(--bg-2); box-shadow: var(--sh-1); }
.purchase-item-body { flex: 1; min-width: 0; }
.purchase-item-title { font-weight: 600; color: var(--bright); font-size: 0.95rem; margin-bottom: 0.2rem; }
.purchase-item-meta { font-size: 0.8rem; color: var(--muted); }
.purchase-item-actions { display: flex; gap: 0.4rem; flex-shrink: 0; flex-wrap: wrap; }
.profile-fav-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.refund-item { padding: 0.95rem 1.15rem; margin-bottom: 0.65rem; }
.refund-item-title { font-weight: 600; color: var(--bright); font-size: 0.9rem; margin-bottom: 0.25rem; }
.refund-item-meta { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.reminder-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.15rem; }
.reminder-item-icon { width: 38px; height: 38px; border-radius: 0.7rem; background: rgba(110,231,183,0.18); color: var(--mint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reminder-item-body { flex: 1; min-width: 0; }
.reminder-item-title { font-size: 0.9rem; font-weight: 600; color: var(--bright); margin-bottom: 0.15rem; }
.reminder-item-meta { font-size: 0.78rem; color: var(--muted); }
.reminder-remove-btn { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 0.85rem; padding: 0.3rem; transition: color 0.2s; flex-shrink: 0; }
.reminder-remove-btn:hover { color: var(--coral); }
.calendar-add-row { margin: 0.75rem 0; padding: 0.9rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); }

/* ============================================================
   13. COOKIES, LOCATION, BACK-TO-TOP
============================================================ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000; background: var(--bg-2); border-top: 1px solid var(--border-2); padding: 1rem 2.5rem; box-shadow: 0 -8px 24px rgba(11,38,52,0.15); animation: slide-up 0.3s var(--ease); }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.cookie-banner-text { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--dim); flex: 1; }
.cookie-banner-text strong { color: var(--bright); font-size: 0.92rem; }
.cookie-banner-text a { color: var(--teal); }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }

.cookie-pref-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0 0.25rem; }
.cookie-pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.05rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px; }
.cookie-pref-title { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-weight: 600; color: var(--bright); font-size: 0.9rem; }
.cookie-pref p { margin: 0.3rem 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.55; }
.cookie-pref-tag { font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 100px; color: var(--mint); background: rgba(5,150,105,0.12); border: 1px solid rgba(5,150,105,0.28); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch-slider { position: absolute; inset: 0; background: var(--border-2); border-radius: 100px; transition: background 0.2s; }
.switch-slider::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: transform 0.2s var(--ease); }
.switch input:checked + .switch-slider { background: var(--teal); }
.switch input:checked + .switch-slider::before { transform: translateX(18px); }
.switch input:focus-visible + .switch-slider { outline: 2px solid var(--teal); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch-slider { opacity: 0.55; }
.cookie-modal-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.cookie-modal-actions .btn { flex: 1 1 auto; }

.loc-prompt { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 2900; width: min(380px, calc(100vw - 2.5rem)); display: flex; gap: 0.9rem; padding: 1.15rem; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; box-shadow: var(--sh-3); animation: slide-up 0.3s var(--ease); }
.loc-prompt-icon { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-d); }
:root[data-theme="dark"] .loc-prompt-icon { color: var(--teal); }
.loc-prompt-body { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; color: var(--dim); line-height: 1.55; }
.loc-prompt-body strong { color: var(--bright); font-size: 0.94rem; }
.loc-prompt-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; }

.back-to-top-btn { position: fixed; bottom: 96px; right: 27px; z-index: 2500; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--on-teal); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px var(--teal); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.back-to-top-btn.visible { opacity: 1; pointer-events: all; }
.back-to-top-btn:hover { background: var(--teal-d); transform: translateY(-3px); }

/* ============================================================
   14. REVIEWS, TRANSFER
============================================================ */
.star-rating { display: flex; gap: 0.25rem; margin-top: 0.35rem; }
.star-btn { background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--border-2); transition: all 0.15s; padding: 0.1rem; line-height: 1; }
.star-btn.active, .star-btn.hover { color: var(--gold); transform: scale(1.15); }
.star-btn:focus { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.review-event-box, .transfer-ticket-info { padding: 0.8rem 1rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: 12px; font-size: 0.88rem; font-weight: 600; color: var(--bright); }
.review-event-box .review-event-sub { font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-top: 0.15rem; }
.review-card { padding: 1rem 1.15rem; margin-bottom: 0.65rem; }
.review-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.5rem; }
.review-card-event { font-weight: 600; color: var(--bright); font-size: 0.9rem; }
.review-card-stars { display: flex; gap: 0.15rem; }
.review-card-stars i { font-size: 0.78rem; color: var(--gold); }
.review-card-text { font-size: 0.85rem; color: var(--dim); line-height: 1.6; }
.review-card-date { font-size: 0.72rem; color: var(--muted); margin-top: 0.4rem; }
.transfer-warning { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.8rem 0.95rem; background: var(--coral-glow); border: 1px solid rgba(229,72,77,0.3); border-radius: var(--radius); font-size: 0.8rem; color: var(--coral-d); line-height: 1.5; }
:root[data-theme="dark"] .transfer-warning { color: var(--coral); }
.transfer-warning i { flex-shrink: 0; margin-top: 0.15rem; }

/* ============================================================
   15. DASHBOARD, PAGE FILTERS, TABLES, REPORTS
============================================================ */
.dash-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2.25rem; }
.dash-subtitle { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.kpi-card { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; display: flex; align-items: center; gap: 1.1rem; box-shadow: var(--sh-1); }
.kpi-icon { width: 3rem; height: 3rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.kpi-revenue .kpi-icon { background: rgba(13,148,136,0.14); color: var(--teal); }
.kpi-tickets .kpi-icon { background: rgba(5,150,105,0.14); color: var(--mint); }
.kpi-total-events .kpi-icon { background: rgba(2,132,199,0.14); color: var(--sky); }
.kpi-live .kpi-icon { background: rgba(229,72,77,0.14); color: var(--coral); }
.kpi-payout .kpi-icon { background: rgba(180,83,9,0.14); color: var(--gold); }
.kpi-fee .kpi-icon { background: rgba(58,86,82,0.14); color: var(--dim); }
.kpi-body { flex: 1; min-width: 0; }
.kpi-value { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bright); line-height: 1; margin-bottom: 0.3rem; }
.kpi-label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.dash-quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.75rem; }
.dash-quick-tile { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.2rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 500; color: var(--dim); box-shadow: var(--sh-1); transition: all 0.2s var(--ease); text-align: left; }
.dash-quick-tile:hover { border-color: var(--teal); color: var(--bright); box-shadow: var(--sh-2); }
.dash-quick-tile i:first-child { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-d); font-size: 0.9rem; }
:root[data-theme="dark"] .dash-quick-tile i:first-child { color: var(--teal); }
.dash-quick-tile span { flex: 1; }
.dash-tile-arrow { font-size: 0.68rem; color: var(--muted); transition: transform 0.2s; }
.dash-quick-tile:hover .dash-tile-arrow { transform: translateX(3px); color: var(--teal); }

.dash-chart-block, .report-section-card, .payout-summary-card, .report-kpi-card, .page-filters, .help-contact-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--sh-1); }
.dash-chart-block { overflow: hidden; }
.dash-chart-header { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; font-weight: 700; color: var(--bright); display: flex; align-items: center; gap: 0.5rem; }
.dash-chart-header i { color: var(--teal); }
.dash-chart-block canvas { padding: 1rem 1.5rem 1.25rem; display: block; width: 100% !important; }

.page-filters { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; padding: 1.15rem 1.35rem; }
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; min-width: 140px; flex: 1; }
.filter-label { font-size: 0.8rem; font-weight: 600; color: var(--dim); display: flex; align-items: center; gap: 0.35rem; }
.filter-input { width: 100%; padding: 0.62rem 0.9rem; background: var(--field); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.86rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.filter-input:hover { border-color: var(--border-2); }
.filter-input:focus { background: var(--bg-2); border-color: var(--teal); box-shadow: var(--ring); }
select.filter-input { appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2350706b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
select.filter-input option { background: var(--bg-2); }
input[type="date"].filter-input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.6; }
:root[data-theme="dark"] input[type="date"].filter-input::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.filter-actions { display: flex; gap: 0.5rem; align-items: flex-end; flex-shrink: 0; }
.list-toolbar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.list-toolbar .filter-input { width: auto; flex: 1 1 140px; min-width: 120px; }
.list-toolbar input.filter-input { flex: 2 1 200px; }

.payout-summary-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.payout-summary-card { padding: 1.4rem 1.5rem; }
.payout-summary-label { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; }
.payout-summary-value { font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bright); }
.payout-summary-value.pending { color: var(--gold); }

.data-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--sh-1); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--band); }
.data-table th { padding: 0.95rem 1.15rem; text-align: left; font-size: 0.8rem; font-weight: 600; color: var(--dim); white-space: nowrap; }
.data-table td { padding: 1rem 1.15rem; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text); }
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: var(--bg-3); }
.table-empty { text-align: center; color: var(--muted); padding: 3rem !important; font-size: 0.88rem !important; }

.report-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.report-kpi-card { padding: 1.4rem 1.35rem; transition: border-color 0.2s; }
.report-kpi-card:hover { border-color: var(--teal); }
.report-kpi-icon { font-size: 1.4rem; margin-bottom: 0.7rem; }
.report-kpi-value { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bright); margin-bottom: 0.2rem; }
.report-kpi-label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.report-section-card { padding: 1.5rem; margin-bottom: 1.25rem; }
.report-section-title { font-family: 'Syne', sans-serif; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.report-section-title i { color: var(--teal); }
.report-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.report-charts-row .report-section-card { margin-bottom: 0; }
.export-btn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.export-btn { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.1rem 0.75rem; border-radius: 14px; border: 1px solid var(--border); cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600; transition: all 0.2s var(--ease); color: var(--dim); background: var(--field); }
.export-btn i { font-size: 1.4rem; }
.export-btn:hover { transform: translateY(-2px); }
.export-btn-csv { border-color: rgba(13,148,136,0.35); color: var(--teal-d); }
:root[data-theme="dark"] .export-btn-csv { color: var(--teal); }
.export-btn-csv:hover { background: var(--teal-glow); border-color: var(--teal); }
.export-btn-pdf { border-color: rgba(229,72,77,0.35); color: var(--coral-d); }
:root[data-theme="dark"] .export-btn-pdf { color: var(--coral); }
.export-btn-pdf:hover { background: var(--coral-glow); border-color: var(--coral); }

/* status pills, chips, badges */
.status-pill, .pill, .coupon-badge, .scheduled-badge { font-size: 0.75rem; font-weight: 600; text-transform: capitalize; padding: 0.25rem 0.7rem; border-radius: 100px; white-space: nowrap; display: inline-block; }
.status-pill.completed, .status-pill.approved, .pill-ok, .coupon-badge.active { background: rgba(5,150,105,0.12); color: var(--mint); border: 1px solid rgba(5,150,105,0.28); }
.status-pill.pending, .pill-warn, .coupon-badge.used-up, .scheduled-badge { background: rgba(180,83,9,0.12); color: var(--gold); border: 1px solid rgba(180,83,9,0.28); }
.status-pill.failed, .status-pill.rejected, .pill-bad, .coupon-badge.expired { background: rgba(229,72,77,0.12); color: var(--coral); border: 1px solid rgba(229,72,77,0.28); }
.pill-info { background: rgba(2,132,199,0.12); color: var(--sky); border: 1px solid rgba(2,132,199,0.28); }
.scheduled-badge { display: inline-flex; align-items: center; gap: 0.35rem; }
.count-chip { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 100px; color: var(--dim); background: var(--band); border: 1px solid var(--border); }
.count-chip:empty { display: none; }

/* dashboard compat blocks */
.dash-block { margin-bottom: 2.5rem; }
.dash-block-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--bright); display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.payout-wrap { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.payout-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.payout-row:last-child { border-bottom: none; }
.payout-amt { font-weight: 700; font-size: 0.95rem; color: var(--teal-d); }
.payout-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }

/* organiser event cards */
.event-admin-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 0.85rem; box-shadow: var(--sh-1); transition: box-shadow 0.2s, border-color 0.2s; }
.event-admin-card:hover { border-color: var(--border-2); box-shadow: var(--sh-2); }
.event-admin-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.3rem; }
.event-admin-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.8rem; }
.ticket-bar-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; color: var(--dim); padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.ticket-bar-row:last-child { border-bottom: none; }
.ticket-bar-label { font-size: 0.78rem; font-weight: 600; text-transform: capitalize; min-width: 64px; }
.ticket-bar-track { flex: 1; height: 6px; background: var(--band-2); border-radius: 6px; overflow: hidden; }
.ticket-bar-fill { height: 100%; background: var(--teal); border-radius: 6px; }
.ticket-bar-count { font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.event-admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

.org-refund-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 0.75rem; }
.org-refund-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; gap: 0.75rem; }
.org-refund-title { font-family: 'Syne', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--bright); }
.org-refund-meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.org-refund-reason { font-size: 0.85rem; color: var(--dim); line-height: 1.6; margin-bottom: 0.75rem; padding: 0.7rem 0.8rem; background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--border); }
.org-refund-actions { display: flex; gap: 0.5rem; }
.waitlist-entry { padding: 0.9rem 1rem; margin-bottom: 0.5rem; font-size: 0.82rem; color: var(--dim); }

/* ============================================================
   16. MAPS
============================================================ */
.maps-search-wrap { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.maps-search-wrap .input { flex: 1; }
.maps-container { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 300px; margin-top: 0.5rem; display: none; }
.maps-container.active { display: block; }
#maps-map { width: 100%; height: 100%; }
.maps-selected-info { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; padding: 0.65rem 0.9rem; background: var(--teal-soft); border: 1px solid rgba(13,148,136,0.3); border-radius: var(--radius); font-size: 0.84rem; color: var(--teal-d); }
.maps-selected-info i { flex-shrink: 0; }
.maps-selected-info span { flex: 1; color: var(--text); }
.maps-clear-btn { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 0.8rem; padding: 0.1rem; transition: color 0.2s; flex-shrink: 0; }
.maps-clear-btn:hover { color: var(--coral); }

/* ============================================================
   17. MODALS
============================================================ */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: var(--backdrop); }
.modal-box { position: relative; z-index: 1; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 2rem 2rem 2.25rem; width: 90%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--sh-3); animation: modal-appear 0.22s var(--ease); }
.modal-box.wide { max-width: 820px; }
.modal-box.wider { max-width: 1040px; }
@keyframes modal-appear { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.025em; color: var(--bright); }
.modal-title.with-count { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.modal-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.modal-close { width: 34px; height: 34px; padding: 0; margin-left: 1rem; border: none; border-radius: 50%; background: var(--band); color: var(--dim); cursor: pointer; font-size: 1.2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.modal-close:hover { background: var(--band-2); color: var(--bright); }
.modal-box > .modal-close { position: absolute; top: 1rem; right: 1rem; margin: 0; z-index: 2; }
.modal-header-actions .modal-close { margin-left: 0.25rem; }
.modal-focus-sentinel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.modal-footer { display: flex; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

.confirm-modal { display: none; position: fixed; inset: 0; z-index: 1200; align-items: center; justify-content: center; }
.confirm-modal.show { display: flex; }
.confirm-backdrop { position: absolute; inset: 0; background: var(--backdrop); }
.confirm-box { position: relative; width: 90%; max-width: 420px; padding: 2rem; text-align: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-panel); box-shadow: var(--sh-3); animation: modal-appear 0.2s var(--ease); }
.confirm-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.confirm-icon.danger  { background: var(--coral-glow); color: var(--coral); }
.confirm-icon.primary { background: var(--teal-soft);  color: var(--teal-d); }
.confirm-title { font-family: 'Syne', sans-serif; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.5rem; }
.confirm-message { font-size: 0.88rem; color: var(--dim); line-height: 1.7; white-space: pre-line; margin-bottom: 1.25rem; }
.confirm-input-wrap { text-align: left; margin-bottom: 1.25rem; }
.confirm-actions { display: flex; gap: 0.6rem; }
.confirm-actions .btn { flex: 1; }

/* ============================================================
   18. FORMS
============================================================ */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--dim); display: flex; align-items: center; gap: 0.3rem; }
.input { width: 100%; padding: 0.8rem 1rem; background: var(--field); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.92rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.input:hover { border-color: var(--border-2); }
.input:focus { background: var(--bg-2); border-color: var(--teal); box-shadow: var(--ring); }
.input::placeholder { color: var(--muted); }
textarea.input { resize: vertical; min-height: 90px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2350706b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
select.input option, select.input optgroup { background: var(--bg-2); color: var(--text); }
.checkbox-row { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.88rem; color: var(--dim); }
.checkbox-row input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--teal); cursor: pointer; }
.terms-row { align-items: flex-start; line-height: 1.5; }
.terms-row input { margin-top: 0.2rem; flex-shrink: 0; }
.terms-row a { color: var(--teal-d); }
.strength-track { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; margin-top: 0.4rem; }
.strength-fill { height: 100%; width: 0%; border-radius: 4px; transition: width 0.3s, background-color 0.3s; }
.strength-hint { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; }
.status-msg { padding: 0.8rem 1rem; border-radius: var(--radius); font-size: 0.85rem; text-align: center; margin-top: 0.75rem; }
.status-msg.success { background: rgba(5,150,105,0.1); border: 1px solid rgba(5,150,105,0.3); color: var(--mint); }
.status-msg.error   { background: var(--coral-glow); border: 1px solid rgba(229,72,77,0.3); color: var(--coral); }
.status-msg.loading { background: var(--bg-3); border: 1px solid var(--border); color: var(--dim); }
.auth-toggle { text-align: center; margin-top: 1.25rem; font-size: 0.85rem; color: var(--muted); }
.auth-toggle a { color: var(--teal-d); font-weight: 600; text-decoration: none; cursor: pointer; }
.auth-toggle a:hover { text-decoration: underline; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 2.8rem; }
.pw-toggle { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 0.45rem 0.55rem; border-radius: var(--radius); font-size: 0.85rem; transition: color 0.2s; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--teal); outline: none; }
.price-summary { background: var(--field); border: 1px solid var(--border); border-radius: 14px; padding: 0.95rem 1.15rem; }
.price-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.88rem; color: var(--dim); }
.price-row.total-row { border-top: 1px solid var(--border); margin-top: 0.35rem; padding-top: 0.7rem; font-size: 1rem; }
.promo-input-wrap { display: flex; gap: 0.5rem; }
.promo-input-wrap .input { flex: 1; }
.pmeth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.75rem 0 1rem; }
.pmeth-btn { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.9rem 0.5rem; background: var(--field); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--dim); transition: all 0.18s; }
.pmeth-btn .pmeth-icon { font-size: 1.15rem; }
.pmeth-btn:hover, .pmeth-btn.active { border-color: var(--teal); background: var(--teal-soft); color: var(--bright); }
.pmeth-btn.active { box-shadow: var(--ring); }

/* ticket qr + ticket-type form rows */
.ticket-display { text-align: center; }
.ticket-display h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; color: var(--bright); margin-bottom: 1.5rem; }
.ticket-event-title { font-weight: 600; color: var(--text); font-size: 0.92rem; margin: -0.9rem 0 0.5rem; }
.ticket-canvas { margin: 1.25rem auto; max-width: 200px; background: #fff; border-radius: 16px; padding: 8px; display: inline-block; box-shadow: var(--sh-2); }
.ticket-canvas canvas { border-radius: 4px; display: block; }
.ticket-id-mono { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--muted); word-break: break-all; padding: 0.65rem; background: var(--field); border-radius: 10px; margin: 1rem 0; }
.ticket-type-headers, .ticket-type-row { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1fr 0.7fr 0.7fr auto; gap: 0.4rem; }
.ticket-type-headers { padding: 0 0.65rem 0.4rem; }
.ticket-type-headers span { font-size: 0.74rem; font-weight: 600; color: var(--muted); }
.ticket-type-row { padding: 0.65rem; background: var(--field); border: 1px solid var(--border); border-radius: 12px; align-items: center; margin-bottom: 0.4rem; }
.ticket-type-row .input { padding: 0.55rem 0.65rem; font-size: 0.82rem; background: var(--bg-2); }
.remove-ticket { background: var(--coral); color: #fff; border: none; border-radius: 8px; padding: 0.45rem 0.55rem; cursor: pointer; font-size: 0.72rem; transition: opacity 0.2s; }
.remove-ticket:hover { opacity: 0.8; }
.file-drop { border: 1.5px dashed var(--border-2); border-radius: 14px; padding: 1.25rem; text-align: center; cursor: pointer; color: var(--muted); font-size: 0.85rem; background: var(--field); transition: all 0.2s; display: block; }
.file-drop:hover { border-color: var(--teal); color: var(--dim); background: var(--teal-soft); }
input[type="file"] { display: none; }
.form-actions-split { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.form-actions-split .btn { flex: 1; }

/* coupons, management lists */
.coupon-code { font-family: 'JetBrains Mono', monospace; font-size: 0.88rem; font-weight: 500; color: var(--teal-d); }
:root[data-theme="dark"] .coupon-code { color: var(--teal); }
.coupon-meta { font-size: 0.76rem; color: var(--muted); margin-top: 0.15rem; }
.manage-list { max-height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem; padding-right: 2px; }
.manage-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; }
.manage-item-icon { width: 38px; height: 38px; border-radius: 0.7rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-d); }
.manage-item-body { flex: 1; min-width: 0; }
.manage-item-side { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.manage-empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-size: 0.86rem; }
.manage-empty i { display: block; font-size: 1.5rem; margin-bottom: 0.6rem; opacity: 0.4; }
.calendar-options { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.calendar-option { display: flex; align-items: center; gap: 0.85rem; padding: 0.95rem 1.1rem; background: var(--field); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font: 500 0.92rem 'Outfit', sans-serif; cursor: pointer; text-align: left; transition: all 0.18s; }
.calendar-option:hover { border-color: var(--teal); background: var(--teal-soft); }
.calendar-option i { width: 20px; text-align: center; color: var(--teal); font-size: 1.05rem; }

/* rich-text toolbar + rendered text */
.md-toolbar { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; padding: 0.35rem; background: var(--band); border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; }
.md-spacer { flex: 1; }
.md-btn { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--dim); cursor: pointer; font: 500 0.8rem 'Outfit', sans-serif; transition: all 0.15s; }
.md-btn:hover:not(:disabled) { color: var(--teal-d); background: var(--bg-2); }
.md-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.md-btn-text { padding: 0 0.7rem; }
.md-btn[aria-pressed="true"] { color: var(--teal-d); border-color: var(--teal); background: var(--bg-2); }
textarea.md-textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
.md-ta-hidden { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.md-preview { min-height: 90px; padding: 0.8rem 1rem; background: var(--field); border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
.md-preview[hidden] { display: none; }
.md-hint { font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; }
.md-empty { color: var(--muted); font-style: italic; }
.md-sep { width: 1px; height: 18px; background: var(--border-2); margin: 0 0.25rem; }
.md-body { font-size: 0.95rem; line-height: 1.8; color: var(--dim); overflow-wrap: anywhere; }
.md-body p { margin: 0 0 0.8rem; }
.md-body h4 { font-family: 'Syne', sans-serif; font-size: 1.05rem; color: var(--bright); margin: 1.1rem 0 0.4rem; }
.md-body ul, .md-body ol { margin: 0 0 0.9rem 1.3rem; }
.md-body li { margin-bottom: 0.25rem; }
.md-body strong { color: var(--text); }
.md-body a { color: var(--teal-d); }
.md-body > :last-child { margin-bottom: 0; }
.md-body .md-al-center { text-align: center; }
.md-body .md-al-right { text-align: right; }
.md-body ul.md-al-center, .md-body ol.md-al-center, .md-body ul.md-al-right, .md-body ol.md-al-right { list-style-position: inside; margin-left: 0; padding-left: 0; }
.ep-desc.md-body { white-space: normal; }

/* settings */
.settings-tabs { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); overflow-x: auto; }
.settings-tab { display: flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1rem; background: none; border: none; border-bottom: 3px solid transparent; color: var(--muted); font: 600 0.85rem 'Outfit', sans-serif; cursor: pointer; white-space: nowrap; transition: color 0.2s; }
.settings-tab:hover { color: var(--dim); }
.settings-tab.active { color: var(--teal-d); border-bottom-color: var(--teal); }
:root[data-theme="dark"] .settings-tab.active { color: var(--teal); }
.settings-panel { display: none; }
.settings-panel.active { display: block; animation: tab-appear 0.18s var(--ease); }
.settings-hint { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.settings-info-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; margin-bottom: 1.25rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; color: var(--muted); }
.settings-info-row strong { color: var(--bright); word-break: break-all; }
.theme-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.theme-choice { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 1rem 0.5rem; background: var(--field); border: 1px solid var(--border); border-radius: 12px; color: var(--dim); font: 500 0.82rem 'Outfit', sans-serif; cursor: pointer; transition: all 0.18s; }
.theme-choice i { font-size: 1.1rem; }
.theme-choice:hover, .theme-choice.active { border-color: var(--teal); background: var(--teal-soft); color: var(--bright); }
.danger-zone { display: flex; flex-direction: column; gap: 0.9rem; border: 1px solid rgba(229,72,77,0.35); background: var(--coral-glow); border-radius: var(--radius-lg); padding: 1.25rem; }
.danger-zone + .danger-zone { margin-top: 1.25rem; }
.danger-zone h4 { font-family: 'Syne', sans-serif; font-size: 0.98rem; color: var(--coral-d); margin: 0; display: flex; gap: 0.5rem; align-items: center; }
:root[data-theme="dark"] .danger-zone h4 { color: var(--coral); }
.danger-zone p { font-size: 0.82rem; color: var(--dim); line-height: 1.6; margin: 0; }
.danger-zone .form-field { margin: 0; }
.danger-zone .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.danger-zone.warn { border-color: rgba(180,83,9,0.35); background: rgba(180,83,9,0.08); }
.danger-zone.warn h4 { color: var(--gold); }
.danger-note { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; color: var(--coral-d); line-height: 1.5; }
:root[data-theme="dark"] .danger-note { color: var(--coral); }
.danger-note i { margin-top: 0.15rem; flex-shrink: 0; }

/* toasts */
.toast-stack { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 4000; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; width: min(92vw, 400px); pointer-events: none; }
.toast { --toast-c: var(--sky); --toast-ms: 3500ms; position: relative; overflow: hidden; pointer-events: auto; width: 100%; display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.75rem 0.9rem; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-3); cursor: pointer; font-size: 0.88rem; line-height: 1.4; animation: toast-in 0.32s var(--ease); transition: opacity 0.2s, transform 0.2s; }
.toast.leaving { opacity: 0; transform: translateY(-10px) scale(0.97); }
.toast-icon { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--toast-c); background: var(--bg-3); background: color-mix(in srgb, var(--toast-c) 15%, var(--bg-2)); }
.toast-msg { flex: 1; min-width: 0; color: var(--bright); font-weight: 500; overflow-wrap: anywhere; }
.toast-close { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.toast-close:hover { background: var(--band); color: var(--text); }
.toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--toast-c); transform-origin: left center; animation: toast-bar var(--toast-ms) linear forwards; }
.toast.paused .toast-bar { animation-play-state: paused; }
.toast-success { --toast-c: var(--success); }
.toast-error   { --toast-c: var(--error); }
.toast-warning { --toast-c: var(--warning); }
.toast-info    { --toast-c: var(--sky); }
@keyframes toast-in  { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* legal */
.legal-content { font-size: 0.9rem; color: var(--dim); line-height: 1.8; }
.legal-content h4 { font-family: 'Syne', sans-serif; color: var(--bright); margin: 1.5rem 0 0.6rem; font-size: 0.98rem; }
.legal-content h4:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 0.5rem; }
.legal-content strong { color: var(--text); }

/* ============================================================
   19. HELP CENTER
============================================================ */
.help-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.help-search-wrap { position: relative; margin-bottom: 1.25rem; }
.help-search-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.85rem; }
.help-search-wrap .input { padding-left: 2.6rem; background: var(--bg-2); }
.faq-categories { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.faq-cat-btn { padding: 0.5rem 1.1rem; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 100px; color: var(--dim); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.faq-cat-btn:hover { background: var(--band); border-color: var(--deep); color: var(--bright); }
.faq-cat-btn.active, .faq-cat-btn.active:hover { background: var(--deep); border-color: var(--deep); color: #fff; font-weight: 600; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-1); transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--bright); gap: 0.75rem; }
.faq-question i { color: var(--muted); font-size: 0.75rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--teal); }
.faq-answer { display: none; padding: 0.8rem 1.25rem 1.1rem; font-size: 0.86rem; color: var(--dim); line-height: 1.7; border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }
.help-contact-card { padding: 2rem; border-radius: var(--r-panel); box-shadow: var(--sh-2); }
.help-contact-card h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--bright); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   20. ABOUT
   Structure: animated loom hero · weave · mission ticket · what's inside ·
              fees receipt · weave
   Boldness is spent on the mission ticket and the receipt.
============================================================ */
.ab { max-width: 1200px; margin: 0 auto; }
.about-block { padding: 5rem 0; border-top: 1px solid var(--border-2); }
.ab-h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; color: var(--bright); text-wrap: balance; }

/* ---------- hero ---------- */
.about-hero { padding: 1.5rem 0 4rem; }
.about-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* animated loom: six woven bands drifting in opposite directions */
.about-loom { position: relative; display: flex; flex-direction: column; height: clamp(220px, 31vw, 380px); border-radius: var(--r-panel); overflow: hidden; background: #08463f; box-shadow: var(--sh-3); isolation: isolate; }
.about-loom::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,26,23,0.55) 0%, transparent 14%, transparent 86%, rgba(4,26,23,0.55) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.11) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 5px);
}
.loom-row { flex: var(--h, 1); background-repeat: repeat-x; background-size: var(--p) 100%; animation: loom var(--t, 50s) linear infinite; will-change: background-position; }
@keyframes loom { to { background-position-x: var(--p); } }
.r1 { --p: 240px; --t: 46s; --h: 1.3; background-image: linear-gradient(90deg, #0b5e57 0 100px, #e5484d 100px 116px, #0b5e57 116px 150px, #f2c14e 150px 162px, #0d9488 162px 212px, #0b5e57 212px 240px); }
.r2 { --p: 180px; --t: 38s; --h: 1; animation-direction: reverse; background-image: linear-gradient(90deg, #0d9488 0 60px, #0b5e57 60px 72px, #f6efe0 72px 84px, #0b5e57 84px 140px, #e5484d 140px 180px); }
.r3 { --p: 300px; --t: 62s; --h: 1.7; background-image: linear-gradient(90deg, #08463f 0 120px, #f2c14e 120px 140px, #08463f 140px 170px, #0d9488 170px 200px, #e5484d 200px 212px, #0d9488 212px 240px, #08463f 240px 300px); }
.r4 { --p: 140px; --t: 30s; --h: 1; animation-direction: reverse; background-image: linear-gradient(90deg, #e5484d 0 30px, #0b5e57 30px 90px, #f2c14e 90px 100px, #0b5e57 100px 140px); }
.r5 { --p: 220px; --t: 52s; --h: 1.3; background-image: linear-gradient(90deg, #0b5e57 0 60px, #0d9488 60px 110px, #0b5e57 110px 120px, #f6efe0 120px 130px, #0b5e57 130px 200px, #e5484d 200px 220px); }
.r6 { --p: 260px; --t: 44s; --h: 1; animation-direction: reverse; background-image: linear-gradient(90deg, #08463f 0 90px, #f2c14e 90px 102px, #08463f 102px 160px, #e5484d 160px 190px, #0d9488 190px 260px); }

.about-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.5rem 4.5rem; align-items: start; margin-top: 3.25rem; }
.about-intro-big { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.9rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--bright); text-wrap: balance; }
.about-intro-small { font-size: 1.1rem; line-height: 1.8; color: var(--dim); max-width: 32rem; padding-top: 0.45rem; }

/* ---------- weave strip (brand accent) ---------- */
.about-weave {
  height: 14px; border-radius: 3px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.22) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg,
    #0b5e57 0 30px, #e5484d 30px 42px, #0b5e57 42px 58px, #f2c14e 58px 66px,
    #0d9488 66px 96px, #e5484d 96px 104px, #0b5e57 104px 134px, #f2c14e 134px 146px);
}

/* ---------- mission ticket (kept) ---------- */
.about-mission { padding: 1rem 0 5rem; }
.about-ticket { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: var(--r-panel); background: var(--deep-blend); box-shadow: var(--sh-3); color: #fff; }
.about-ticket-main { position: relative; padding: 3.5rem 3.5rem 3.75rem; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; min-height: 320px; }
.about-ticket-main::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.14) 1.6px, transparent 1.7px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000 100%); mask-image: linear-gradient(135deg, transparent 35%, #000 100%); }
.about-ticket-main > * { position: relative; }
.about-ticket-kicker { font-size: 0.95rem; font-weight: 600; color: #8ff0e0; }
.about-ticket-text { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; max-width: 18ch; text-wrap: balance; }
.about-ticket-stub { position: relative; padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.85rem; background: rgba(4,26,23,0.28); border-left: 2px dashed rgba(255,255,255,0.35); }
.about-ticket-stub::before, .about-ticket-stub::after { content: ''; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.about-ticket-stub::before { top: -14px; }
.about-ticket-stub::after  { bottom: -14px; }
.about-ticket-stub h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 0.15rem; }
.about-stub-link { display: inline-flex; align-items: center; gap: 0.6rem; color: #e3f4f1; text-decoration: none; font-size: 0.95rem; overflow-wrap: anywhere; }
.about-stub-link i { width: 16px; text-align: center; color: #8ff0e0; font-size: 0.8rem; }
.about-stub-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.about-ticket .btn-primary { background: #fff; color: var(--deep); box-shadow: none; margin-top: 0.5rem; }
.about-ticket .btn-primary:hover { background: #e6f7f4; box-shadow: none; }

/* ---------- what's inside (kept) ---------- */
.ab .hm-eyebrow { color: var(--deep); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.9rem; }
:root[data-theme="dark"] .ab .hm-eyebrow { color: var(--teal); }
.ab-head { margin-bottom: 2.75rem; }
.ab-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ab-feat { background: var(--bg-2); border: 1px solid var(--border); border-radius: 22px; padding: 1.75rem; box-shadow: var(--sh-1); }
.ab-feat i { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--coral); color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; }
.ab-feat h3 { font-family: 'Syne', sans-serif; font-size: 1.02rem; color: var(--bright); margin-bottom: 0.35rem; }
.ab-feat p { font-size: 0.88rem; color: var(--dim); line-height: 1.7; }
.ab-feat:nth-child(even) i { background: var(--deep); }
@media (max-width: 1100px) and (min-width: 601px) {
  .ab-feat:nth-child(even) i { background: var(--coral); }
  .ab-feat:nth-child(4n+2) i, .ab-feat:nth-child(4n+3) i { background: var(--deep); }
}

/* ---------- fees receipt ---------- */
.about-fees { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem 5rem; align-items: center; }
.about-receipt-wrap { filter: drop-shadow(0 22px 22px rgba(11,38,52,0.16)); max-width: 400px; width: 100%; justify-self: center; transform: rotate(-1.5deg); }
:root[data-theme="dark"] .about-receipt-wrap { filter: drop-shadow(0 22px 22px rgba(0,0,0,0.55)); }
.about-receipt {
  padding: 1.75rem 1.6rem 2.6rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px 6px 0 0;
  font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--text);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.rc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; margin-bottom: 0.4rem; border-bottom: 2px dashed var(--border-2); }
.rc-head strong { font-family: 'Syne', sans-serif; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--bright); }
.rc-head span { color: var(--muted); font-size: 0.72rem; }
.rc-row, .rc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--border); }
.rc-row span { color: var(--bright); font-weight: 500; }
.rc-row em, .rc-total em { font-style: normal; color: var(--muted); font-size: 0.72rem; text-align: right; }
.rc-total { border-bottom: 2px dashed var(--border-2); padding: 1rem 0 1.25rem; margin-bottom: 1.1rem; }
.rc-total span { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--bright); letter-spacing: -0.02em; }
.rc-total em { color: var(--deep); font-weight: 600; }
:root[data-theme="dark"] .rc-total em { color: var(--teal); }
.rc-bars { height: 46px; background: repeating-linear-gradient(90deg, var(--bright) 0 2px, transparent 2px 4px, var(--bright) 4px 5px, transparent 5px 9px, var(--bright) 9px 12px, transparent 12px 14px, var(--bright) 14px 15px, transparent 15px 18px); opacity: 0.85; }
.about-fees-copy p { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.85; color: var(--dim); max-width: 36rem; }
.about-fees-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.about-hero + .about-weave { margin-bottom: 3.5rem; }
.about-weave--end { margin-top: 1rem; margin-bottom: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ab-features { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.25rem; }
}
@media (max-width: 900px) {
  .about-block { padding: 3.5rem 0; }
  .about-mission { padding-bottom: 3.5rem; }
  .about-ticket { grid-template-columns: 1fr; }
  .about-ticket-main { padding: 2.5rem 1.75rem; min-height: 0; }
  .about-ticket-stub { border-left: 0; border-top: 2px dashed rgba(255,255,255,0.35); padding: 2rem 1.75rem 2.25rem; }
  .about-ticket-stub::before { top: -14px; left: -14px; }
  .about-ticket-stub::after  { top: -14px; bottom: auto; left: auto; right: -14px; }
  .about-fees { grid-template-columns: 1fr; gap: 2rem; }
  .about-receipt-wrap { justify-self: start; }
}
@media (max-width: 600px) {
  .ab-features { grid-template-columns: 1fr; }
  .about-hero { padding-top: 0.5rem; padding-bottom: 3rem; }
  .about-loom { height: 200px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .loom-row { animation: none; }
}

/* ============================================================
   21. FOOTER (always dark)
============================================================ */
.site-footer {
  --bg: #0b5e57; --bg-2: #0e6a62; --bg-3: #0f6f67; --surface: #14786f;
  --border: #1f8479; --border-2: #2f9489;
  --muted: #a9d6cf; --dim: #cfe9e5; --text: #e3f4f1; --bright: #ffffff;
  --teal: #8ff0e0; --teal-d: #6fd9c9; --teal-glow: rgba(143,240,224,0.16); --on-teal: #06312d;
  margin-top: 5rem; border-radius: 36px 36px 0 0; color: var(--text);
  background: var(--deep-blend);
}
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr; gap: 3rem; padding: 4.5rem 2.5rem 3rem; max-width: 1400px; margin: 0 auto; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--teal); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1rem; }
.footer-logo .logo-img { width: 10rem; display: block; }
.site-footer .footer-logo .logo-img--light { display: none; }
.site-footer .footer-logo .logo-img--dark { display: block; }
.footer-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; max-width: 300px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }
.footer-contact-item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--dim); text-decoration: none; transition: color 0.2s var(--ease); }
.footer-contact-item:hover { color: var(--teal); }
.footer-contact-item i { width: 18px; text-align: center; color: var(--teal); font-size: 0.78rem; flex-shrink: 0; }
.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-link { width: 38px; height: 38px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.82rem; text-decoration: none; transition: all 0.2s; }
.social-link:hover { background: var(--teal-glow); border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.footer-heading { font-size: 0.92rem; font-weight: 700; color: var(--bright); margin-bottom: 1.1rem; }
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group ul li a { font-size: 0.9rem; color: var(--dim); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links-group ul li a:hover { color: var(--teal); }
.footer-newsletter p { font-size: 0.86rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
.newsletter-form { margin-bottom: 1.5rem; }
.newsletter-input-wrap { display: flex; background: var(--bg-3); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.newsletter-input-wrap:focus-within { border-color: var(--teal); }
.newsletter-input-wrap input { flex: 1; min-width: 0; padding: 0.8rem 1rem; background: transparent; border: none; color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.86rem; outline: none; }
.newsletter-input-wrap input::placeholder { color: var(--muted); }
.newsletter-input-wrap button { padding: 0.8rem 1.05rem; background: var(--teal); color: var(--on-teal); border: none; cursor: pointer; font-size: 0.85rem; transition: background 0.2s; flex-shrink: 0; }
.newsletter-input-wrap button:hover { background: var(--teal-d); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 2.5rem; display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ============================================================
   22. RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hm-cats { grid-template-columns: repeat(3, 1fr); }
  .hm-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 2rem 2.5rem; }
  .hero-right { min-height: 460px; }
  .hero-right-inner { inset: 0 1.5rem 2rem; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-quick-row { grid-template-columns: repeat(2, 1fr); }
  .report-kpi-grid, .export-btn-grid { grid-template-columns: repeat(2, 1fr); }
  .report-charts-row, .help-layout { grid-template-columns: 1fr; }
  .hm-section { padding: 4rem 1.5rem; }
}
@media (max-width: 900px) {
  .navbar { padding: 0 1.25rem; }
  .nav-right { gap: 0.4rem; }
  .nav-logo .logo-img, .footer-logo .logo-img { width: 7.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0.75rem 1.25rem; gap: 0.15rem; z-index: 400; transform: translateY(-10px); opacity: 0; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); pointer-events: none; }
  .nav-links.open { display: flex; transform: none; opacity: 1; pointer-events: all; }
  .mobile-menu-btn { display: flex; }

  /* 16px inputs stop iOS Safari zooming on focus */
  .input, .filter-input, .filter-chip, .filter-search input, .newsletter-input-wrap input { font-size: 16px; }

  .section, .events-section { padding: 2.5rem 1.25rem; }
  .filters-bar { padding: 0.75rem 1.25rem; gap: 0.5rem; }
  .filters-label { display: none; }
  .filters-bar .filter-chip { flex: 1 1 140px; min-width: 0; }
  .filter-clear { margin-left: 0; }
  .filter-search { flex: 1 1 100%; max-width: none; order: -1; }

  .hero-left { padding: 3rem 1.25rem 2rem; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-sub { max-width: none; font-size: 1rem; }
  .hero-stats > div { min-width: 0; padding: 0.85rem 0.9rem; }
  .hero-stat-val { font-size: 1.4rem; }

  .section-head { flex-wrap: wrap; gap: 0.75rem; }
  .section-title { font-size: 1.5rem; }
  .dash-header { flex-direction: column; gap: 1rem; }
  .dash-header > div:last-child, .section-head > div:last-child { flex-wrap: wrap; width: 100%; }
  .dash-quick-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  #validation-stats-row { grid-template-columns: repeat(2, 1fr) !important; }
  .card-footer { flex-wrap: wrap; }

  .form-row { grid-template-columns: 1fr; }
  .payout-summary-row { grid-template-columns: 1fr; }
  .page-filters { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .filter-group { min-width: 100%; }
  .filter-actions { width: 100%; justify-content: flex-start; }
  .notifications-panel { right: 0.75rem; left: 0.75rem; width: auto; }

  .ticket-type-headers { display: none; }
  .ticket-type-row { grid-template-columns: 1fr 1fr; }
  .ticket-type-row .type-early-end, .ticket-type-row .remove-ticket { grid-column: 1 / -1; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 1rem 1.25rem; }

  .profile-hero-content { padding: 0 1.25rem 1.25rem; }
  .profile-tab-panels { padding: 1.5rem 1.25rem; }
  .profile-avatar-lg { width: 80px; height: 80px; font-size: 1.9rem; margin-top: -40px; }

  .ep-grid { grid-template-columns: 1fr; }
  .ep-ticket-card { position: static; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-cta { flex-direction: column; align-items: flex-start; padding: 2rem; }
}
@media (max-width: 600px) {
  .navbar { padding: 0 0.85rem; }
  .nav-logo .logo-img { width: 6.5rem; }
  .profile-name-small, .profile-trigger > i { display: none; }
  .theme-toggle-btn { width: 34px; height: 34px; }
  #login-link { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

  .section, .events-section { padding: 2rem 1rem; }
  .events-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero-left { padding: 2.5rem 1rem 2rem; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-right { min-height: 380px; }
  .hero-right-inner { inset: 0 0.75rem 1.5rem; border-radius: 22px; }
  .hero-stats { gap: 0.5rem; }
  .hero-stat-val { font-size: 1.25rem; }
  .hero-stat-key i { display: none; }
  .carousel-info { padding: 2.5rem 1.15rem 2rem; }
  .carousel-title { font-size: 1.25rem; }
  .carousel-dots { right: 1rem; }

  .hm-section { padding: 3rem 1rem; }
  .hm-cats { grid-template-columns: repeat(2, 1fr); }
  .hm-why { grid-template-columns: 1fr; }

  .modal-box { padding: 1.4rem 1.15rem 1.6rem; width: 94%; border-radius: 22px; }
  .modal-title { font-size: 1.15rem; }
  .modal-footer { flex-direction: column; }
  .form-actions-split { flex-direction: column-reverse; }

  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { padding: 1.1rem 1.2rem; }
  .kpi-value { font-size: 1.5rem; }
  .report-kpi-grid, .export-btn-grid, .dash-quick-row { grid-template-columns: 1fr 1fr; }
  .report-kpi-value { font-size: 1.4rem; }
  .payout-summary-value { font-size: 1.4rem; }
  .data-table th, .data-table td { padding: 0.7rem 0.8rem; }

  .site-footer { border-radius: 26px 26px 0 0; }
  .footer-top { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .profile-hero-meta { flex-direction: column; gap: 0.35rem; }
  .profile-hero-content { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .profile-tab-btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .profile-tab-panels { padding: 1.25rem 1rem; }
  .purchase-item { flex-direction: column; align-items: flex-start; }
  .purchase-item-actions { width: 100%; }
  .theme-options { grid-template-columns: 1fr; }
  .filter-actions .btn { flex: 1; }
  .manage-item { flex-wrap: wrap; }
  .manage-item-side { width: 100%; justify-content: flex-start; }

  .toast-stack { top: 70px; }
  .notifications-panel { max-height: 70vh; }
  .ep-hero { aspect-ratio: 4/3; }
  .ep-ticket-card { padding: 1.15rem; }
  .cookie-banner { padding: 1rem 1.25rem; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
  .back-to-top-btn { bottom: 84px; right: 21px; }
  .loc-prompt { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
}
@media (max-width: 380px) {
  .hero-stat-key { font-size: 0.7rem; }
  .dash-quick-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .toast, .confirm-box, .modal-box, .settings-panel.active, .profile-tab-panel { animation: none; }
  .toast-bar { animation: none; display: none; }
  .event-card, .card-img img, .btn { transition: none; }
  .event-card:hover { transform: none; }
}