/* ── Rise X Conclave brand tokens ──────────────────────────── */
:root {
  --neon-cyan: #00f0ff;
  --electric-magenta: #ff00e5;
  --deep-indigo: #120b2e;
  --surface: #111415;
  --surface-dark: #050505;
  --surface-container: #1d2021;
  --surface-container-high: #282a2b;
  --surface-container-highest: #323536;
  --surface-container-lowest: #0c0f10;
  --surface-container-low: #191c1d;
  --surface-variant: #323536;
  --surface-bright: #373a3b;
  --on-surface: #e1e3e4;
  --on-surface-variant: #c1c6d7;
  --outline: #8b90a0;
  --outline-variant: #414755;
  --on-tertiary-fixed-variant: #8b90a0;

  /* aliases used by Tailwind arbitrary values + utilities */
  --color-neon-cyan: #00f0ff;
  --color-electric-magenta: #ff00e5;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #050505;
  color: #e1e3e4;
  overflow-x: hidden;
  font-family: "Chakra Petch", sans-serif;
}

::selection {
  background: rgba(0, 240, 255, 0.3);
}

/* ─── Font role utilities ───────────────────────────────────── */
.font-display-hero,
.font-headline-lg,
.font-headline-md,
.font-body-lg,
.font-body-md,
.font-label-caps,
.font-detail-chip {
  font-family: "Chakra Petch", sans-serif;
}
.text-display-hero-mobile {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* ─── Material symbols ──────────────────────────────────────── */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #00f0ff;
  border-radius: 10px;
}

/* ─── Utility Glows ─────────────────────────────────────────── */
.neon-glow-cyan {
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6), 0 0 24px rgba(0, 240, 255, 0.2);
}
.neon-glow-magenta {
  text-shadow: 0 0 12px rgba(255, 0, 229, 0.6), 0 0 24px rgba(255, 0, 229, 0.2);
}
.glow-cyan {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}
.glow-magenta {
  box-shadow: 0 0 30px rgba(255, 0, 229, 0.25);
}

/* ─── Glass ─────────────────────────────────────────────────── */
.glass-panel {
  background: rgba(17, 20, 21, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Animated gradient border ──────────────────────────────── */
.animated-border {
  position: relative;
}
.animated-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(90deg, #00f0ff, #ff00e5, #00f0ff);
  background-size: 200% auto;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  pointer-events: none;
}
@keyframes borderRotate {
  to {
    background-position: 200% center;
  }
}

/* ─── Gradient text ─────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, #00f0ff, #ff00e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-shimmer {
  background: linear-gradient(90deg, #adc6ff, #00f0ff, #ff00e5, #adc6ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ─── Matrix canvas ─────────────────────────────────────────── */
#matrixSea {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  filter: blur(2px);
  mask-image: radial-gradient(circle at 50% 50%, transparent 20%, black 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 20%, black 100%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Navbar ────────────────────────────────────────────────── */
#topNav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  height: 72px;
  background: rgba(17, 20, 21, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
}
#topNav.scrolled {
  background: rgba(17, 20, 21, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #00f0ff, #ff00e5);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(-50%);
}
.nav-link:hover::after {
  width: 100%;
}

/* ─── Hero animations ───────────────────────────────────────── */
.animate-reveal {
  animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Silhouette bg ─────────────────────────────────────────── */
#silhouette {
  position: fixed;
  right: -8%;
  top: 10%;
  width: 700px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  filter: blur(3px);
  transition: transform 0.8s ease-out;
}

/* ─── Magnetic btn ──────────────────────────────────────────── */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}
.shimmer-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
  pointer-events: none;
  z-index: 5;
}
.magnetic-btn:hover .shimmer-overlay {
  left: 150%;
}

/* ─── Scroll reveal ─────────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Glass card (networking) ───────────────────────────────── */
.glass-card {
  background: rgba(29, 32, 33, 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(139, 144, 160, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}
.glass-card:hover::after {
  left: 150%;
}
.glass-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.12);
  transform: translateY(-6px);
}

/* ─── Glow card (panels) ────────────────────────────────────── */
.glow-card:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.3);
}

/* ─── Atmospheric glow blobs ────────────────────────────────── */
.atmos-glow {
  animation: pulse-glow 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pulse-glow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1) translate(5%, 2%);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.05) translate(-3%, -5%);
    opacity: 0.35;
  }
}
.floating-glow {
  filter: blur(80px);
  opacity: 0.14;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* ─── Btn shimmer ───────────────────────────────────────────── */
.btn-shimmer {
  background: linear-gradient(90deg, #00f0ff, #ff00e5, #00f0ff);
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* ─── Mobile bottom nav ─────────────────────────────────────── */
#mobileBottomNav {
  display: none;
}
@media (max-width: 767px) {
  #mobileBottomNav {
    display: flex;
  }
}

/* ─── Speaker card hover ────────────────────────────────────── */
.speaker-card:hover img {
  filter: grayscale(0) !important;
}
.speaker-card:hover .card-border {
  border-color: rgba(0, 240, 255, 0.6) !important;
}

.py-section-gap {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* ─── Partner marquee ───────────────────────────────────────── */
.marquee-track {
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.marquee-item:hover {
  transform: scale(1.12);
}
.marquee-item:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
