:root {
  --bg:#0e0b13;
  --panel:#181424;
  --accent1:#8a2be2; /* Neon Lila */
  --accent2:#32cd32; /* Neon Grün */
  --text:#f4f4f4;
}

body {
  margin:0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
header {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px;
  background: var(--panel);
  border-bottom: 2px solid var(--accent1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.searchbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  max-width: 450px;
}

.searchbar form {
  width: 100%;
}

.searchbar input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid var(--accent1);
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.header-right {
  text-align: right;
}

.header-right a {
  color: var(--accent2);
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
}

/* NAVBAR */
.navbar {
  background: var(--accent1);
  padding: 12px 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover {
  color: var(--accent2);
}

.navbar a.active, .nav-tab.active {
  background: var(--accent2);
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px var(--accent2);
}

/* LAYOUT */
.page-layout {
  display: flex;
  padding: 25px;
  gap: 25px;
}

.home-layout {
  min-height: calc(100vh - 200px);
}

/* SIDEBAR */
.sidebar {
  width: 230px;
  background: var(--panel);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #2a2342;
}

.sidebar h3 {
  color: var(--accent1);
  margin-top: 0;
}

.sidebar a {
  display: block;
  margin: 6px 0;
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}

.sidebar a:hover {
  color: white;
}

/* MAIN CONTENT */
.main-content {
  flex: 1;
  min-width: 0;
}

/* SECTION */
.section {
  margin-bottom: 40px;
}

.section h2 {
  color: var(--accent1);
  margin-bottom: 20px;
  font-weight: 700;
}

/* DATE FILTER */
.date-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.date-filter input {
  width: 180px;
  padding: 10px;
  border: 2px solid var(--accent1);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
}

/* EVENT CARD */
.event-card {
  background: var(--panel);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid #2a2342;
  box-shadow: 0 0 8px rgba(138,43,226,0.3);
  transition: all 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 0 20px var(--accent2);
  transform: translateY(-2px);
}

.event-card.organizer {
  border-left: 4px solid var(--accent2);
}

.event-card h3 {
  margin-top: 0;
  color: var(--accent1);
  font-weight: 700;
  font-size: 1.3rem;
}

.event-card p {
  margin: 8px 0;
  line-height: 1.5;
}

.event-card .category {
  font-weight: 600;
  color: var(--accent2);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent2);
  margin: 10px 0;
}

/* BUTTONS */
.btn {
  background: var(--accent1);
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.btn:hover {
  background: var(--accent2);
  color: black;
  box-shadow: 0 0 15px var(--accent2);
  transform: translateY(-1px);
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.9rem;
  min-width: auto;
}

.btn.small.outline {
  background: transparent;
  border: 2px solid var(--accent1);
  color: var(--accent1);
}

.btn.small.outline:hover {
  background: var(--accent1);
  color: #fff;
}

/* FOOTER */
footer {
  background: var(--panel);
  border-top: 2px solid var(--accent1);
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}

footer a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #2a2342 0%, var(--bg) 100%);
  padding: 80px 30px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 3.2rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-search {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search input {
  padding: 15px 20px;
  border: 2px solid var(--accent1);
  background: var(--panel);
  color: var(--text);
  border-radius: 12px;
  min-width: 220px;
  font-size: 16px;
  transition: all 0.3s;
}

.hero-search input::placeholder {
  color: #b1aaffcc;
}

.hero-search input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 15px rgba(138,43,226,0.5);
  outline: none;
}

.hero-search button {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(138,43,226,0.6);
}

.hero-tags {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tags span {
  padding: 10px 20px;
  border: 2px solid var(--accent1);
  border-radius: 30px;
  background: rgba(138,43,226,0.1);
  font-weight: 600;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.hero-tags span:hover {
  background: var(--accent1);
  color: #fff;
}

/* GRID LAYOUTS */
.event-grid, .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* INFO CARDS */
.card {
  background: var(--panel);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #2a2342;
  text-align: center;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--accent1);
  box-shadow: 0 0 20px rgba(138,43,226,0.4);
}

.card h3 {
  color: var(--accent2);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* CTA ORGANIZER */
.cta-organizer {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, var(--panel), #2a2342);
  border-radius: 20px;
  margin-top: 50px;
  border: 1px solid #2a2342;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cta-organizer h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* NO RESULTS */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #a0a0a0;
}

.no-results p {
  font-size: 1.2rem;
}

/* DASHBOARD STYLES */
.dashboard-tabs {
  background: var(--panel);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid #2a2342;
  box-shadow: 0 0 20px rgba(138,43,226,0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stat-card {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ACTIVITY LIST */
.activity-list {
  background: rgba(138,43,226,0.1);
  border: 1px solid rgba(138,43,226,0.3);
  border-radius: 12px;
  padding: 20px;
  max-width: 650px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
}

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

.activity-item span {
  color: #a0a0a0;
  font-size: 0.9rem;
  font-weight: 400;
}

/* EVENT ACTIONS */
.event-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* STATUS BADGES */
.status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.status.live {
  background: rgba(50,205,50,0.2);
  color: var(--accent2);
  border: 1px solid var(--accent2);
}

/* SCROLLBAR */
.event-grid {
  max-height: 700px;
  overflow-y: auto;
  padding-right: 10px;
}

.event-grid::-webkit-scrollbar {
  width: 6px;
}

.event-grid::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.event-grid::-webkit-scrollbar-thumb {
  background: var(--accent1);
  border-radius: 10px;
}

.event-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .page-layout {
    flex-direction: column;
    padding: 20px;
  }
  
  .sidebar {
    width: 100%;
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 15px;
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding-top: 15px;
  }
  
  .searchbar {
    position: static;
    transform: none;
    width: 100%;
    order: 3;
  }
  
  .navbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-search {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-search input {
    min-width: auto;
  }
  
  .event-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .event-actions {
    flex-direction: column;
  }
}

.fav-btn {
  background: transparent;
  border: 2px solid var(--accent1);
  color: var(--accent1);
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
  margin-bottom: 12px;
}

.fav-btn:hover {
  background: var(--accent1);
  color: #fff;
  box-shadow: 0 0 12px var(--accent1);
}

.fav-btn.active {
  background: var(--accent2);
  border-color: var(--accent2);
  color: black;
}

.fav-btn.active:hover {
  background: crimson;
  border-color: crimson;
  color: #fff;
}
