:root {
  --bg: #212026;
  --panel: #2a2931;
  --panel-2: #31303a;
  --border: #3c3a45;
  --text: #ffffff;
  --muted: #cfcfcf;
  --accent: #f15f0a;
  --accent-soft: rgba(241, 95, 10, 0.18);
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(33,32,38,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-logo {
  width: 42px; height: 42px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel);
  flex-shrink: 0;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-title { font-weight: 700; font-size: 15px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-links a { 
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; border: 1px solid transparent;
  transition: 0.18s ease; 
}
.nav-links a:hover { 
  border-color: rgba(241,95,10,0.5); background: rgba(241,95,10,0.08); 
}

.admin-btn {
  font-weight: 700;
  background: var(--panel);
  color: #fff;
  border-radius: 16px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  transition: 0.2s ease;
}

.admin-btn:hover {
  background: linear-gradient(90deg, #e90100 0%, #212026 100%);
  border-color: rgba(233, 1, 0, 0.5);
}

.hero {
  margin-top: 28px; background: var(--panel); border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow);
}

.brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.logo { width: 90px; height: 90px; border-radius: 18px; overflow: hidden; border:1px solid var(--border); background: var(--panel-2); flex-shrink:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { min-width: 0; }
h1 { margin:0; font-size:34px; line-height:1.15; font-weight:800; letter-spacing:-0.02em;}
.subtitle { margin: 8px 0 0; color: var(--muted); font-size:16px; }

.panel { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }

.event-details p a.map-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a2931 0%, #27262d 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-right: 8px;
  border: 1px solid var(--border);
  transition: 0.2s ease;
}

.event-details p a.map-btn:hover {
  background: linear-gradient(0deg, #e90100 0%, #212026 100%);
  border-color: #e90100;
  box-shadow: 0 6px 14px rgba(233, 1, 0, 0.25);
}

.calendar-actions { margin-top:24px; display:flex; flex-wrap:wrap; gap:12px; }
.calendar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2a2931 0%, #27262d 100%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: 0.2s ease;
  backdrop-filter: blur(0);
}

.calendar-btn img {
  width: 25px;
  height: 25px;
}

.calendar-btn:hover {
  background: linear-gradient(0deg, #e90100 0%, #212026 100%);
  border-color: #e90100;
  box-shadow: 0 6px 14px rgba(233, 1, 0, 0.32);
}

.footer { margin-top:24px; text-align:center; color:var(--muted); font-size:14px; padding:8px 0; }

@media (max-width:700px) {
  .hero { padding:24px; }
  h1 { font-size:28px; }
  .subtitle { font-size:15px; }
  .nav-title { white-space: normal; }
}
