/* ===== Design tokens ===== */
:root {
  --bg: #0f1020;
  --bg-soft: #171933;
  --surface: #1f2147;
  --text: #f5f5fa;
  --muted: #aab;
  --accent: #ff5d8f;
  --accent-2: #6c5ce7;
  --radius: 14px;
  --max-width: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Base ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 16, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}
.brand-name { font-size: 1.15rem; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(108, 92, 231, 0.35), transparent),
    radial-gradient(900px 500px at 10% 10%, rgba(255, 93, 143, 0.25), transparent);
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}
.hero-inner { display: grid; place-items: center; }
.hero-logo {
  width: clamp(140px, 30vw, 220px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45));
}
.tagline { font-size: 1.25rem; color: var(--muted); max-width: 50ch; }
.hero-video {
  width: 100%;
  max-width: 640px;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s ease, opacity 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: var(--text); }

/* ===== Sections ===== */
.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section-muted { background: var(--bg-soft); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* ===== Events ===== */
.events { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.event-date {
  display: grid;
  place-items: center;
  min-width: 64px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}
.event-date .day { font-size: 1.4rem; }
.event-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.event-info h3 { margin: 0; font-size: 1.15rem; }
.event-info p { margin: 0; color: var(--muted); }

/* ===== Form ===== */
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input,
.field textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 1px;
}
/* Honeypot — hidden from real users, visible to bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}
.footer-contact p { margin: 0; }
.social-link { display: inline-flex; align-items: center; gap: 0.4rem; }
.social-icon { flex-shrink: 0; }
.copyright { text-align: center; color: var(--muted); margin: 1.5rem 0 0; font-size: 0.9rem; }

/* ===== Responsive nav ===== */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { padding: 0.25rem 1.25rem; }
  .nav-links li:first-child { padding-top: 1rem; }
  .nav-links li:last-child { padding-bottom: 1rem; }
}
