@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #070708;
  --bg-2: #0e0e10;
  --bg-3: #141417;
  --bg-4: #1a1a1f;
  --ink: #f4f4f5;
  --ink-2: #a1a1aa;
  --ink-3: #71717a;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.1);
  --accent: #ff5c3a;
  --accent-2: #ff7a45;
  --accent-glow: rgba(255, 92, 58, 0.35);
  --gold: #f0a050;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --font: 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --nav-h: 64px;
  --text-muted: var(--ink-2);
  --warning: var(--warn);
  --danger: var(--bad);
  --success: var(--good);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; transition: color .15s; }
a:hover { color: #ff9a6b; }
img { max-width: 100%; display: block; }

/* ═══════════ NAV ═══════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(12, 12, 14, 0.35);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.navbar .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.navbar-brand:hover { color: var(--ink); text-decoration: none; }
.navbar-brand .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  background: url('/favicon.svg') center/cover no-repeat;
  box-shadow: 0 4px 16px rgba(255,92,58,0.3);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-links > span {
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  transition: .15s;
}
.nav-links > a:hover { color: var(--ink); background: rgba(255,255,255,0.04); text-decoration: none; }
.nav-links > span { color: var(--ink-3); }
.btn-admin {
  background: linear-gradient(135deg, #ff5c3a, #ff7a45) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-admin:hover { filter: brightness(1.08); color: #fff !important; }

/* ═══════════ LANDING ═══════════ */
.landing { padding-top: var(--nav-h); position: relative; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

/* Animated gradient mesh */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.hero-bg .orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #ff5c3a 0%, transparent 70%);
  top: -12%; left: -8%;
  animation-delay: 0s;
}
.hero-bg .orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #f0a050 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation-delay: -6s;
}
.hero-bg .orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #ff3d6e 0%, transparent 70%);
  top: 40%; left: 50%;
  opacity: 0.25;
  animation-delay: -12s;
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}
.hero-bg .wire {
  position: absolute;
  width: 600px; height: 600px;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #ff5c3a, #f0a050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 28em;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Menu cards */
.menu-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 2;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(12px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  color: inherit;
  overflow: hidden;
  min-height: 200px;
}
.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,92,58,0.4), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.menu-card:hover {
  border-color: rgba(255,92,58,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(255,92,58,0.08);
  text-decoration: none;
  color: inherit;
}
.menu-card:hover::before { opacity: 1; }
.menu-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255,92,58,0.1);
  border: 1px solid rgba(255,92,58,0.2);
  color: var(--accent-2);
}
.menu-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.menu-card p {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
}
.menu-card .go {
  margin-top: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu-card.featured {
  background: linear-gradient(145deg, rgba(255,92,58,0.12) 0%, rgba(240,160,80,0.05) 50%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(255,92,58,0.25);
}
.menu-card.featured .icon {
  background: linear-gradient(135deg, #ff5c3a, #f0a050);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ═══════════ AUTH SPLIT ═══════════ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 0;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background: #080605;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-art-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 40% 55%, rgba(255,70,35,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 70% 75%, rgba(240,150,50,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 25% 25%, rgba(200,50,30,0.25) 0%, transparent 45%),
    linear-gradient(165deg, #140806 0%, #080605 55%, #0a0806 100%);
}
/* Soft vignette / contain composition */
.auth-art-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 70% at 45% 55%, transparent 30%, rgba(8,6,5,0.75) 100%);
  pointer-events: none;
}
.auth-art svg {
  position: absolute;
  z-index: 1;
  width: 140%;
  max-width: none;
  height: auto;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  opacity: 0.95;
  filter: drop-shadow(0 0 60px rgba(255,120,40,0.4));
  pointer-events: none;
}
/* Thick abstract arcs behind rings */
.auth-art-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.auth-art-lines span {
  position: absolute;
  border: 3px solid rgba(255,140,60,0.12);
  border-radius: 50%;
}
.auth-art-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.auth-art-stars span {
  position: absolute;
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
  opacity: 0.7;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.auth-panel::before {
  content: '';
  position: absolute;
  top: 15%; right: 5%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,92,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.auth-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      25deg,
      transparent,
      transparent 56px,
      rgba(255,255,255,0.018) 56px,
      rgba(255,255,255,0.018) 58px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 85%);
}
.auth-box {
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 1;
}
.auth-box .logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: var(--ink-2);
  font-weight: 500;
}
.auth-box .logo-row .dot {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: url('/favicon.svg') center/cover no-repeat;
  box-shadow: 0 2px 12px rgba(255,92,58,0.35);
}
.auth-box h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.auth-box .auth-sub {
  color: var(--ink-2);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* ═══════════ APP SHELL (events etc) ═══════════ */
.app-shell { padding-top: var(--nav-h); min-height: 100vh; position: relative; }
.app-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(255,92,58,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(240,160,80,0.14) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 40%, rgba(255,80,50,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 30% 80%, rgba(255,100,40,0.06) 0%, transparent 50%);
}
.app-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 56px,
      rgba(255,255,255,0.025) 56px,
      rgba(255,255,255,0.025) 58px
    );
  mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, black 15%, transparent 75%);
}
.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.page-head { padding: 56px 0 32px; }
.page-head h1 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-head p { color: var(--ink-2); font-size: 0.9375rem; }

/* Cards / forms / buttons shared */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.card-body { padding: 24px; }
.card-banner {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #ff5c3a, #ff7a45);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.auth-box .btn-primary,
form .btn-primary:not(.btn-sm) {
  width: 100%;
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--ink); text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 0.8125rem; width: auto; border-radius: var(--radius-xs); }
.btn-success { background: rgba(52,211,153,0.15); color: var(--good); border-radius: var(--radius-xs); }
.btn-success:hover { background: var(--good); color: #0a0a0a; text-decoration: none; }
.btn-danger { background: rgba(248,113,113,0.12); color: var(--bad); border-radius: var(--radius-xs); }
.btn-danger:hover { background: var(--bad); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
  border-radius: var(--radius-xs);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); color: var(--ink); text-decoration: none; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: .15s;
}
textarea.form-control { border-radius: var(--radius-sm); min-height: 100px; resize: vertical; }
select.form-control { border-radius: var(--radius-xs); appearance: none; cursor: pointer; }
.form-control::placeholder { color: var(--ink-3); }
.form-control:focus {
  outline: none;
  border-color: rgba(255,92,58,0.5);
  box-shadow: 0 0 0 3px rgba(255,92,58,0.12);
}
input[type="range"] { accent-color: var(--accent); border-radius: 0; padding: 0; border: none; background: transparent; }

.error-msg {
  background: rgba(248,113,113,0.1);
  color: var(--bad);
  border: 1px solid rgba(248,113,113,0.2);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.success-msg {
  background: rgba(52,211,153,0.1);
  color: var(--good);
  border: 1px solid rgba(52,211,153,0.2);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.event-list-item {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.event-list-item:last-child { border-bottom: none; }
.event-list-item:hover { background: rgba(255,255,255,0.03); text-decoration: none; color: inherit; }
.event-list-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.event-meta {
  font-size: 0.8125rem;
  color: var(--ink-2);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-open { background: rgba(52,211,153,0.12); color: var(--good); }
.badge-closed { background: rgba(248,113,113,0.12); color: var(--bad); }
.badge-pending { background: rgba(251,191,36,0.12); color: var(--warn); }
.badge-accepted { background: rgba(52,211,153,0.12); color: var(--good); }
.badge-rejected { background: rgba(248,113,113,0.12); color: var(--bad); }
.badge-draft { background: rgba(113,113,122,0.15); color: var(--ink-2); }

.event-header { margin-bottom: 20px; }
.event-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  line-height: 1.2;
}
.section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 28px 0 10px;
  color: var(--ink-3);
}
.event-content p, .event-content li { color: var(--ink-2); margin-bottom: 6px; font-size: 0.9375rem; }
.event-content ul { padding-left: 1.15em; margin-bottom: 12px; }
.event-content strong { color: var(--ink); font-weight: 600; }

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  box-sizing: border-box;
}
.admin-sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  align-self: start;
}
.admin-sidebar a {
  display: block;
  padding: 9px 20px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: .12s;
}
.admin-sidebar a:hover { color: var(--ink); background: rgba(255,255,255,0.03); text-decoration: none; }
.admin-sidebar a.active {
  color: var(--accent-2);
  background: rgba(255,92,58,0.08);
  border-left-color: var(--accent);
}
.admin-content { padding: 24px 28px 48px; min-width: 0; position: relative; z-index: 1; }
.admin-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-content h1 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.stat-card .num {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}
.stat-card .label { font-size: 0.75rem; color: var(--ink-2); margin-top: 4px; font-weight: 500; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.875rem;
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: var(--bg-3);
  font-size: 0.7rem;
  color: var(--ink-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* Notifs */
.notif-wrap { position: relative; }
.notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--ink-2);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: .15s;
}
.notif-bell:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.notif-bell.has-unread { color: var(--accent-2); }
.notif-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 15px; height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: 92vw;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 200;
  overflow: hidden;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
}
.notif-dropdown-list { max-height: 360px; overflow-y: auto; }
.notif-empty { padding: 32px 16px; text-align: center; color: var(--ink-2); font-size: 0.875rem; }
.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: .12s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-item-unread { background: rgba(255,92,58,0.06); }
.notif-item-icon { font-size: 1rem; flex-shrink: 0; }
.notif-item-title { font-weight: 600; font-size: 0.875rem; margin-bottom: 2px; }
.notif-item-msg { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.4; }
.notif-item-date { font-size: 0.75rem; color: var(--ink-3); margin-top: 4px; }

.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.empty-state { text-align: center; padding: 48px 24px; color: var(--ink-2); }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .admin-sidebar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 12px;
    gap: 6px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--nav-h);
    height: auto;
    z-index: 50;
    background: rgba(14, 14, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-sidebar a {
    white-space: nowrap;
    padding: 8px 14px;
    border-left: none;
    border-radius: 999px;
    font-size: 0.8125rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    flex-shrink: 0;
  }
  .admin-sidebar a.active {
    border-left: none;
    background: rgba(255,92,58,0.15);
    border-color: rgba(255,92,58,0.35);
    color: var(--accent-2);
  }
  .admin-content {
    padding: 20px 14px 100px;
    overflow-x: auto;
  }
  .admin-content h1 { font-size: 1.2rem; }
  .admin-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .nav-links > span { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* Events page decorative layer */
.app-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.app-deco-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.app-deco-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,92,58,0.22) 0%, transparent 70%);
  top: -80px; left: -100px;
}
.app-deco-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,160,80,0.16) 0%, transparent 70%);
  bottom: -60px; right: -80px;
}
.app-deco-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,80,60,0.1) 0%, transparent 70%);
  top: 40%; left: 55%;
}
.app-deco-rings {
  position: absolute;
  width: min(520px, 70vw);
  height: auto;
  right: -5%;
  top: 18%;
  opacity: 0.7;
}


/* liquid glass event cards */
.app-shell .card {
  background: rgba(18, 16, 20, 0.38);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  isolation: isolate;
}
.app-shell .event-list-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  position: relative;
}
.app-shell .event-list-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.app-shell .event-list-item:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,92,58,0.18);
}
.app-shell .event-list-item:hover::before { opacity: 1; }
.app-shell .event-list-item:last-child { border-bottom: none; }

.grainient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grainient-bg .grainient-container {
  pointer-events: auto;
}
.auth-page, .landing, .app-shell {
  position: relative;
}
.auth-page > *, .landing > *, .app-shell > .container {
  position: relative;
  z-index: 1;
}

/* auth liquid glass panels */
.auth-box {
  background: rgba(16, 14, 18, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.auth-art { opacity: 0.35; }


.nav, .site-nav, header.nav, .navbar {
  position: relative;
  z-index: 50;
}

/* ========== FINAL layout 2026-11 ========== */
html, body { background: #0c0a0e !important; }

.gw-bg {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.gw-bg * { pointer-events: none !important; }

/* AUTH SPLIT: rounded waves card left | form right */
.auth-page.auth-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  min-height: 100vh !important;
  width: 100% !important;
  position: relative;
  z-index: 2;
  background: #0a090c !important;
  padding: 28px !important;
  gap: 28px !important;
  box-sizing: border-box;
}
.auth-page.auth-split .auth-visual {
  position: relative;
  min-height: calc(100vh - 56px);
  border-radius: 28px;
  overflow: hidden;
  background: #120e10;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}
.auth-page.auth-split .auth-visual .gw-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.auth-page.auth-split .auth-visual .auth-star {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  width: 28px;
  height: 28px;
  color: #fff;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.auth-page.auth-split .auth-visual .auth-star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.auth-page.auth-split .auth-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: calc(100vh - 56px);
  background: transparent !important;
  padding: 24px 32px !important;
  border-left: none !important;
}
.auth-page.auth-split .auth-box {
  width: 100%;
  max-width: 400px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}
.auth-page.auth-split .auth-art { display: none !important; }

@media (max-width: 900px) {
  .auth-page.auth-split {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 16px !important;
  }
  .auth-page.auth-split .auth-visual {
    min-height: 220px;
    max-height: 240px;
  }
  .auth-page.auth-split .auth-panel {
    min-height: auto;
    padding: 12px 8px 32px !important;
  }
}





/* no full-screen waves on auth — only inside card */
body:has(.auth-split) > .gw-bg { display: none !important; }


/* ===== icons + glass cards + footer glass ===== */
.menu-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 80px;
  position: relative;
  z-index: 2;
}
.menu-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.menu-card {
  position: relative;
  background: rgba(18, 14, 16, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  padding: 26px 22px !important;
  min-height: 210px !important;
  color: #f2f0ec !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,0.14), transparent 40%);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.menu-card.is-tilting::after,
.menu-card:hover::after { opacity: 1; }
.menu-card:hover {
  border-color: rgba(255,92,58,0.4) !important;
  box-shadow: 0 22px 56px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
.menu-card .menu-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,92,58,0.12) !important;
  margin-bottom: 14px !important;
  color: #ff5c3a !important;
  flex: none;
}
.menu-card .menu-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  display: block;
}
.menu-card h3 {
  margin: 0 0 8px !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  font-weight: 600;
}
.menu-card p {
  margin: 0 0 16px !important;
  color: #b8b4ae !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  flex: 1;
}
.menu-card .card-link {
  color: #ff5c3a !important;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: auto;
}
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr !important; }
}

/* Footer liquid glass */
.footer {
  position: relative !important;
  z-index: 5 !important;
  background: rgba(12, 10, 14, 0.45) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  padding: 26px 24px !important;
  text-align: center !important;
  color: #c4c0ba !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.footer .container { color: #c4c0ba !important; }

/* glass hover for other clickable surfaces */
a.btn, .btn, .event-list-item, .nav a.btn {
  position: relative;
  overflow: hidden;
}
a.btn::after, .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .45s ease;
  pointer-events: none;
}
a.btn:hover::after, .btn:hover::after {
  transform: translateX(120%);
}


/* HARD FIX icons never full-card */
.menu-card > .menu-icon,
.menu-card .menu-icon {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  overflow: hidden !important;
  flex: 0 0 40px !important;
}
.menu-card > .menu-icon svg,
.menu-card .menu-icon svg,
.menu-card svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  flex: none !important;
  fill: none !important;
  stroke: #ff5c3a !important;
}
.auth-page.auth-split .auth-star {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  overflow: hidden !important;
}
.auth-page.auth-split .auth-star svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
}
.auth-page.auth-split .auth-visual {
  background: radial-gradient(ellipse at 40% 70%, #ff5c3a 0%, #1a0a08 55%, #0c0a0e 100%) !important;
}
