/* ============================================================
   tanzevents.ch Community – Stylesheet v2.2
   Modern, emotional, dance-inspired Design
   ============================================================ */

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #f8bbd0;
  --secondary: #7c4dff;
  --secondary-dark: #651fff;
  --accent: #ff6d00;
  --bg: #0a0a0f;
  --bg-card: #15151f;
  /* Alias für ältere/sekundäre Regeln (ohne Definition war background: var(--card-bg) ungültig) */
  --card-bg: var(--bg-card);
  --bg-card-hover: #1e1e2e;
  --surface: #1a1a2e;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --text-dim: #5a5a7a;
  --border: #2a2a3e;
  --success: #00e676;
  --warning: #ffab00;
  --gradient-1: linear-gradient(135deg, #e91e63, #7c4dff);
  --gradient-2: linear-gradient(135deg, #ff6d00, #e91e63);
  --gradient-3: linear-gradient(135deg, #7c4dff, #448aff);
  --text-primary: #f0f0f5;
  --danger: #ff5252;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(233,30,99,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg: #f5f5f8;
  --bg-card: #ffffff;
  --card-bg: var(--bg-card);
  --bg-card-hover: #f0f0f5;
  --surface: #eeeef3;
  --text: #1a1a2e;
  --text-primary: #1a1a2e;
  --text-muted: #5a5a7a;
  --text-dim: #8888aa;
  --border: #d8d8e8;
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(233,30,99,0.08);
  --danger: #d32f2f;
  --success: #2e7d32;
}

/* Light: Inputs, Selects, Textareas */
[data-theme="light"] .nl-input,
[data-theme="light"] .nl-select,
[data-theme="light"] .admin-search-input,
[data-theme="light"] .admin-type-select,
[data-theme="light"] .import-chip span,
[data-theme="light"] .import-url-box,
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] .input-field {
  background: #fff !important;
  color: #1a1a2e !important;
  border-color: #d8d8e8 !important;
}
[data-theme="light"] .nl-input::placeholder,
[data-theme="light"] .admin-search-input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #999 !important;
}
[data-theme="light"] .admin-nl-stat {
  background: #fff;
}
[data-theme="light"] .footer-newsletter {
  border-top-color: #d8d8e8;
}
[data-theme="light"] .nl-success {
  background: rgba(233,30,99,.06);
  border-color: rgba(233,30,99,.15);
  color: #1a1a2e;
}
[data-theme="light"] .import-chip input:checked + span {
  background: rgba(139,92,246,.1);
  color: #6d28d9;
}

/* Dark-Mode: Kalender-Icon in Date-Feldern sichtbar machen */
[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="dark"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.25);
  opacity: 0.95;
  cursor: pointer;
}

/* Falls data-theme noch nicht gesetzt ist (frueher Render), auch in dunklem Default sichtbar */
html:not([data-theme]) input[type="date"]::-webkit-calendar-picker-indicator,
html:not([data-theme]) input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html:not([data-theme]) input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
  opacity: 0.95;
}

[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: none;
  opacity: 0.9;
}
[data-theme="light"] .share-modal {
  background: #fff;
  color: #1a1a2e;
}
[data-theme="light"] .share-modal-header {
  border-color: #e8e8e8;
}
[data-theme="light"] .lang-dropdown {
  background: #fff !important;
  border-color: #e0e0e0;
}
[data-theme="light"] .lang-current {
  background: #f0f0f5;
  border-color: #d8d8e8;
  color: #1a1a2e;
}
[data-theme="light"] .lang-dropdown a {
  color: #1a1a2e !important;
  background: transparent !important;
}
[data-theme="light"] .lang-dropdown a:hover {
  background: #f0f0f5 !important;
}
[data-theme="light"] .lang-dropdown a.active {
  background: #f0f0f5 !important;
  color: var(--accent) !important;
}

[data-theme="light"] body::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(233,30,99,0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(124,77,255,0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(255,109,0,0.03) 0%, transparent 50%);
}

[data-theme="light"] .header {
  background: rgba(245,245,248,0.85);
}

[data-theme="light"] .quiz-option.selected {
  background: rgba(233,30,99,0.06);
}
[data-theme="light"] .style-chip {
  background: #ffffff;
  border-color: #d6d6e6;
}
[data-theme="light"] .style-chip.active {
  background: rgba(233,30,99,0.18);
  border-color: #c2185b;
  box-shadow: 0 0 0 2px rgba(194,24,91,0.22);
  color: #7b1040;
}
[data-theme="light"] .style-chip.active .style-chip-label {
  color: #7b1040;
}

[data-theme="light"] .daily-option-btn.voted {
  background: rgba(255,109,0,0.06);
}

[data-theme="light"] .filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

[data-theme="light"] .toast {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Decoration */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(233,30,99,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(124,77,255,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(255,109,0,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ---- HEADER ---- */
.header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(10,10,15,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo span { font-weight: 400; opacity: 0.7; }

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

/* Nur im mobilen Off-Canvas sichtbar (sonst erscheint ✕ neben dem Logo) */
.nav-close-btn {
  display: none;
}

/* Theme Toggle */
/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-current:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.lang-code {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}
.lang-chevron {
  transition: transform 0.2s;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 150px;
  padding: 6px;
  display: none;
  z-index: 1100;
  flex-direction: column !important;
}
.lang-dropdown.active {
  display: flex !important;
  flex-direction: column !important;
}
.lang-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text) !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.15s;
  white-space: nowrap;
  width: 100%;
  background: transparent !important;
}
.lang-dropdown a:hover {
  background: var(--surface) !important;
}
.lang-dropdown a.active {
  background: var(--surface) !important;
  font-weight: 600;
  color: var(--accent) !important;
}

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  line-height: 1;
  margin-left: 4px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: scale(1.05);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: var(--surface);
}

.nav-daily-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(233,30,99,0.14);
  border: 1px solid rgba(233,30,99,0.35);
  color: #ffb3ce !important;
  font-weight: 700 !important;
}
.nav-daily-cta:hover {
  background: rgba(233,30,99,0.22) !important;
  border-color: rgba(233,30,99,0.55) !important;
}
.nav-daily-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: #fff;
  color: #7a0f38;
  padding: 0 5px;
}

/* Community dropdown (Blog, Profile, Quiz, Daily) */
.nav-community-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.nav-community-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-community-btn::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.65;
  flex-shrink: 0;
}
.nav-community-btn:hover,
.nav-community-btn.active {
  color: var(--text);
  background: var(--surface);
}
.nav-community-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 220px;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 1200;
}
.nav-community-dropdown.active {
  display: flex;
}
.nav-community-dropdown a {
  display: flex !important;
  align-items: center;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
  color: var(--text) !important;
  text-decoration: none !important;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.nav-community-dropdown a:hover,
.nav-community-dropdown a.active {
  background: var(--surface) !important;
  color: var(--accent) !important;
}

/* Desktop: Dropdown bündig unter „Community“, kein volle-Breite-Stretch */
@media (min-width: 769px) {
  .nav-community-menu {
    flex: 0 0 auto;
    width: auto;
    align-items: flex-start;
  }
  .nav-community-btn {
    width: auto;
    align-self: flex-start;
  }
  .nav-community-dropdown {
    left: 0;
    right: auto;
    min-width: max(220px, 100%);
  }
}

/* ---- HERO FULLWIDTH ---- */
.hero-fullwidth {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
}
.hero-fullwidth-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e91e6312, #7c4dff10, #448aff0c, #e91e6308);
  background-size: 300% 300%;
  animation: heroGradient 8s ease infinite;
  z-index: 0;
}
.hero-fullwidth-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  animation: floatGlow 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center !important;
  padding-top: 70px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -1px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(233,30,99,0.12);
  border: 1px solid rgba(233,30,99,0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-inner h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  text-align: center;
}

.hero-inner h1 .gradient {
  display: block;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.hero-inner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  text-align: center;
  margin: 0 auto 40px;
}

/* ---- TILES / KACHELN ---- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

.tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--transition);
}

.tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.tile:hover::before { opacity: 1; }

.tile--quiz::before { background: var(--gradient-1); }
.tile--daily::before { background: var(--gradient-2); }
.tile--events::before { background: var(--gradient-3); }

.tile-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.tile-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.tile h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.tile p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.tile .btn {
  align-self: flex-start;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 4px 20px rgba(233,30,99,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(233,30,99,0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.btn-accent {
  background: var(--gradient-2);
  color: white;
  box-shadow: 0 4px 20px rgba(255,109,0,0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,109,0,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-full { width: 100%; justify-content: center; }

.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- CARD ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ---- QUIZ ---- */
.quiz-container {
  padding: 60px 0 80px;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.quiz-progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz-question {
  text-align: center;
  margin-bottom: 36px;
}

.quiz-question h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.quiz-question p {
  color: var(--text-muted);
  font-size: 1rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.quiz-option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text);
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(233,30,99,0.1);
  box-shadow: 0 0 20px rgba(233,30,99,0.15);
}

.quiz-option-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.quiz-option-label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- QUIZ RESULT ---- */
.result-container {
  text-align: center;
  padding: 60px 0 80px;
}

.result-emoji {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: bounce 1s ease infinite;
}

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

.result-style {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.result-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 30px;
}

.result-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 36px;
}

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

.result-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- DAILY DANCE MOOD ---- */
.daily-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.daily-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-2);
}

.daily-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.daily-question {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.daily-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.daily-option-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.daily-option-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.daily-option-btn.voted {
  border-color: var(--accent);
  background: rgba(255,109,0,0.1);
}

.daily-option-btn.voted.winner {
  box-shadow: 0 0 20px rgba(255,109,0,0.2);
}

.daily-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-2);
  transition: width 0.8s ease;
  border-radius: 0 2px 0 0;
}

.daily-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.daily-total {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.daily-pct {
  font-weight: 700;
  font-size: 1.1rem;
}

.daily-pct--a { color: var(--primary); }
.daily-pct--b { color: var(--secondary); }

/* ---- EVENTS ---- */
.events-container { padding: 40px 0 80px; }

/* ---- SEARCH + TYPE CHIPS ---- */
.events-search {
  margin-bottom: 16px;
}
.search-input-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}
.search-input::placeholder {
  color: var(--text-dim);
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.search-clear:hover {
  background: var(--surface);
  color: var(--text);
}

/* Quick-Filter: Heute / Woche / Wochenende */
.when-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.when-chip {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
  white-space: nowrap;
}
.when-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.when-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.etype-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.etype-chip {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.2s;
  white-space: nowrap;
}
.etype-chip:hover {
  border-color: var(--chip-color, var(--text-muted));
  color: var(--chip-color, var(--text));
}
.etype-chip.active {
  background: var(--chip-color, var(--primary));
  color: #fff;
  border-color: var(--chip-color, var(--primary));
}

.events-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  min-width: 160px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  transition: var(--transition);
}

.event-card:hover {
  border-color: rgba(124,77,255,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.event-date-box {
  text-align: center;
  min-width: 70px;
}

.event-date-day {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.event-date-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.event-date-weekday {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.event-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.event-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.event-tag--party { background: rgba(233,30,99,0.15); color: var(--primary); }
.event-tag--course { background: rgba(124,77,255,0.15); color: var(--secondary); }
.event-tag--workshop { background: rgba(255,109,0,0.15); color: var(--accent); }
.event-tag--social { background: rgba(0,230,118,0.15); color: var(--success); }
.event-tag--performance { background: rgba(255,171,0,0.15); color: var(--warning); }

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.event-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.event-featured {
  border-color: rgba(233,30,99,0.3);
  box-shadow: 0 0 20px rgba(233,30,99,0.08);
}

/* ---- SECTION TITLES ---- */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-live {
  background: rgba(233,30,99,0.15);
  color: var(--primary);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 4px;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s;
}

.footer a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}

.footer-version {
  font-size: 0.7rem !important;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 4px !important;
}

@media (max-width: 640px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
}

/* ---- IFRAME MODE ---- */
body.iframe-mode {
  background: transparent;
  min-height: auto;
}

body.iframe-mode::before { display: none; }

body.iframe-mode .header,
body.iframe-mode .footer { display: none; }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }

/* ---- MOBILE HAMBURGER MENU ---- */
.hamburger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  position: absolute;
  left: 0;
}

.hamburger-line::before { top: -6px; }
.hamburger-line::after { top: 6px; }

.hamburger.active .hamburger-line { background: transparent; }
.hamburger.active .hamburger-line::before { top: 0; transform: rotate(45deg); }
.hamburger.active .hamburger-line::after { top: 0; transform: rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  backdrop-filter: blur(4px);
}

.nav-overlay.active { display: block; }

/* ---- SHARE BUTTON ---- */
.share-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.share-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.share-btn--wa { border-color: rgba(37,211,102,0.3); }
.share-btn--wa:hover { border-color: #25d366; background: rgba(37,211,102,0.1); }

.share-btn--copy:hover { border-color: var(--secondary); }

/* ---- STREAK DISPLAY ---- */
.streak-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.85rem;
}

.streak-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.streak-item span:first-child { font-size: 1.1rem; }

.streak-value {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 92vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 30px;
    gap: 4px;
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    will-change: transform;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 102;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav a:hover, .nav a.active {
    background: var(--surface);
  }
  .nav-daily-cta {
    justify-content: space-between;
  }

  .lang-switcher {
    margin-top: 12px;
    align-self: flex-start;
    position: relative;
  }
  .lang-dropdown {
    right: auto;
    left: 0;
    position: absolute;
    min-width: 150px;
  }
  .lang-dropdown.active {
    display: flex !important;
    flex-direction: column !important;
  }
  .lang-dropdown a {
    display: flex !important;
    width: 100%;
  }

  .theme-toggle {
    margin-left: 0;
    margin-top: 8px;
    align-self: flex-start;
  }

  .nav-community-menu {
    width: 100%;
  }
  .nav-community-btn {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-community-dropdown {
    position: static;
    margin-top: 0;
    margin-bottom: 4px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 2px solid var(--border);
    border-radius: 0 8px 8px 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }
  .nav-community-dropdown a {
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
  }

  .daily-reminder {
    right: 16px;
    left: 16px;
    bottom: 84px;
    width: auto;
  }
  .daily-reminder-btn {
    padding: 8px 9px;
  }

  .tiles { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }

  .event-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
  }

  .event-flyer-btn {
    width: 38px;
    height: 38px;
  }

  .event-actions { display: none; }
  .event-card-link .event-actions { display: flex; }
  .events-filters { flex-direction: column; }
  .filter-select { width: 100%; min-width: auto; }
  .search-input-wrap { max-width: 100%; }
  .search-input { font-size: 0.88rem; padding: 11px 36px 11px 38px; }
  .search-icon { left: 12px; width: 16px; height: 16px; }
  .search-clear { right: 8px; }
  .when-chips { gap: 6px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .when-chips::-webkit-scrollbar { display: none; }
  .when-chip { padding: 4px 12px; font-size: 0.74rem; flex-shrink: 0; }
  .etype-chips { gap: 6px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .etype-chips::-webkit-scrollbar { display: none; }
  .etype-chip { padding: 5px 14px; font-size: 0.76rem; flex-shrink: 0; }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .hero-inner h1 { font-size: 1.7rem; letter-spacing: -0.5px; }
  .hero-inner h1 .gradient { font-size: 1.9rem; }
  .hero-inner p { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-wave { height: 40px; }

  .section-title { font-size: 1.5rem; }

  .header { padding: 16px 0; }

  .result-stats { flex-direction: column; gap: 16px; }
  .result-actions { flex-direction: column; align-items: center; }

  .daily-widget { padding: 24px 20px; }
  .daily-question { font-size: 1.2rem; }
  .daily-options { gap: 10px; }
  .daily-option-btn { padding: 14px 12px; font-size: 0.9rem; }

  .tile { padding: 28px 22px; }
  .tile-icon { font-size: 2rem; margin-bottom: 12px; }
  .tile h2 { font-size: 1.3rem; }

  .quiz-container { padding: 30px 0 60px; }
  .quiz-question h2 { font-size: 1.3rem; }
  .quiz-option { padding: 18px 14px; }
  .quiz-option-emoji { font-size: 1.6rem; margin-bottom: 8px; }

  .footer { padding: 20px 0; font-size: 0.8rem; }

  .toast { bottom: 16px; right: 16px; left: 16px; text-align: center; }

  .share-row { flex-direction: column; }
  .share-btn { justify-content: center; }

  .streak-bar { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 14px; }
  .daily-options { grid-template-columns: 1fr; }
  .logo { font-size: 1.1rem; gap: 6px; }
  .logo-img { width: 34px; height: 34px; }
}

/* ---- VENUES ---- */
.hero-compact { padding: 30px 0 10px; text-align: center; }
.hero-compact h1 { font-size: 2rem; margin-bottom: 6px; }
.hero-compact .hero-subtitle { color: var(--text-muted); font-size: 1rem; }

.venue-filters { margin-bottom: 24px; }
.filter-form .filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.input-field {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.input-field:focus {
  outline: none;
  border-color: var(--primary);
}
.input-field::placeholder { color: var(--text-muted); }
select.input-field { cursor: pointer; }
textarea.input-field { resize: vertical; }

.btn-accent {
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-accent:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.venue-add-section { margin-bottom: 30px; }
.venue-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.venue-form h3 { margin-bottom: 16px; font-size: 1.2rem; }

.info-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.info-box--warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row .input-field,
.form-group .input-field {
  width: 100%;
  box-sizing: border-box;
}

.search-wrapper {
  display: flex;
  gap: 8px;
}
.search-wrapper .input-field { flex: 1; }

.search-results { margin-top: 8px; }
.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.search-result-item:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.03);
}
.result-address {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.text-success { color: var(--success); }
.text-muted { color: var(--text-muted); }

.venue-map-preview {
  height: 250px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  z-index: 1;
}

.style-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}
.checkbox-label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb, 255, 99, 132), 0.1);
}
.checkbox-label input { display: none; }

/* ---- ENTRY TABS ---- */
.entry-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.entry-tab {
  flex: 1;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.entry-tab:hover { color: var(--text); }
.entry-tab.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.entry-panel { display: none; }
.entry-panel.active { display: block; }

/* ---- OCR UPLOAD ---- */
.ocr-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ocr-upload-area:hover,
.ocr-upload-area.drag-over {
  border-color: var(--primary);
  background: rgba(233,30,99,0.04);
}
.ocr-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ocr-icon { font-size: 2.5rem; }
.ocr-label { font-weight: 600; font-size: 0.95rem; }

.ocr-preview { text-align: center; }
.ocr-preview img {
  max-width: 100%;
  max-height: 250px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.ocr-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.ocr-progress-fill {
  height: 100%;
  background: var(--gradient-2);
  border-radius: 3px;
  transition: width 0.3s;
  width: 0%;
}

.ocr-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 250px;
  overflow-y: auto;
  padding: 4px 0;
}
.ocr-line-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.ocr-line-item:hover { border-color: var(--text-muted); }
.ocr-line-item:has(input:checked) {
  border-color: var(--primary);
  background: rgba(233,30,99,0.06);
}
.ocr-line-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.venue-map-container { margin-bottom: 30px; }
.venue-map-container h2 { margin-bottom: 12px; font-size: 1.3rem; }
.venues-map {
  height: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  z-index: 1;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.venue-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.venue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.venue-card-header h3 { font-size: 1.05rem; line-height: 1.3; }
.venue-city {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.venue-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.venue-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(var(--primary-rgb, 255, 99, 132), 0.15);
  color: var(--primary);
  border-radius: 4px;
}
.venue-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.venue-card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 8px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.empty-state p { margin-bottom: 8px; }

.venue-list { margin-bottom: 40px; }
.venue-list h2 { font-size: 1.3rem; margin-bottom: 4px; }

.venue-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.venue-card-link:hover { color: inherit; }
.venue-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stars-sm .star { font-size: 0.9rem; }
.rating-num { font-weight: 700; font-size: 0.95rem; }
.text-sm { font-size: 0.8rem; }

/* ---- VENUE DETAIL ---- */
.venue-detail-header { padding: 24px 0 12px; }
.back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.venue-detail-header h1 { font-size: 2rem; margin-bottom: 8px; }
.venue-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.venue-rating-badge { display: flex; align-items: center; gap: 6px; }

.venue-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.detail-card h3 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.link-external { color: var(--primary); text-decoration: none; }
.link-external:hover { text-decoration: underline; }

.venue-detail-map-wrap { position: relative; }
.venue-detail-map {
  height: 100%;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  z-index: 1;
}

/* ---- STARS ---- */
.stars { display: inline-flex; gap: 1px; }
.star { font-size: 1.1rem; line-height: 1; }
.star.filled { color: #ffc107; }
.star.half { color: #ffc107; opacity: 0.6; }
.star.empty { color: var(--text-dim); }

/* ---- REVIEW FORM ---- */
.review-section { margin-bottom: 40px; }
.review-section h2 { font-size: 1.4rem; margin-bottom: 16px; }

.review-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.review-form-card h3 { margin-bottom: 16px; }

.star-rating-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.star-label { font-size: 0.9rem; color: var(--text-muted); }
.stars-interactive { display: flex; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  padding: 0;
  line-height: 1;
}
.star-btn:hover,
.star-btn.active { color: #ffc107; transform: scale(1.15); }
.star-value { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.char-count { display: block; text-align: right; font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }

.review-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

/* ---- REVIEW CARDS ---- */
.reviews-list { display: flex; flex-direction: column; gap: 16px; }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-author { display: flex; align-items: center; gap: 4px; }
.author-name { font-weight: 600; font-size: 0.95rem; }
.badge-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
}
.review-time { font-size: 0.8rem; color: var(--text-dim); margin-left: auto; }
.review-text { margin: 8px 0 12px; line-height: 1.5; font-size: 0.95rem; }

/* ---- LIKE / DISLIKE ---- */
.review-actions { display: flex; align-items: center; gap: 8px; }
.btn-vote {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.btn-vote:hover { border-color: var(--text-muted); }
.btn-like.voted { border-color: var(--success); color: var(--success); background: rgba(0,230,118,0.08); }
.btn-dislike.voted { border-color: var(--primary); color: var(--primary); background: rgba(233,30,99,0.08); }

.btn-reply {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.btn-reply:hover { color: var(--primary); }

/* ---- REPLIES ---- */
.review-replies {
  margin-top: 12px;
  margin-left: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reply-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.reply-text { margin: 6px 0 0; font-size: 0.9rem; line-height: 1.4; }

/* Reply Form */
.reply-form {
  margin-top: 10px;
  margin-left: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.input-sm { padding: 6px 10px; font-size: 0.85rem; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .venues-map { height: 300px; }
  .filter-form .filter-row { flex-direction: column; }
  .filter-form .filter-row .input-field,
  .filter-form .filter-row .btn { width: 100%; }
  .search-wrapper { flex-direction: column; }
  .hero-compact h1 { font-size: 1.5rem; }
  .venue-detail-grid { grid-template-columns: 1fr; }
  .venue-detail-header h1 { font-size: 1.5rem; }
  .review-replies { margin-left: 12px; padding-left: 12px; }
  .reply-form { margin-left: 12px; padding-left: 12px; }
  .star-rating-input { flex-wrap: wrap; }
  .review-form-footer { flex-direction: column; align-items: flex-start; }
}

/* ---- LIVE CHAT (Supabase Realtime) ---- */
.chat-section h2 { margin-bottom: 4px; }

.chat-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat-messages {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-loading { text-align: center; padding: 20px; }
.chat-empty { text-align: center; color: var(--text-muted); padding: 24px 16px; font-size: 0.9rem; }

.chat-msg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color 0.2s;
}
.chat-msg:hover { border-color: var(--text-dim); }

.chat-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.chat-author { font-weight: 600; font-size: 0.9rem; }
.chat-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}
.chat-time { font-size: 0.75rem; color: var(--text-dim); }
.chat-text { font-size: 0.9rem; line-height: 1.5; margin: 0; word-break: break-word; }

.chat-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.chat-vote-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  transition: all 0.2s;
}
.chat-vote-btn:hover { border-color: var(--text-muted); }
.chat-like.voted { border-color: var(--success); color: var(--success); background: rgba(0,230,118,0.08); }
.chat-dislike.voted { border-color: var(--primary); color: var(--primary); background: rgba(233,30,99,0.08); }

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-name-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}
.chat-name-input:focus { outline: none; border-color: var(--primary); }
.chat-name-input::placeholder { color: var(--text-dim); }

.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: none;
  min-height: 42px;
}
.chat-input:focus { outline: none; border-color: var(--primary); }
.chat-input::placeholder { color: var(--text-dim); }

.chat-send-btn {
  background: var(--gradient-2);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.chat-send-btn:hover { opacity: 0.85; }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-char-count { font-size: 0.75rem; color: var(--text-dim); text-align: right; }

@media (max-width: 768px) {
  .chat-messages { max-height: 300px; padding: 12px; }
  .chat-input-area { padding: 10px 12px; }
  .chat-msg { padding: 10px 12px; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }

/* ---- LOADING SPINNER ---- */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- TOAST NOTIFICATION ---- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 1000;
  animation: slideInRight 0.4s ease;
}

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

/* Daily Reminder */
.daily-reminder {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1001;
  max-width: 360px;
  width: calc(100% - 32px);
  background: linear-gradient(135deg, rgba(233,30,99,0.14), rgba(124,77,255,0.14));
  border: 1px solid rgba(233,30,99,0.35);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 12px 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.daily-reminder-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
}
.daily-reminder-body {
  flex: 1;
  min-width: 0;
}
.daily-reminder-body strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 2px;
}
.daily-reminder-body p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.daily-reminder-btn {
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-1);
  border-radius: 8px;
  padding: 8px 10px;
}
.daily-reminder-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---- SHARE MODAL ---- */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.share-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.share-modal {
  background: var(--bg-card);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
}

.share-modal-overlay.active .share-modal {
  transform: translateY(0);
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.share-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.share-modal-close {
  background: var(--surface);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.share-modal-close:hover {
  background: var(--border);
}

.share-modal-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  word-break: break-word;
}

.share-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.share-modal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
}

.share-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.share-modal-btn:active {
  transform: scale(0.95);
}

.share-modal-btn svg {
  flex-shrink: 0;
}

.share-btn-whatsapp { color: #25D366; border-color: rgba(37,211,102,0.3); }
.share-btn-whatsapp:hover { background: rgba(37,211,102,0.1); }
.share-btn-instagram { color: #E4405F; border-color: rgba(228,64,95,0.3); }
.share-btn-instagram:hover { background: rgba(228,64,95,0.1); }
.share-btn-tiktok { color: #fff; border-color: rgba(255,255,255,0.2); }
.share-btn-tiktok:hover { background: rgba(255,255,255,0.08); }
.share-btn-facebook { color: #1877F2; border-color: rgba(24,119,242,0.3); }
.share-btn-facebook:hover { background: rgba(24,119,242,0.1); }
.share-btn-x { color: var(--text-main); border-color: var(--border); }
.share-btn-x:hover { background: var(--bg-card); }
.share-btn-telegram { color: #0088CC; border-color: rgba(0,136,204,0.3); }
.share-btn-telegram:hover { background: rgba(0,136,204,0.1); }
.share-btn-native { color: var(--accent); border-color: rgba(var(--accent-rgb, 139,92,246),0.3); }
.share-btn-native:hover { background: rgba(var(--accent-rgb, 139,92,246),0.1); }
.share-btn-copy { color: var(--text-dim); border-color: var(--border); }
.share-btn-copy:hover { background: var(--bg-card); }

[data-theme="light"] .share-btn-tiktok { color: #000; border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .share-btn-tiktok:hover { background: rgba(0,0,0,0.05); }

@media (max-width: 480px) {
  .share-modal-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .share-modal-btn {
    padding: 12px 4px;
    font-size: 0.65rem;
  }
  .share-modal-btn svg {
    width: 20px;
    height: 20px;
  }
  .share-modal {
    padding: 20px 16px 28px;
  }
}

/* ---- EVENT CARD LINKS ---- */
.event-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-card-link .event-card {
  cursor: pointer;
}

.event-card-link .event-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(233,30,99,0.12);
}

.event-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  transition: var(--transition);
}

.event-card-link:hover .event-link-icon {
  background: var(--primary);
  color: #fff;
}

.event-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.event-info-header h3 {
  margin-bottom: 0;
}

.event-badge-community {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0,230,118,0.12);
  color: var(--success);
  border: 1px solid rgba(0,230,118,0.2);
}

/* ---- EVENT TYPE BORDER (Fieldset-Style) ---- */
.event-card[data-etype] {
  position: relative;
  border: 2px solid var(--etype-color, var(--border));
  border-radius: var(--radius);
}
.event-card[data-etype]::before {
  content: attr(data-etype-label);
  position: absolute;
  top: -10px;
  left: 20px;
  padding: 1px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--etype-color, var(--text-muted));
  background: var(--bg-card);
  border-radius: 6px;
  line-height: 1.3;
  z-index: 1;
}
[data-theme="light"] .event-card[data-etype]::before {
  background: var(--bg);
}
.event-card[data-etype]:hover {
  border-color: var(--etype-color, var(--border));
  box-shadow: 0 6px 24px color-mix(in srgb, var(--etype-color, #888) 15%, transparent);
}

.event-card--community {
  border-left: 3px solid var(--success);
}

.event-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- EVENT SUBMIT FORM ---- */
.event-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
  min-height: 44px;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-dim);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-actions {
  padding-top: 8px;
}

.event-submit-msg {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.event-submit-msg a {
  color: var(--primary);
  font-weight: 600;
}

.event-submit-msg--success {
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.25);
  color: var(--success);
}

.event-submit-msg--error {
  background: rgba(233,30,99,0.1);
  border: 1px solid rgba(233,30,99,0.25);
  color: var(--primary);
}

/* ---- OCR PANEL (Event Form) ---- */
.event-ocr-panel {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.event-ocr-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--accent);
}

.event-ocr-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.event-ocr-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.event-ocr-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

.event-ocr-dropzone:hover,
.event-ocr-dropzone.drag-active {
  border-color: var(--accent);
  background: rgba(255,109,0,0.05);
}

.event-ocr-dropzone svg {
  color: var(--accent);
  margin-bottom: 6px;
}

.event-ocr-progress-bar {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}

.event-ocr-progress-fill {
  height: 100%;
  background: var(--gradient-2);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.event-ocr-summary {
  padding: 12px 14px;
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text);
}

/* ---- EVENT FORM MOBILE ---- */
@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-ocr-panel {
    padding: 18px 16px;
  }

  .event-ocr-dropzone {
    padding: 24px 16px;
    min-height: 120px;
  }

  .event-ocr-dropzone svg {
    width: 32px;
    height: 32px;
  }

  .event-card-link .event-card {
    grid-template-columns: auto 1fr auto;
  }

  .event-card-link .event-actions {
    display: flex;
  }

  .event-link-icon {
    width: 32px;
    height: 32px;
  }

  .event-link-icon svg {
    width: 16px;
    height: 16px;
  }

  .event-info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ---- WIZARD STEPS ---- */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 0 10px;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.3s;
  white-space: nowrap;
}

.wizard-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}

.wizard-step.active {
  color: var(--text);
}

.wizard-step.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.wizard-step.completed span {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 10px;
  transition: background 0.3s;
  max-width: 60px;
}

.wizard-step-line.active {
  background: var(--success);
}

.wizard-panel {
  animation: fadeSlideUp 0.35s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---- STYLE CHIP GRID ---- */
.style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.style-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--text);
}

.style-chip:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.style-chip.active {
  border-color: var(--primary);
  background: rgba(233,30,99,0.08);
  box-shadow: 0 0 0 1px var(--primary);
}

.style-chip-emoji {
  font-size: 1.4rem;
}

.style-chip-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* ---- TYPE / REPEAT CHIPS ---- */
.type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-chip {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--text-muted);
  white-space: nowrap;
}

.type-chip:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

.type-chip.active {
  background: rgba(233,30,99,0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- QUICK ACTIONS ---- */
.wizard-quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wizard-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  transition: all 0.2s;
}

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

/* ---- VENUE AUTOCOMPLETE ---- */
.venue-suggest-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow);
  margin-top: 4px;
}

.venue-suggest-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}

.venue-suggest-item:last-child {
  border-bottom: none;
}

.venue-suggest-item:hover {
  background: var(--surface);
}

/* ---- WIZARD PREVIEW ---- */
.wizard-preview {
  margin-top: 20px;
}

.wizard-preview h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.wizard-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

/* ---- FLYER UPLOAD ---- */
.flyer-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
  position: relative;
}

.flyer-upload-zone:hover,
.flyer-upload-zone.drag-active {
  border-color: var(--accent);
  background: rgba(255,109,0,0.04);
}

.flyer-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  color: var(--text-muted);
}

.flyer-upload-content svg {
  color: var(--accent);
}

.flyer-upload-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.flyer-preview {
  position: relative;
  text-align: center;
  padding: 12px;
}

.flyer-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
}

.flyer-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.flyer-remove-btn:hover {
  background: var(--primary);
}

.flyer-upload-status {
  font-size: 0.82rem;
  padding: 6px 0;
  font-weight: 500;
}

.flyer-upload-status--progress {
  color: var(--accent);
}

.flyer-upload-status--ok {
  color: var(--success);
}

.flyer-upload-status--error {
  color: var(--primary);
}

/* Flyer Mini-Thumbnail in Date-Box */
.event-flyer-btn {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin: 6px auto 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  padding: 0;
  transition: border-color 0.2s, transform 0.15s;
}

.event-flyer-btn:hover {
  border-color: var(--primary);
  transform: scale(1.1);
}

.event-flyer-mini {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-flyer-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.6rem;
  line-height: 1;
  background: var(--bg-card);
  border-radius: 3px;
  padding: 1px 2px;
}

/* Flyer Lightbox */
.flyer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.flyer-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.flyer-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.flyer-lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.flyer-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.15s;
  line-height: 1;
}

.flyer-lightbox-close:hover {
  transform: scale(1.1);
}

.flyer-lightbox-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0.8;
}

/* Event Detail Toggle (aufklappbar) */
.event-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.event-detail-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.event-detail-toggle.open {
  background: rgba(255,109,0,0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.event-detail-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.event-detail-toggle.open .event-detail-chevron {
  transform: rotate(180deg);
}

.event-detail-content {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  animation: fadeSlideDown 0.25s ease;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- WIZARD MOBILE ---- */
@media (max-width: 640px) {
  .flyer-upload-content {
    padding: 18px 12px;
  }

  .flyer-preview img {
    max-height: 150px;
  }

  .style-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .style-chip {
    padding: 10px 4px;
  }

  .style-chip-emoji {
    font-size: 1.2rem;
  }

  .style-chip-label {
    font-size: 0.65rem;
  }

  .type-row {
    gap: 6px;
  }

  .type-chip {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .wizard-step {
    font-size: 0.75rem;
    gap: 5px;
  }

  .wizard-step span {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .wizard-step-line {
    margin: 0 6px;
  }

  .wizard-nav {
    position: sticky;
    bottom: 0;
    background: var(--bg);
    padding: 14px 0;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-top: 1px solid var(--border);
    z-index: 10;
  }

  .wizard-quick-actions {
    flex-direction: column;
  }

  .wizard-quick-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== FAQ SECTION ===== */
.hp-seo-links {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 0 16px;
  text-align: center;
}
.hp-seo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.hp-seo-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none !important;
  color: var(--text-muted) !important;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all .2s;
}
.hp-seo-chip:hover,
.hp-seo-chip:visited:hover {
  color: var(--primary) !important;
  border-color: var(--primary);
  background: rgba(139,92,246,.1);
}
.hp-seo-chip:visited {
  color: var(--text-muted) !important;
}
.hp-seo-more,
.hp-seo-more:visited {
  color: var(--primary) !important;
  font-weight: 600;
}
.hp-seo-divider {
  color: var(--text-muted);
  opacity: .3;
  font-size: 1.2rem;
  user-select: none;
}

.faq-section {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 0 16px;
}
.faq-section .section-title {
  margin-bottom: 24px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--accent);
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== AUTH PAGES ===== */
.auth-section {
  padding: 60px 0;
  display: flex;
  justify-content: center;
}
.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  width: 100%;
  max-width: 440px;
}
.auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}
.auth-header h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.auth-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.auth-msg--success {
  background: rgba(0,200,83,0.15);
  color: #00c853;
}
.auth-msg--error {
  background: rgba(255,82,82,0.15);
  color: #ff5252;
}
.btn-full {
  width: 100%;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}
.auth-footer a {
  color: var(--accent);
  font-weight: 600;
}

/* ===== NAV USER MENU ===== */
.nav-user-menu {
  position: relative;
}
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.nav-user-btn:hover {
  border-color: var(--accent);
}
.nav-user-avatar {
  font-size: 1.2rem;
}
.nav-user-name {
  font-weight: 600;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-user-level {
  font-size: 0.7rem;
  background: var(--accent);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}
.nav-user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  min-width: 160px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-user-dropdown.active {
  display: block;
}
.nav-user-info {
  padding: 6px 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.nav-user-logout {
  display: block;
  padding: 8px;
  color: #ff5252;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-user-logout:hover {
  background: rgba(255,82,82,0.1);
}
.nav-login-btn {
  font-size: 0.8rem !important;
  padding: 4px 14px !important;
}

/* ===== ANIMATED HERO GRADIENT ===== */
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%,-50%) scale(1.15); }
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 90px;
  position: relative;
  overflow: hidden;
}
.hero-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(233,30,99,0.18);
}
.hero-stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stat-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 14px;
  transition: transform 0.2s ease;
}
.hero-stat-link:hover {
  transform: translateY(-2px);
}
.hero-stat-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.community-pulse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}
.community-pulse a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.community-pulse a:hover {
  text-decoration: underline;
}

.hero-region-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}

/* Wochen-Vorschau: war ohne Styles → nur blaue Standard-Links */
.hero-preview {
  width: 100%;
  max-width: 900px;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
  text-align: left;
  box-sizing: border-box;
}
.hero-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-preview-head h2 {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 800;
  color: var(--text);
  text-align: left;
  line-height: 1.25;
}
.hero-preview-head a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.hero-preview-head a:hover {
  text-decoration: underline;
}
.hero-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.hero-preview-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--text) !important;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  text-align: left;
  min-height: 5.5rem;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
[data-theme="light"] .hero-preview-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.hero-preview-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.hero-preview-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-preview-card > span:not(.hero-preview-date) {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.hero-preview-date {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero-region-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding: 0 4px 8px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }
  .hero-region-chips::-webkit-scrollbar {
    display: none;
  }
  .hero-region-chips .when-chip {
    flex-shrink: 0;
  }
}

/* SEO-safe visueller Effekt für Counters (ohne JS-Wertänderung) */
@keyframes heroStatShimmer {
  0% { transform: translateX(-140%) skewX(-22deg); opacity: 0; }
  35% { opacity: 0.35; }
  100% { transform: translateX(220%) skewX(-22deg); opacity: 0; }
}
.hero-stat::after {
  content: '';
  position: absolute;
  top: -30%;
  left: 0;
  width: 45%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
  animation: heroStatShimmer 5.5s ease-in-out infinite;
}

/* ===== SCROLL REVEAL ===== */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.revealed {
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===== TANZSTIL TICKER ===== */
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.style-ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  padding: 14px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.style-ticker-inner {
  display: flex;
  gap: 28px;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.style-ticker-item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.2px;
  opacity: 0.5;
}

/* ===== HOMEPAGE SECTIONS ===== */
.hp-section {
  margin: 56px 0;
}
.hp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.hp-section-header--center {
  justify-content: center;
  text-align: center;
}
.hp-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}
.hp-section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}
.hp-section-footer {
  text-align: center;
  margin-top: 24px;
}

/* ===== GLASMORPHISM EVENT CARDS ===== */
.hp-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-top: 12px;
}
.hp-event-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: visible;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
[data-theme="light"] .hp-event-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}
.hp-event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent, var(--accent), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.hp-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(233,30,99,0.12), 0 4px 12px rgba(0,0,0,0.1);
}
.hp-event-card:hover::before {
  opacity: 1;
}
.hp-event-card[data-etype] {
  border: 2px solid var(--etype-color, rgba(255,255,255,0.08));
}
.hp-event-card[data-etype]::after {
  content: attr(data-etype-label);
  position: absolute;
  top: -9px;
  left: 16px;
  padding: 1px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--etype-color, var(--text-muted));
  background: var(--bg);
  border-radius: 4px;
  z-index: 2;
  line-height: 1.3;
}
.hp-event-card[data-etype]:hover {
  box-shadow: 0 12px 32px color-mix(in srgb, var(--etype-color, #888) 18%, transparent);
}

/* ===== PREMIUM EVENTS ===== */
.hp-event-card[data-premium="1"] {
  border: 2px solid #c79200 !important;
  background:
    linear-gradient(160deg, #fff6c2 0%, #f7d65f 18%, #e6b625 42%, #f2c941 62%, #d39a12 100%) !important;
  box-shadow:
    0 10px 26px rgba(215, 161, 20, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(92,64,0,0.25);
}
.event-card[data-premium="1"] {
  border-color: #c79200 !important;
  background:
    linear-gradient(160deg, #fff4b2 0%, #f7d45a 20%, #e4b323 45%, #efc23b 66%, #d09511 100%) !important;
  box-shadow:
    0 8px 24px rgba(215, 161, 20, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.62),
    inset 0 -1px 0 rgba(92,64,0,0.22);
}
[data-theme="light"] .hp-event-card[data-premium="1"] {
  background:
    linear-gradient(160deg, #ffef9b 0%, #f4cb4a 24%, #dfaa1a 48%, #f1bf33 72%, #c68d0a 100%) !important;
}
[data-theme="light"] .event-card[data-premium="1"] {
  background:
    linear-gradient(160deg, #ffef9b 0%, #f4cb4a 24%, #dfaa1a 48%, #f1bf33 72%, #c68d0a 100%) !important;
}

/* Premium soll wie Goldbarren wirken + lesbare Schrift */
.hp-event-card[data-premium="1"] .hp-event-body,
.hp-event-card[data-premium="1"] .hp-event-title,
.hp-event-card[data-premium="1"] .hp-event-meta span,
.event-card[data-premium="1"] .event-info h3,
.event-card[data-premium="1"] .event-meta-item,
.event-card[data-premium="1"] .event-detail-toggle,
.event-card[data-premium="1"] .event-detail-content,
.event-card[data-premium="1"] .event-detail-content p {
  color: #2b1a00 !important;
}
.hp-event-card[data-premium="1"] .hp-event-tag,
.event-card[data-premium="1"] .event-tag {
  background: rgba(255,255,255,0.28) !important;
  color: #2b1a00 !important;
  border: 1px solid rgba(122,84,0,0.22);
}
.event-card[data-premium="1"]::before {
  background: rgba(255,247,192,0.85) !important;
  color: #6c4500 !important;
  border: 1px solid rgba(122,84,0,0.25);
}
.hp-event-card[data-premium="1"]::after {
  background: rgba(255,247,192,0.85) !important;
  color: #6c4500 !important;
  border: 1px solid rgba(122,84,0,0.25);
}
.hp-event-card[data-premium="1"]:hover,
.event-card[data-premium="1"]:hover {
  box-shadow:
    0 16px 36px rgba(210, 153, 8, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -1px 0 rgba(92,64,0,0.25) !important;
  border-color: #b78000 !important;
  transform: translateY(-6px);
}
.event-detail[data-premium="1"] {
  border-color: #f5c518 !important;
  background: linear-gradient(135deg, rgba(245,197,24,.08), transparent) !important;
}
.event-detail[data-premium="1"]::before {
  content: '⭐ PREMIUM' !important;
  background: linear-gradient(135deg, #ffd740, #f5c518) !important;
  color: #1a1a1a !important;
  padding: 2px 10px !important;
  border-radius: 6px !important;
}
.premium-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5c518, #ffd740);
  color: #1a1a1a;
  letter-spacing: .3px;
}
.admin-badge-premium {
  background: linear-gradient(135deg, rgba(245,197,24,.2), rgba(255,215,64,.15));
  color: #f5c518;
}
.btn-premium {
  background: linear-gradient(135deg, #f5c518, #ffd740);
  color: #1a1a1a;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
.btn-premium:hover {
  background: linear-gradient(135deg, #ffd740, #ffea00);
}
.admin-actions-cell {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.hp-event-img {
  height: 130px;
  min-height: 130px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.hp-event-img-el {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hp-event-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
  pointer-events: none;
}
.hp-event-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233,30,99,0.08), rgba(124,77,255,0.08)) !important;
}
.hp-event-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hp-event-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
}
.hp-event-time {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
}
.hp-event-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 4px;
}
.hp-event-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* ===== FEATURE KACHELN MIT GRADIENT ===== */
.hp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.hp-feature {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 22px 26px;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
  overflow: hidden;
}
.hp-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--gradient-1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.hp-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(233,30,99,0.1);
}
.hp-feature:hover::before {
  opacity: 1;
}
.hp-feature-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  display: block;
}
.hp-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.hp-feature p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== DAILY CARD GLASMORPHISM ===== */
.hp-daily-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .hp-daily-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}
.hp-daily-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(233,30,99,0.15), transparent 70%);
  pointer-events: none;
}
.hp-daily-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hp-daily-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.hp-votes-today {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffd98a;
  background: rgba(255,217,138,0.14);
  border: 1px solid rgba(255,217,138,0.35);
  border-radius: 999px;
  padding: 5px 10px;
}
.hp-daily-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ===== LIVE PULSE ===== */
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,200,83,0); }
}
.badge-live {
  animation: livePulse 2s ease-in-out infinite;
}

/* ===== HOMEPAGE RESPONSIVE ===== */
@media (max-width: 600px) {
  .hp-events-grid {
    grid-template-columns: 1fr;
  }
  .hp-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hp-feature {
    padding: 22px 14px 20px;
  }
  .hp-feature-icon {
    font-size: 2rem;
  }
  .hp-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-stats {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-stat {
    padding: 10px 16px;
    min-width: 80px;
  }
  .hero-stat strong {
    font-size: 1.3rem;
  }
  .hp-daily-card {
    padding: 22px 18px;
  }
}
@media (max-width: 380px) {
  .hp-features {
    grid-template-columns: 1fr;
  }
}

/* ===== EVENT DETAIL PAGE ===== */
.event-detail {
  padding: 30px 0 60px;
}
.event-detail[data-etype] {
  border: 2px solid var(--etype-color, var(--border));
  border-radius: var(--radius);
  padding: 30px 28px 60px;
  position: relative;
}
.event-detail[data-etype]::before {
  content: attr(data-etype-label);
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 1px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--etype-color, var(--text-muted));
  background: var(--bg);
  border-radius: 6px;
  line-height: 1.3;
}
.event-detail-back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.event-detail-back:hover {
  color: var(--accent);
}
.event-detail-flyer {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  max-height: 400px;
}
.event-detail-flyer img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
.event-detail-header h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}
.event-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.event-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.event-detail-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.event-detail-desc {
  margin: 24px 0;
}
.event-detail-desc h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.event-detail-desc p {
  color: var(--text-muted);
  line-height: 1.7;
}
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .auth-card {
    padding: 28px 20px;
  }
  .event-detail-header h1 {
    font-size: 1.4rem;
  }
  .home-event-style {
    display: none;
  }
  .nav-user-name {
    display: none;
  }
}

/* ===== ADMIN PANEL ===== */
.admin-header {
  margin: 2rem 0 1.5rem;
}
.admin-header h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.admin-header p {
  color: var(--text-muted);
}
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.admin-tab {
  padding: 10px 20px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.admin-tab:hover {
  color: var(--text);
}
.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.admin-section {
  margin-bottom: 2rem;
}
.admin-search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  align-items: center;
}
.admin-search-input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: .95rem;
}
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.admin-table th {
  background: var(--card);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:hover {
  background: rgba(var(--primary-rgb, 139,92,246), .05);
}
.admin-row-inactive {
  opacity: .5;
}
.admin-comment-cell {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}
.admin-badge-active {
  background: rgba(34,197,94,.15);
  color: #22c55e;
}
.admin-badge-inactive {
  background: rgba(239,68,68,.15);
  color: #ef4444;
}
.admin-info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}
.admin-info-box h3 {
  margin-bottom: 4px;
}
.admin-info-box p {
  color: var(--text-muted);
  font-size: .9rem;
}
.admin-chat-list {
  margin-top: .5rem;
}
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-danger:hover {
  background: #dc2626;
}
.nav-user-admin {
  display: block;
  padding: 8px 16px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-user-admin:hover {
  background: rgba(var(--primary-rgb, 139,92,246), .1);
}

.cart-btn.is-in-cart {
  border-color: rgba(0,200,120,0.45) !important;
  color: #00c878 !important;
  background: rgba(0,200,120,0.08) !important;
}

@media (max-width: 600px) {
  .admin-tabs {
    gap: 0;
  }
  .admin-tab {
    padding: 8px 12px;
    font-size: .85rem;
  }
  .admin-search-form {
    flex-direction: column;
  }
  .admin-search-input {
    width: 100%;
  }
  .admin-table {
    font-size: .8rem;
  }
  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }
}

/* ===== PWA INSTALL BANNER ===== */
.pwa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  padding: 0 16px 16px;
  pointer-events: none;
}
.pwa-banner.active {
  transform: translateY(0);
  pointer-events: auto;
}
.pwa-banner-inner {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 -4px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(20px);
}
.pwa-banner-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.pwa-banner-close:hover {
  color: var(--text);
}
.pwa-banner-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.pwa-banner-icon {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(139,92,246,.3);
  flex-shrink: 0;
}
.pwa-banner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pwa-banner-info strong {
  font-size: 1.05rem;
}
.pwa-banner-info span {
  font-size: .85rem;
  color: var(--text-muted);
}
.pwa-banner-text {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pwa-banner-install {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}
.pwa-banner-ios {
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 16px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb-sep {
  opacity: .4;
}

/* ===== SEO LANDING PAGES ===== */
.landing-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
}
.landing-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
.landing-count {
  font-size: .9rem;
  color: var(--text-muted);
  opacity: .7;
}
.landing-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.landing-links h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.landing-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.landing-links-grid a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  font-size: .85rem;
  transition: border-color .2s, background .2s;
}
.landing-links-grid a:hover {
  border-color: var(--primary);
  background: rgba(139,92,246,.08);
}
.landing-cta {
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 2rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.landing-cta h2 {
  margin-bottom: 8px;
}
.landing-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .landing-hero h1 { font-size: 1.6rem; }
  .landing-intro { font-size: .95rem; }
  .landing-links-grid a { font-size: .8rem; padding: 5px 10px; }
}

/* ===== NEWSLETTER FOOTER FORM ===== */
.footer-newsletter {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.footer-newsletter p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 12px;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nl-row {
  display: flex;
  gap: 8px;
}
.nl-row-selects {
  justify-content: center;
}
.nl-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-card, #1a1428);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.nl-input:focus {
  border-color: var(--primary, #8b5cf6);
}
.nl-btn {
  white-space: nowrap;
  padding: 10px 20px !important;
  border-radius: 10px !important;
}
.nl-select {
  flex: 1;
  padding: 8px 10px;
  background: var(--bg-card, #1a1428);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary, #fff);
  font-size: .8rem;
  max-width: 200px;
}
.nl-hint {
  font-size: .72rem;
  color: var(--text-muted);
  opacity: .6;
  margin: 0;
}
.nl-success {
  padding: 16px;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: .9rem;
}

@media (max-width: 600px) {
  .nl-row { flex-direction: column; }
  .nl-row-selects { flex-direction: row; }
  .nl-select { max-width: none; }
}

/* ===== ADMIN NEWSLETTER STATS ===== */
.admin-nl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}
.admin-nl-stat {
  background: var(--card, #1a1428);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.admin-nl-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.admin-nl-stat-label {
  display: block;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .admin-nl-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== EVENT IMPORT ===== */
.import-url-box {
  background: var(--card, #1a1428);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 1rem;
}
.import-form-card {
  padding: 1.5rem;
}
.import-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.import-form-grid .form-group {
  display: flex;
  flex-direction: column;
}
.import-form-grid label {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 4px;
}
.import-preview-image {
  text-align: center;
  margin-bottom: 16px;
}
.import-style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.import-chip {
  cursor: pointer;
}
.import-chip input { display: none; }
.import-chip span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-card, #1a1428);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .82rem;
  transition: all .2s;
  color: var(--text-primary);
}
.import-chip input:checked + span {
  background: rgba(139, 92, 246, .2);
  border-color: var(--primary, #8b5cf6);
  color: #a78bfa;
  font-weight: 600;
}
.import-chip:hover span {
  border-color: var(--primary, #8b5cf6);
}
@media (max-width: 600px) {
  .import-form-grid { grid-template-columns: 1fr; }
  .import-form-grid .form-group[style*="grid-column"] { grid-column: auto; }
}
