/* public/css/app.css */
/* EventRadar — Dark editorial aesthetic with bold typography */

/*
:root {
  --bg:         #0a0a0f;
  --bg-card:    #13131a;
  --bg-input:   #1a1a24;
  --border:     #2a2a3a;
  --accent:     #ff4d6d;
  --accent-2:   #7c3aed;
  --text:       #f0f0f5;
  --text-muted: #888899;
  --radius:     12px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}
*/

:root {
  --bg:         #0a0a0f;
  --bg-card:    #13131a;
  --bg-input:   #1a1a24;
  --border:     #2a2a3a;
  --accent:     #9400D3;
  --accent-2:   #7c3aed;
  --text:       #f0f0f5;
  --text-muted: #888899;
  --radius:     12px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Header ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 100%; /* 1200px; */
  margin: 0 auto;
  padding: 0 12px 0 0px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent); }
  50%       { box-shadow: 0 0 20px var(--accent); }
}

.nav { display: flex; align-items: center; gap: 20px; }

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.user-menu { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
/* .btn-primary:hover { background: #e6334f; transform: translateY(-1px); } */
.btn-primary:hover { background: #520076; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 6px 12px;
}
.btn-ghost:hover { color: var(--text); }

/* ── Hero / Search ───────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 77, 109, 0.10) 0%, transparent 50%);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

/* ── Search Form ─────────────────────────────────────────── */
.search-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}

.field-address { flex: 3; min-width: 260px; }
.field-radius  { flex: 0.8; min-width: 100px; }
.field-free    { flex: 0; min-width: 80px; align-items: center; }

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.field input[type="text"],
.field input[type="date"],
.field select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
  margin-top: 8px;
}

.btn-search {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.btn-search:hover { background: #520076; transform: translateY(-1px); /* box-shadow: 0 8px 24px rgba(255,77,109,0.3)*/; }
.btn-search:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Results ─────────────────────────────────────────────── */
.results-section {
  padding: 48px 24px 80px;
}

.results-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.results-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.results-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.results-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* ── Event Card ──────────────────────────────────────────── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: #3a3a4a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-image-wrap {
  position: relative;
  height: 180px;
  background: #1a1a24;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}

.event-card:hover .card-image {
  opacity: 1;
  transform: scale(1.03);
}

.card-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.card-fav:hover { background: var(--accent); transform: scale(1.1); }
.card-fav[data-saved="true"] { background: var(--accent); color: white; }

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.card-distance {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card-venue {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-price {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 2px;
}

.card-price.free { color: #34d399; }

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.82rem;
}

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: #34d399; }
.toast.error   { border-color: var(--accent); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 48px 16px 40px; }
  .search-form { padding: 20px; }
  .search-row { flex-direction: column; }
  .field { min-width: auto; }
  .events-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   SLIDE-IN PANEL
═══════════════════════════════════════════════════════════ */

.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.panel-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.panel.open {
  transform: translateX(0);
}

/* Full width on mobile */
@media (max-width: 480px) {
  .panel { max-width: 100%; border-left: none; }
}

/* ── Panel Header ───────────────────────────────────────── */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 12px;
}

.panel-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
}

.panel-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.panel-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.panel-tab.active { color: var(--text); background: rgba(255,255,255,0.08); }

.panel-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-close:hover { color: var(--text); background: rgba(255,255,255,0.08); }

/* ── Panel Body ─────────────────────────────────────────── */
.panel-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Prevent background scroll when panel is open on iOS */
body.panel-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ── Subtabs (Events / Venues inside Favorites) ─────────── */
.panel-subtabs {
  display: flex;
  gap: 0;
  padding: 16px 20px 0;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.subtab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px 12px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.subtab:hover { color: var(--text); }
.subtab.active { color: var(--accent); border-bottom-color: var(--accent); }

.subtab-content { flex: 1; }

/* ── Panel List ─────────────────────────────────────────── */
.panel-list {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.panel-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 24px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.panel-empty .empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

/* ── Favorite Event Row ─────────────────────────────────── */
.fav-event-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.fav-event-item:last-child { border-bottom: none; }
.fav-event-item:hover { background: rgba(255,255,255,0.03); }

.fav-event-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.fav-event-info {
  flex: 1;
  min-width: 0;
}

.fav-event-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-event-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-event-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.fav-event-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex-shrink: 0;
}

.btn-unsave {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  min-height: 36px;
}

.btn-unsave:hover { border-color: var(--accent); color: var(--accent); }

.btn-tickets {
  background: var(--accent);
  border: none;
  color: white;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.2s;
  min-height: 36px;
  line-height: 26px;
}

.btn-tickets:hover { background: #520076; }

/* ── Favorite Venue Row ─────────────────────────────────── */
.fav-venue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.fav-venue-item:last-child { border-bottom: none; }
.fav-venue-item:hover { background: rgba(255,255,255,0.03); }

.fav-venue-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.fav-venue-info { flex: 1; min-width: 0; }

.fav-venue-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-venue-addr {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Locations Panel ────────────────────────────────────── */
.loc-add-btn {
  margin: 16px 20px 4px;
  width: calc(100% - 40px);
  justify-content: center;
  font-size: 0.88rem;
}

.loc-add-form {
  margin: 16px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.loc-form-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.loc-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  flex-direction: row !important;
  gap: 10px;
}

.loc-default-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  min-height: 44px;
}

.loc-default-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.loc-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* Location list item */
.loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.loc-item:last-child { border-bottom: none; }
.loc-item:hover { background: rgba(255,255,255,0.03); }

.loc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.loc-icon.default-loc { background: rgba(255, 77, 109, 0.15); }

.loc-info { flex: 1; min-width: 0; }

.loc-label-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.loc-default-badge {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.loc-addr {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-use-loc {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  min-height: 36px;
}

.btn-use-loc:hover { border-color: var(--accent); color: var(--accent); }

.btn-del-loc {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 36px;
}

.btn-del-loc:hover { border-color: #520076; color: #520076; }

/* ── Saved Location Dropdown on Search Bar ──────────────── */
.address-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.address-input-wrap input {
  flex: 1;
  border-radius: 8px 0 0 8px !important;
}

.saved-loc-btn {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 8px 8px 0;
  padding: 0 14px;
  height: 100%;
  min-height: 42px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
  color: var(--text-muted);
  flex-shrink: 0;
}

.saved-loc-btn:hover { background: #222232; color: var(--text); }

.saved-loc-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  z-index: 500;
  overflow: hidden;
  display: none;
}

.saved-loc-dropdown.open { display: block; }

.saved-loc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  min-height: 48px;
}

.saved-loc-option:last-child { border-bottom: none; }
.saved-loc-option:hover { background: rgba(255,255,255,0.05); }

.saved-loc-option .loc-opt-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.saved-loc-option .loc-opt-addr {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Nav button style (same as nav-link) ───────────────── */
.nav-link[onclick] {
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ── Hamburger Menu ──────────────────────────────────────── */
.hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: 0px; 
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(255,255,255,0.08); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger-menu {
  position: absolute;
  top: 64px;
  left: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  z-index: 500;
  overflow: hidden;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.hamburger-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.hamburger-link {
  display: flex;
  align-items: left;
  gap: 10px;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  min-height: 48px;
}

.hamburger-link:last-child { border-bottom: none; }
.hamburger-link:hover { background: rgba(255,255,255,0.05); color: var(--accent); }