/* =========================================================
   Bouncer Entertainment — main stylesheet (no frameworks)
   ========================================================= */
:root {
  --bg-dark: #1a0a1e;
  --bg-darker: #0d0510;
  --bg-card: rgba(43, 17, 50, .78);
  --accent-purple: #7b2d8b;
  --accent-light: #b65ccc;
  --accent-glow: rgba(156, 39, 176, .45);
  --text-white: #ffffff;
  --text-off: #f1e9f3;
  --text-muted: #bfa9c6;
  --danger: #d9435b;
  --success: #3fb67b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-ui: 'Roboto', Arial, sans-serif;
  --font-display: 'Sonsie One', cursive;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-off);
  background: var(--bg-darker) url('../images/bouncer_ent_background_1400.jpg') center / cover fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--text-white); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--text-white); line-height: 1.25; font-weight: 700; }
p + p { margin-top: 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.5em; border-radius: 40px; border: 2px solid transparent;
  font-family: var(--font-ui); font-weight: 500; font-size: 1rem; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  cursor: pointer; text-decoration: none; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-purple); color: var(--text-white); box-shadow: 0 4px 18px var(--accent-glow); }
.btn-primary:hover { background: #9c27b0; color: var(--text-white); }
.btn-outline { border-color: var(--accent-light); color: var(--text-white); background: transparent; }
.btn-outline:hover { background: var(--accent-purple); border-color: var(--accent-purple); color: var(--text-white); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b8324a; color: #fff; }
.btn-sm { padding: .4em .9em; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 5, 16, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(182, 92, 204, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand-logo { height: 56px; width: auto; }
.site-nav ul { list-style: none; display: flex; gap: 6px; }
.site-nav a {
  display: block; padding: .5em 1em; border-radius: 30px;
  font-family: var(--font-ui); font-weight: 500; color: var(--text-white); font-size: .95rem;
}
.site-nav a i { color: var(--accent-light); margin-right: .3em; }
.site-nav a:hover, .site-nav a.active { background: var(--accent-purple); }
.site-nav a:hover i, .site-nav a.active i { color: var(--text-white); }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; background: var(--text-white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background: transparent;
  text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(123,45,139,.10) 0%, rgba(13,5,16,.18) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 80px 20px 140px; }
.hero-logo { margin: 0 auto; width: min(693px, 90%); filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); animation: fadeUp .9s ease both; }
.tagline {
  font-family: var(--font-display); color: var(--text-white); font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  margin-top: 1.2rem; text-shadow: 0 2px 12px rgba(0,0,0,.8); animation: fadeUp .9s .2s ease both;
}
.hero-cta { margin-top: 2rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp .9s .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; background: rgba(26, 10, 30, .52); position: relative; }
.section.backdrop {
  background: linear-gradient(rgba(13,5,16,.58), rgba(13,5,16,.66)), url('../images/bouncer_ent_backdrop.png') center / cover;
}
.section-title {
  font-family: var(--font-display); font-weight: 400; text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1.4rem; color: var(--text-white);
}
.section-title::after {
  content: ''; display: block; width: 80px; height: 3px; margin: .7rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}
.section-lead { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; color: var(--text-off); font-size: 1.05rem; }
.section-lead.small { margin-top: 2.5rem; margin-bottom: 0; font-size: .98rem; color: var(--text-muted); }

/* ---------- Welcome / two-column ---------- */
.two-col { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.portrait { border-radius: 50%; border: 4px solid var(--accent-purple); box-shadow: 0 0 40px var(--accent-glow); margin: 0 auto; }
.photo-credit { text-align: center; font-size: .82rem; color: var(--text-muted); margin-top: .8rem; font-style: italic; }
.col-text p { color: var(--text-off); }
.veteran-box {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 2rem; padding: 18px 22px;
  border-radius: var(--radius); background: rgba(123, 45, 139, .25); border-left: 4px solid #f5c542;
}
.veteran-box i { color: #f5c542; font-size: 1.6rem; margin-top: .2rem; }
.veteran-box p { margin: 0; }
.veteran-box strong { color: var(--text-white); }

/* ---------- Song cards & audio player ---------- */
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 2.5rem; }
.song-list { display: grid; gap: 16px; }
.song-card {
  background: var(--bg-card); border: 1px solid rgba(182, 92, 204, .25); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.song-card:hover { border-color: var(--accent-light); transform: translateY(-2px); }
.song-card.playing { border-color: var(--accent-light); box-shadow: 0 0 0 1px var(--accent-light), 0 0 30px var(--accent-glow); }
.song-title { font-family: var(--font-ui); font-size: 1.12rem; }
.song-style { color: var(--text-muted); font-size: .9rem; font-style: italic; margin: 0 0 12px !important; }
.audio-player { display: flex; align-items: center; gap: 14px; }
.ap-play {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--accent-purple); color: #fff; font-size: 1rem; display: grid; place-items: center;
  box-shadow: 0 4px 14px var(--accent-glow); transition: background .2s, transform .15s;
}
.ap-play:hover { background: #9c27b0; transform: scale(1.06); }
.ap-play .fa-play { margin-left: 3px; }
.ap-track { flex: 1; min-width: 0; }
.ap-progress {
  position: relative; height: 8px; border-radius: 4px; background: rgba(255,255,255,.14);
  cursor: pointer; touch-action: none; outline: none;
}
.ap-progress:focus-visible { box-shadow: 0 0 0 2px var(--accent-light); }
.ap-buffer, .ap-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; width: 0; }
.ap-buffer { background: rgba(255,255,255,.18); }
.ap-fill { background: linear-gradient(90deg, var(--accent-purple), var(--accent-light)); }
.ap-handle {
  position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  background: #fff; border-radius: 50%; box-shadow: 0 0 8px var(--accent-glow); opacity: 0; transition: opacity .2s;
}
.ap-progress:hover .ap-handle, .audio-player.is-playing .ap-handle, .ap-progress.dragging .ap-handle { opacity: 1; }
.ap-time { font-family: var(--font-ui); font-size: .8rem; color: var(--text-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.audio-player.is-loading .ap-play i { animation: spin 1s linear infinite; }
.audio-player.has-error .ap-time { color: var(--danger); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page banner (subpages) ---------- */
.page-banner {
  position: relative; text-align: center; padding: 70px 0 60px;
  background: linear-gradient(rgba(13,5,16,.16), rgba(26,10,30,.34));
}
.page-banner .floating-logo { margin: 0 auto 1rem; animation: float 4s ease-in-out infinite; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); }
.crowd-banner { padding-bottom: 180px; }
.crowd-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: url('../images/bouncer_ent_crowds.png') center bottom / cover no-repeat;
  pointer-events: none; opacity: .82;
  transform: translateY(var(--crowd-offset, 0px)); will-change: transform;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Samples page tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2.5rem; }
.tab {
  background: transparent; border: 2px solid rgba(182,92,204,.5); color: var(--text-white);
  padding: .6em 1.3em; border-radius: 30px; font-family: var(--font-ui); font-weight: 500; transition: all .2s;
}
.tab .count { display: inline-block; min-width: 1.6em; padding: 0 .4em; margin-left: .3em; border-radius: 10px; background: rgba(255,255,255,.14); font-size: .8em; }
.tab:hover { border-color: var(--accent-light); }
.tab.active { background: var(--accent-purple); border-color: var(--accent-purple); box-shadow: 0 4px 18px var(--accent-glow); }
.samples-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.samples-aside { position: sticky; top: calc(var(--header-h) + 30px); text-align: center; }
.samples-aside .floating-logo { margin: 0 auto 20px; }
.float-anim { animation: float 4s ease-in-out infinite; }
.aside-portrait { border-radius: 50%; border: 3px solid var(--accent-purple); opacity: .85; margin: 0 auto; width: 180px; }
.tab-panel { display: none; animation: fadeUp .4s ease both; }
.tab-panel.active { display: block; }
.category-title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin-bottom: .4rem; }
.tab-panel > .muted { margin-bottom: 1.4rem; }
.cta-strip {
  margin-top: 3.5rem; padding: 28px; text-align: center; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(123,45,139,.45), rgba(43,17,50,.8)); border: 1px solid rgba(182,92,204,.35);
}
.cta-strip p { font-size: 1.1rem; margin-bottom: 1rem; color: var(--text-white); }

/* ---------- Calendar / events ---------- */
.calendar-widget { max-width: 860px; margin: 0 auto 2rem; }
.cal-loading, .cal-empty { text-align: center; padding: 30px; color: var(--text-muted); }
.cal-empty {
  background: var(--bg-card); border: 1px dashed rgba(182,92,204,.5); border-radius: var(--radius); color: var(--text-off); font-size: 1.05rem;
}
.cal-empty i { display: block; font-size: 2rem; color: var(--accent-light); margin-bottom: .6rem; }
.event-card {
  display: flex; gap: 20px; align-items: stretch; margin-bottom: 16px;
  background: var(--bg-card); border: 1px solid rgba(182,92,204,.25); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.event-card:hover { border-color: var(--accent-light); transform: translateY(-2px); }
.event-date {
  flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--accent-purple), #4a1556); padding: 14px 8px; font-family: var(--font-ui); color: #fff;
}
.event-date .m { text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }
.event-date .d { font-size: 2.1rem; font-weight: 700; line-height: 1; margin: 2px 0; }
.event-date .w { font-size: .78rem; opacity: .85; }
.event-body { padding: 16px 20px 16px 0; flex: 1; min-width: 0; }
.event-body h3 { font-family: var(--font-ui); font-size: 1.15rem; margin-bottom: 4px; }
.event-meta { font-size: .9rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.event-meta i { color: var(--accent-light); margin-right: 5px; }
.event-meta a { color: var(--text-muted); }
.event-desc { margin-top: 8px; font-size: .93rem; color: var(--text-off); white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- Monthly calendar grid ---------- */
.cal-month { max-width: 860px; margin: 0 auto 2rem; }
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.cal-month-label {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--text-white); text-align: center; flex: 1;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border: 1px solid rgba(182, 92, 204, .25); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.5rem;
}
.cal-header {
  background: rgba(123, 45, 139, .3); color: var(--text-muted);
  font-family: var(--font-ui); font-size: .78rem; font-weight: 500;
  text-align: center; padding: 10px 4px; text-transform: uppercase; letter-spacing: .05em;
}
.cal-cell {
  position: relative; min-height: 72px; padding: 8px 6px;
  border-top: 1px solid rgba(182, 92, 204, .15);
  border-right: 1px solid rgba(182, 92, 204, .15);
  background: rgba(13, 5, 16, .45);
  transition: background .2s;
}
.cal-cell--empty { background: rgba(13, 5, 16, .2); }
.cal-day-num {
  display: block; font-family: var(--font-ui); font-size: .88rem; color: var(--text-muted);
}
.cal-today .cal-day-num {
  background: var(--accent-purple); color: #fff; border-radius: 50%;
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.cal-has-events { background: rgba(123, 45, 139, .2); cursor: pointer; }
.cal-has-events:hover { background: rgba(123, 45, 139, .36); }
.cal-has-events .cal-day-num { color: var(--text-white); font-weight: 600; }
.cal-event-dot {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-light); margin-top: 5px;
  box-shadow: 0 0 6px var(--accent-glow);
}
.cal-cell.selected { background: rgba(123, 45, 139, .45); outline: 2px solid var(--accent-light); outline-offset: -2px; }
.cal-events-panel { margin-top: .25rem; }
.cal-day-heading {
  font-family: var(--font-ui); font-size: 1rem; color: var(--accent-light);
  margin: 0 0 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(182, 92, 204, .3);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: var(--bg-card); border: 1px solid rgba(182,92,204,.25); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow);
}
.contact-icon { font-size: 2.2rem; color: var(--accent-light); margin-bottom: .8rem; }
.contact-card h3 { font-family: var(--font-ui); margin-bottom: .6rem; }
.big-phone { font-family: var(--font-ui); font-size: 1.8rem; font-weight: 700; }
.big-phone a { color: var(--text-white); }
.big-phone a:hover { color: var(--accent-light); }
address { font-style: normal; margin-top: .8rem; color: var(--text-white); line-height: 1.8; }
.spam-note { margin-top: 2rem; text-align: center; color: var(--text-muted); font-size: .92rem; font-style: italic; }
.spam-note i { color: var(--accent-light); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-darker); text-align: center; padding: 140px 0 30px; color: var(--text-muted); font-size: .9rem; }
.footer-crowd {
  position: absolute; top: 0; left: 0; right: 0; height: 140px;
  background: url('../images/bouncer_ent_crowds.png') center bottom / cover no-repeat; opacity: .72; will-change: transform;
}
.footer-inner { position: relative; }
.footer-inner p + p { margin-top: .8em; }
.footer-phone { font-size: 1.1rem; color: var(--text-white); }
.footer-phone a { color: var(--text-white); font-weight: 700; }
.credits a { color: var(--accent-light); }
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-purple); color: #fff; display: grid; place-items: center; z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: 0 4px 14px var(--accent-glow);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: #fff; background: #9c27b0; }

/* =========================================================
   ADMIN
   ========================================================= */
.admin-body { background: var(--bg-darker); min-height: 100vh; font-size: 15px; }
.admin-body.login-page { background: var(--bg-darker) url('../images/bouncer_ent_background_1400.jpg') center / cover fixed; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card {
  width: 100%; max-width: 400px; padding: 36px 32px; border-radius: 14px;
  background: rgba(26,10,30,.95); border: 1px solid rgba(182,92,204,.35); box-shadow: var(--shadow);
}
.login-logo { height: 70px; width: auto; margin: 0 auto 10px; }
.login-card h1 { text-align: center; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 20px; }
.login-card label { display: block; font-family: var(--font-ui); font-size: .9rem; margin: 14px 0 6px; color: var(--text-off); }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--accent-light); }
.input-icon input { padding-left: 40px !important; }
.login-card .btn { margin-top: 24px; }
.login-back { text-align: center; margin-top: 18px; font-size: .9rem; }

.admin-body input[type=text], .admin-body input[type=password], .admin-body input[type=number],
.admin-body select, .admin-body textarea, .admin-body input[type=file] {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(182,92,204,.4);
  background: rgba(0,0,0,.35); color: var(--text-white); font: inherit; font-size: .95rem;
}
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus { outline: none; border-color: var(--accent-light); box-shadow: 0 0 0 3px var(--accent-glow); }
.admin-body select option { background: var(--bg-dark); }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; font-size: .92rem; }
.alert-error { background: rgba(217,67,91,.18); border: 1px solid var(--danger); color: #ffd5dc; }

.admin-bar { background: rgba(26,10,30,.98); border-bottom: 1px solid rgba(182,92,204,.3); position: sticky; top: 0; z-index: 50; }
.admin-bar-inner { max-width: 1280px; margin: 0 auto; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: var(--text-white); font-family: var(--font-display); }
.admin-brand img { height: 40px; width: auto; }
.admin-user { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-user i { color: var(--accent-light); }
.admin-container { max-width: 1280px; margin: 0 auto; padding: 28px 20px 60px; }
.admin-card {
  background: var(--bg-dark); border: 1px solid rgba(182,92,204,.25); border-radius: 12px;
  padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow);
}
.admin-card h2 { font-family: var(--font-ui); font-size: 1.2rem; margin-bottom: 16px; }
.admin-card h2 i, .admin-card h3 i { color: var(--accent-light); margin-right: 6px; }
.admin-card h3 { font-family: var(--font-ui); font-size: 1rem; margin-bottom: 10px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.admin-grid .admin-card { margin-bottom: 0; }
.admin-form label { display: block; margin-bottom: 14px; font-family: var(--font-ui); font-size: .88rem; color: var(--text-off); }
.admin-form label > input, .admin-form label > select, .admin-form label > textarea { margin-top: 6px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; font-family: var(--font-ui); font-weight: 500; color: var(--text-muted); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; padding: 10px; border-bottom: 2px solid rgba(182,92,204,.35); }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(123,45,139,.12); }
.admin-table tr.inactive td { opacity: .55; }
.admin-table tr.flash td { animation: flash 1.2s ease; }
@keyframes flash { from { background: rgba(63,182,123,.35); } to { background: transparent; } }
.file-cell a { color: var(--text-muted); font-size: .85rem; word-break: break-all; }
.icon-btn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(182,92,204,.3); color: var(--text-white);
  width: 30px; height: 30px; border-radius: 6px; display: inline-grid; place-items: center; font-size: .8rem;
}
.icon-btn:hover { background: var(--accent-purple); }
.icon-btn.danger:hover { background: var(--danger); }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: rgba(255,255,255,.2); border-radius: 24px; transition: .2s; cursor: pointer; }
.slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--success); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.cat-list { list-style: none; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.progress-bar { height: 8px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-purple), var(--accent-light)); transition: width .2s; }
.toast {
  position: fixed; right: 20px; top: 80px; z-index: 200; max-width: 360px; padding: 12px 18px; border-radius: 8px;
  background: var(--success); color: #fff; font-family: var(--font-ui); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast.error { background: var(--danger); }
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 480px; background: var(--bg-dark); border: 1px solid rgba(182,92,204,.4); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.modal-box h2 { font-family: var(--font-ui); font-size: 1.2rem; margin-bottom: 16px; }
.modal-box h2 i { color: var(--accent-light); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { background-attachment: scroll; }
  .brand-logo { height: 44px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(13,5,16,.98); border-bottom: 1px solid rgba(182,92,204,.3);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav ul { flex-direction: column; padding: 10px 20px 20px; gap: 4px; }
  .site-nav a { padding: .8em 1em; border-radius: 8px; }
  .hero { min-height: 64vh; }
  .hero-inner { padding: 60px 16px 110px; }
  .section { padding: 56px 0; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: 240px; }
  .samples-layout { grid-template-columns: 1fr; }
  .samples-aside { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .song-grid { grid-template-columns: 1fr; }
  .cal-cell { min-height: 48px; padding: 6px 4px; }
  .cal-header { font-size: .7rem; padding: 8px 2px; }
  .cal-month-label { font-size: 1.15rem; }
  /* admin table → stacked cards */
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border: 1px solid rgba(182,92,204,.25); border-radius: 8px; margin-bottom: 12px; padding: 6px; }
  .admin-table td { border: 0; padding: 6px 8px; }
  .admin-table td[data-label]::before { content: attr(data-label) ': '; color: var(--text-muted); font-size: .75rem; text-transform: uppercase; display: block; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .btn { padding: .7em 1.2em; font-size: .95rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .event-card { flex-direction: column; gap: 0; }
  .event-date { flex-direction: row; gap: 10px; flex-basis: auto; padding: 10px; }
  .event-date .d { font-size: 1.4rem; }
  .event-body { padding: 14px 16px; }
  .big-phone { font-size: 1.45rem; }
  .song-card { padding: 14px; }
  .contact-card { padding: 22px 16px; }
  .admin-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
