/* ══════════════════════════════════════════
   DarkUI — One Page Site
   style.css
   ══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-base:        rgb(10, 10, 14);
  --bg-surface:     rgb(16, 16, 22);
  --bg-elevated:    rgb(22, 22, 32);
  --bg-overlay:     rgb(30, 30, 44);
  --accent-cyan:    rgb(0, 229, 255);
  --accent-violet:  rgb(138, 43, 226);
  --accent-rose:    rgb(255, 60, 100);
  --accent-amber:   rgb(255, 180, 0);
  --text-primary:   rgb(230, 230, 240);
  --text-secondary: rgb(140, 140, 165);
  --text-muted:     rgb(70, 70, 95);
  --border:         rgb(38, 38, 58);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Mono', monospace;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   TOP NAVBAR
   ══════════════════════════════════════════ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: rgba(10, 10, 14, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.top-nav.scrolled {
  background: rgba(10, 10, 14, 0.92);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}
.nav-logo span { color: var(--accent-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
  border-color: rgba(0,229,255,0.2);
  background: rgba(0,229,255,0.05);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: rgba(10,10,14,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.mobile-menu.open {
  max-height: 400px;
  padding: 20px 24px 28px;
}
.mob-link {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--accent-cyan); }

/* ══════════════════════════════════════════
   LEFT SOCIAL BAR
   ══════════════════════════════════════════ */
.social-bar {
  position: fixed;
  left: 20px;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.social-link {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, transform 0.2s, background 0.2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  transform: translateX(3px);
}
.social-line {
  width: 1px;
  height: 80px;
  margin-top: 6px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* ══════════════════════════════════════════
   RIGHT DOT NAV
   ══════════════════════════════════════════ */
.dot-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.dot-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  text-decoration: none;
}

/* tooltip */
.dot-item::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(10,10,14,0.92);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.dot-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  border: 1px solid transparent;
  transition: width 0.25s, height 0.25s, background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.dot-item:hover .dot,
.dot-item.active .dot {
  width: 11px; height: 11px;
  background: var(--accent-cyan);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 12px rgba(0,229,255,0.55);
}

/* ══════════════════════════════════════════
   SECTIONS — FULL HEIGHT
   ══════════════════════════════════════════ */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-base);
}
.section-alt {
  background: var(--bg-surface);
}

.section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 60px 80px 80px;
}

/* ── Mesh backgrounds ── */
.bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(0,229,255,0.07)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(138,43,226,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%,rgba(255,60,100,0.05)  0%, transparent 60%);
  animation: meshShift 16s ease-in-out infinite alternate;
}
.mesh-violet {
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(138,43,226,0.1)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0,229,255,0.06)  0%, transparent 60%);
}
.mesh-rose {
  background:
    radial-gradient(ellipse 70% 55% at 20% 20%, rgba(255,60,100,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(138,43,226,0.07) 0%, transparent 60%);
}
@keyframes meshShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(25deg); }
}

/* ── Section labels ── */
.section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-heading span { color: var(--accent-cyan); }
.section-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
.hero-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.hero-title .c1 { color: var(--accent-cyan); }
.hero-title .c2 { color: var(--accent-violet); }
.hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border-radius: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--accent-cyan);
  color: rgb(10,10,14);
}
.btn-primary:hover {
  background: rgb(80,240,255);
  box-shadow: 0 0 22px rgba(0,229,255,0.4), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 14px rgba(0,229,255,0.1), 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   BACKGROUND SWATCHES
   ══════════════════════════════════════════ */
.bg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.bg-swatch {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}
.bg-swatch:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.3);
}
.swatch-preview { height: 80px; width: 100%; }
.swatch-info {
  background: var(--bg-surface);
  padding: 10px 12px;
}
.swatch-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.swatch-rgb { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; }

/* ══════════════════════════════════════════
   ACCENT CARDS
   ══════════════════════════════════════════ */
.accent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.accent-card {
  border-radius: 12px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s;
  cursor: default;
  background: rgb(16,16,22);
}
.accent-card:hover { transform: translateY(-4px); }
.accent-card::before { content: ''; position: absolute; inset: 0; opacity: 0.08; }

.accent-card.cyan  { border-color: rgba(0,229,255,0.25); }
.accent-card.cyan::before { background: rgb(0,229,255); }
.accent-card.cyan .accent-dot { background: rgb(0,229,255); box-shadow: 0 0 18px rgba(0,229,255,0.5); }

.accent-card.violet { border-color: rgba(138,43,226,0.25); }
.accent-card.violet::before { background: rgb(138,43,226); }
.accent-card.violet .accent-dot { background: rgb(138,43,226); box-shadow: 0 0 18px rgba(138,43,226,0.5); }

.accent-card.rose { border-color: rgba(255,60,100,0.25); }
.accent-card.rose::before { background: rgb(255,60,100); }
.accent-card.rose .accent-dot { background: rgb(255,60,100); box-shadow: 0 0 18px rgba(255,60,100,0.5); }

.accent-card.amber { border-color: rgba(255,180,0,0.25); }
.accent-card.amber::before { background: rgb(255,180,0); }
.accent-card.amber .accent-dot { background: rgb(255,180,0); box-shadow: 0 0 18px rgba(255,180,0,0.5); }

.accent-dot { width: 36px; height: 36px; border-radius: 50%; position: relative; z-index: 1; }
.accent-label {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative; z-index: 1;
}
.accent-rgb { font-size: 10px; color: var(--text-secondary); letter-spacing: 0.07em; position: relative; z-index: 1; }
.accent-role { font-size: 10px; color: var(--text-muted); position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   TEXT PALETTE ROWS
   ══════════════════════════════════════════ */
.text-palette { display: flex; flex-direction: column; gap: 10px; }
.text-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}
.text-role { font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.text-sample { font-size: 13px; }
.text-code { font-size: 10px; color: var(--text-muted); white-space: nowrap; }

/* ══════════════════════════════════════════
   PREVIEW CARD
   ══════════════════════════════════════════ */
.preview-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  max-width: 680px;
}
.preview-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
}
.preview-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.preview-heading {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.preview-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════
   TWO COLUMN — 70% / 30%
   ══════════════════════════════════════════ */
.two-col-section {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 32px;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: visible;
}
.two-col-section::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,43,226,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.col-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.col-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}
.col-heading span { color: var(--accent-cyan); }
.col-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.col-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

/* Image bleeds out of card */
.col-image {
  width: calc(100% + 48px);
  margin-right: -48px;
  margin-top: -56px;
  margin-bottom: -56px;
  aspect-ratio: 3 / 4;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 12px 0 48px rgba(0,0,0,0.6), -4px 0 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,229,255,0.1);
}
.col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ══════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.contact-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-value { font-size: 13px; color: var(--text-primary); }

.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social-pill {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-pill:hover {
  color: var(--accent-cyan);
  border-color: rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.05);
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.form-textarea { min-height: 110px; resize: vertical; }

/* Footer bar */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
}
.back-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.back-top:hover { color: var(--accent-cyan); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .section-inner { padding: 90px 40px 60px 40px; }
  .hero-scroll-hint { left: 40px; }
}

@media (max-width: 768px) {
  .social-bar { display: none; }
  .dot-nav    { display: none; }
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .top-nav    { padding: 0 20px; }

  .section-inner { padding: 80px 20px 60px 20px; }
  .hero-scroll-hint { left: 20px; }

  .two-col-section {
    grid-template-columns: 1fr;
    padding: 24px;
    overflow: hidden;
  }
  .col-image {
    width: calc(100% + 48px);
    margin: 0 -24px -24px -24px;
    aspect-ratio: unset;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
  }
  .col-image img { width: 100%; height: auto; object-fit: unset; }

  .contact-grid { grid-template-columns: 1fr; }
  .text-row { grid-template-columns: 100px 1fr; }
  .text-code { display: none; }
}

/* ══════════════════════════════════════════
   EVENTS SECTION
   ══════════════════════════════════════════ */
.events-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Event Card ── */
.event-card {
  display: grid;
  grid-template-columns: 72px 1px 1fr auto auto;
  align-items: center;
  gap: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s, background 0.25s;
}
.event-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent-cyan);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 3px 0 0 3px;
}
.event-card:hover {
  border-color: rgba(0,229,255,0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: var(--bg-overlay);
}
.event-card:hover::before { opacity: 1; }

/* TODAY highlight */
.event-card.today {
  border-color: rgba(0,229,255,0.5);
  background: rgba(0,229,255,0.04);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.2), 0 8px 40px rgba(0,229,255,0.08);
}
.event-card.today::before { opacity: 1; }

/* PAST style */
.event-card.past {
  opacity: 0.5;
  filter: grayscale(0.4);
}
.event-card.past:hover {
  opacity: 0.75;
  filter: grayscale(0.1);
}

/* Date column */
.card-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
}
.card-day {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--text-primary);
  transition: color 0.2s;
}
.event-card:hover .card-day,
.event-card.today .card-day { color: var(--accent-cyan); }
.card-month {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Divider */
.card-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Card content */
.card-content { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-dot-sep { color: var(--border); }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Tags */
.tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.18);
  padding: 3px 9px;
  border-radius: 100px;
}
.event-card.past .tag { color: var(--text-muted); background: transparent; border-color: var(--border); }

/* TODAY badge */
.today-badge {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--bg-base);
  background: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
  white-space: nowrap;
  animation: todayPulse 2.4s ease-in-out infinite;
}
@keyframes todayPulse {
  0%,100% { box-shadow: 0 0 0 0   rgba(0,229,255,0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(0,229,255,0);   }
}

/* Arrow */
.card-arrow {
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.event-card:hover .card-arrow {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

/* No events */
.no-events {
  font-size: 13px;
  color: var(--text-muted);
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
}

/* Past events block */
.past-events-block { display: none; }
.past-events-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.past-events-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ══════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,255,0.08);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--accent-rose);
  border-color: rgba(255,60,100,0.3);
  background: rgba(255,60,100,0.06);
}

.modal-date-badge {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 20px;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.modal-cta { width: 100%; justify-content: center; }

/* ── Responsive events ── */
@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 52px 1px 1fr auto;
    gap: 14px;
    padding: 16px;
  }
  .today-badge { display: none; }
  .card-day { font-size: 24px; }
  .card-title { font-size: 13px; white-space: normal; }
  .modal { padding: 28px 20px; }
  .modal-title { font-size: 20px; }
}

/* ══════════════════════════════════════════
   SPONSORS MARQUEE SECTION
   ══════════════════════════════════════════ */

/* ── Sponsors section layout ── */
#sponsors {
  flex-direction: column;
  align-items: stretch;
  min-height: unset;
  padding: 60px 0 60px;
}

.sponsors-header {
  width: 100%;
  text-align: center;
  padding: 0 60px 40px;
  flex-shrink: 0;
}
.sponsors-header .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;  /* elimină spațiul extra de sub subtitlu */
}

/* ── Marquee — un singur rând, dreapta → stânga ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRTL 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-inner {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

/* ── Sponsor Card ── */
.sp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 24px;
  text-decoration: none;
  min-width: 150px;
  max-width: 180px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}

.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.sp-card.tier-gold   { border-color: rgba(255,180,0,0.25); }
.sp-card.tier-gold:hover { border-color: rgba(255,180,0,0.5); box-shadow: 0 12px 32px rgba(255,180,0,0.1); }

.sp-card.tier-silver { border-color: rgba(140,140,165,0.25); }
.sp-card.tier-silver:hover { border-color: rgba(140,140,165,0.5); }

.sp-card.tier-bronze { border-color: rgba(205,127,50,0.25); }
.sp-card.tier-bronze:hover { border-color: rgba(205,127,50,0.5); }

.sp-card.tier-partner { border-color: rgba(0,229,255,0.15); }
.sp-card.tier-partner:hover { border-color: rgba(0,229,255,0.35); }

.sp-logo-wrap {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-logo {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(0.3) brightness(1.1);
  transition: filter 0.2s;
}
.sp-card:hover .sp-logo {
  filter: grayscale(0) brightness(1.2);
}

.sp-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
}

.sp-name {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: color 0.2s;
}
.sp-card:hover .sp-name { color: var(--text-primary); }

/* ══════════════════════════════════════════
   COUNTDOWN SECTION
   ══════════════════════════════════════════ */
.countdown-inner {
  text-align: center;
}
.countdown-inner .section-heading {
  font-size: clamp(26px, 4vw, 44px);
  margin-bottom: 12px;
}
.countdown-inner .section-sub {
  margin: 0 auto 40px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 110px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cd-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.04) 0%, transparent 60%);
}

.cd-block:hover {
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 8px 32px rgba(0,229,255,0.08);
}

.cd-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--accent-cyan);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  transition: transform 0.15s ease;
}

.cd-lbl {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.cd-sep {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  user-select: none;
}

.cd-expired {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 36px);
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 20px;
  animation: cdPulse 2s ease-in-out infinite;
}

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

.cd-target-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .cd-block {
    min-width: 72px;
    padding: 16px 14px;
  }
  .cd-sep {
    font-size: 24px;
    margin-bottom: 16px;
  }
}
