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

:root {
  --bg: #060300;
  --bg-2: #0c0800;
  --bg-card: rgba(234, 88, 12, 0.07);
  --border: rgba(234, 88, 12, 0.22);
  --border-bright: rgba(251, 146, 60, 0.45);
  --violet: #ea580c;
  --violet-light: #fb923c;
  --fuchsia: #f97316;
  --fuchsia-bright: #fdba74;
  --lime: #a3e635;
  --text: #fff7ed;
  --text-muted: rgba(255, 247, 237, 0.72);
  --text-dim: rgba(255, 247, 237, 0.5);
  --nav-bg: rgba(6, 3, 0, 0.78);
  --font-sans: 'Instrument Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Bricolage Grotesque', var(--font-sans);
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html.light {
  --bg: #fff7ed;
  --bg-2: #ffedd5;
  --bg-card: rgba(234, 88, 12, 0.06);
  --border: rgba(194, 65, 12, 0.18);
  --border-bright: rgba(194, 65, 12, 0.42);
  --violet: #ea580c;
  --violet-light: #c2410c;
  --fuchsia: #d97706;
  --fuchsia-bright: #b45309;
  --lime: #65a30d;
  --text: #431407;
  --text-muted: rgba(67, 20, 7, 0.65);
  --text-dim: rgba(67, 20, 7, 0.40);
  --nav-bg: rgba(255, 247, 237, 0.88);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(234, 88, 12, 0.28), transparent 60%),
    radial-gradient(900px 700px at 85% 15%, rgba(249, 115, 22, 0.18), transparent 55%),
    radial-gradient(700px 700px at 50% 105%, rgba(251, 146, 60, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

/* Scanlines removed (was creating striped background) */
body::after {
  content: '';
  display: none;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* --- SCREEN READER ONLY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- CURSOR --- */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--fuchsia-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.12s ease, background 0.2s;
  mix-blend-mode: screen;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
}

/* Light mode: screen blend washes the dot out on pale backgrounds */
html.light .cursor {
  mix-blend-mode: normal;
  background: var(--violet);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.35), 0 2px 12px rgba(234, 88, 12, 0.35);
}

html.light .cursor-glow {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.16) 0%, transparent 72%);
}

/* --- NAV --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--fuchsia-bright);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--lime);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  padding: 0.01rem 0.7rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: none;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.theme-toggle:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.5rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: none;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid var(--fuchsia);
  color: var(--fuchsia-bright);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fuchsia);
  transform: translateX(-100%);
  transition: transform 0.2s ease;
  z-index: -1;
}

.nav-cta:hover::before {
  transform: translateX(0);
}

.nav-cta:hover {
  color: var(--bg);
}

/* --- SHARED --- */
main {
  position: relative;
  z-index: 10;
}

section {
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fuchsia-bright);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-label::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--fuchsia-bright);
}

.section-label--center {
  justify-content: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Transition-delay utilities (for staggered reveals) */
.delay-1 {
  transition-delay: 0.10s;
}

.delay-15 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.20s;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes flashVibe {

  0%,
  100% {
    color: #fb923c;
  }

  50% {
    color: #fff7ed;
  }
}

html.light .hero-headline .line-2 {
  animation-name: flashVibeLight;
}

@keyframes flashVibeLight {

  0%,
  100% {
    color: #ea580c;
  }

  50% {
    color: #c2410c;
  }
}

@keyframes glitch-1 {

  0%,
  88%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  90% {
    transform: translate(-3px, 2px);
    opacity: 1;
  }

  93% {
    transform: translate(3px, -2px);
    opacity: 1;
  }

  96% {
    transform: translate(0);
    opacity: 0;
  }
}

@keyframes glitch-2 {

  0%,
  88%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  91% {
    transform: translate(3px, 1px);
    opacity: 1;
  }

  94% {
    transform: translate(-3px, -1px);
    opacity: 1;
  }

  97% {
    transform: translate(0);
    opacity: 0;
  }
}

/* --- HERO --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 0 6rem;
}

.hero-layout {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 0 3rem;
}

.hero-inner {
  max-width: 650px;
  margin: 0;
  padding: 0;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--lime);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-headline .line-1 {
  display: block;
  color: var(--text);
}

.hero-headline .line-2 {
  display: block;
  font-style: italic;
  position: relative;
  animation: flashVibe 2s ease-in-out infinite;
}

.hero-headline .line-3 {
  display: block;
  color: var(--text);
}

/* Glitch on line-2 */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: inherit;
}

.glitch::before {
  animation: glitch-1 5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
  animation: glitch-2 5s infinite;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-sub .typewriter {
  color: var(--fuchsia-bright);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #9a3412, #c2410c);
  color: #fff7ed;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(194, 65, 12, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c2410c, #ea580c);
  box-shadow: 0 0 55px rgba(234, 88, 12, 0.5);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

.btn-secondary--mt {
  display: inline-block;
  margin-top: 1.25rem;
}

.hero-stats {
  margin-top: 6rem;
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 160px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  /* Same vertical slot for big numbers, dates, or symbols so labels line up */
  min-height: 2.85rem;
  display: flex;
  align-items: center;
}

.stat-num span {
  color: var(--fuchsia-bright);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --- ABOUT --- */
#about {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-heading em {
  font-style: italic;
  color: var(--violet-light);
}

.about-body {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* Terminal */
.terminal-window {
  background: var(--bg-2);
  border: 1px solid var(--border);
  /*  border-radius: 8px; */
  overflow: hidden;
  box-shadow: 0 0 80px rgba(234, 88, 12, 0.2), 0 0 0 1px rgba(234, 88, 12, 0.1);
}

.terminal-bar {
  background: rgba(234, 88, 12, 0.12);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r {
  background: #ff5f57;
}

.dot-y {
  background: #febc2e;
}

.dot-g {
  background: #28c840;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.85;
}

.t-dim {
  color: var(--text-dim);
}

.t-violet {
  color: var(--violet-light);
}

.t-fuchsia {
  color: var(--fuchsia-bright);
}

.t-lime {
  color: var(--lime);
}

.t-text {
  color: var(--text);
}

.t-muted {
  color: var(--text-muted);
}

.t-mt {
  margin-top: 0.5rem;
}

.cursor-blink {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--lime);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

/* --- EVENTS --- */
#events {
  padding: 0 0 8rem;
  background: linear-gradient(180deg, transparent, rgba(234, 88, 12, 0.04) 50%, transparent);
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.events-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--fuchsia));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(234, 88, 12, 0.15);
}

.event-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(249, 115, 22, 0.07));
  border-color: rgba(251, 146, 60, 0.3);
}

.event-card.featured::before {
  transform: scaleX(1);
}


.event-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fuchsia-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-date::before {
  content: '◆';
  font-size: 0.45rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.event-card.featured .event-title {
  font-size: 1.75rem;
}

.event-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.event-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* Events countdown card (React-style equivalent for this static site) */
.event-countdown {
  padding: 0;
  overflow: hidden;
}

.event-countdown-image {
  height: 170px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 100%),
    url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1200&h=700&fit=crop&auto=format') center/cover no-repeat;
}

.event-countdown-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.event-countdown-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.event-countdown-label {
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.event-countdown-unit {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  /*  border-radius: 8px; */
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.event-countdown-unit strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.event-countdown-unit span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-countdown-unit strong.pulse {
  animation: countdownPulse 1s ease-in-out;
}

@keyframes countdownPulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  40% {
    transform: scale(1.16);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.event-countdown-btn {
  width: 100%;
  border: 1px solid transparent;
  /*  border-radius: 8px; */
  height: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #fff7ed;
  background: linear-gradient(90deg, #9a3412, #c2410c);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(154, 52, 18, 0.3);
}

.event-countdown-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #c2410c, #ea580c);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.4);
}

/* --- FEATURES / BENTO --- */
#features {
  padding: 8rem 0;
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.bento-item:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 40px rgba(234, 88, 12, 0.1);
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: block;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bento-body {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.glow-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15), transparent);
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}

.glow-orb--fuchsia {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent);
}

/* --- SIGNUP --- */
#signup {
  padding: 8rem 0;
}

.signup-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.signup-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.signup-heading em {
  font-style: italic;
  background: linear-gradient(135deg, var(--violet-light), var(--fuchsia-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signup-sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.signup-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.signup-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.signup-form input:focus {
  border-color: var(--violet-light);
}

.signup-form button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #9a3412, #c2410c);
  border: none;
  color: #fff7ed;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: none;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.signup-form button:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  box-shadow: 0 0 30px rgba(234, 88, 12, 0.45);
}

.signup-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.success-msg {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--lime);
  padding: 1rem;
  border: 1px solid rgba(163, 230, 53, 0.3);
  max-width: 500px;
  margin: 1rem auto 1.5rem;
}

/* --- FOOTER --- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-logo span {
  color: var(--fuchsia-bright);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-muted);
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* --- HERO ILLUSTRATION --- */
.hero-image-wrap {
  flex: 0 0 auto;
  pointer-events: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .container,
  .hero-layout {
    padding: 0 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card.featured {
    grid-column: span 1;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item.wide {
    grid-column: span 1;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: nowrap;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

}

@media (max-width: 640px) {
  .hero-stats {
    flex-wrap: wrap;
  }
}