:root {
  --gold: #d4af37;
  --gold-bright: #f4d46a;
  --gold-deep: #8f6b12;
  --ink: #17130a;
  --muted: #5f5640;
  --surface: rgba(255, 253, 247, 0.86);
  --line: rgba(143, 107, 18, 0.22);
  --shadow: 0 28px 80px rgba(84, 65, 18, 0.22);
  --mouse-x: 50%;
  --mouse-y: 50%;
  --network-shift-x: 0px;
  --network-shift-y: 0px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 15%, rgba(244, 212, 106, 0.18), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.14), transparent 32%),
    linear-gradient(135deg, #fffdf6 0%, #f7f1df 48%, #ffffff 100%);
}

.blockchain-bg {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
}

.network-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
  background:
    radial-gradient(circle at 7% 24%, rgba(0, 88, 80, 0.22), transparent 24%),
    radial-gradient(circle at 94% 70%, rgba(0, 88, 80, 0.2), transparent 26%),
    radial-gradient(circle at 50% 96%, rgba(0, 88, 80, 0.1), transparent 30%),
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 132, 110, 0.14), transparent 26%);
  transition: opacity 180ms ease;
}

.network-pattern::before {
  content: none;
}

.circuit-panel {
  position: fixed;
  top: 0;
  z-index: 1;
  width: min(22vw, 360px);
  height: 100svh;
  pointer-events: none;
  opacity: 0.3;
  transform: translate3d(calc(var(--network-shift-x) * 0.35), calc(var(--network-shift-y) * 0.2), 0);
  transition: opacity 180ms ease;
}

.circuit-panel-left {
  left: 0;
}

.circuit-panel-right {
  right: 0;
  transform: translate3d(calc(var(--network-shift-x) * -0.35), calc(var(--network-shift-y) * 0.2), 0);
}

.circuit-lines {
  fill: none;
  stroke: rgba(8, 70, 82, 0.34);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 3px rgba(79, 183, 228, 0.16));
}

.circuit-dots {
  fill: rgba(245, 255, 255, 0.58);
  stroke: rgba(8, 70, 82, 0.34);
  stroke-width: 1.7;
  filter: drop-shadow(0 0 4px rgba(79, 183, 228, 0.22));
}

.circuit-panel .circuit-lines path {
  stroke-dasharray: 240 28;
  animation: circuit-flow 9s linear infinite;
}

.circuit-panel .circuit-dots circle {
  animation: circuit-pulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.circuit-panel .circuit-dots circle:nth-child(2n) {
  animation-delay: 0.7s;
}

.circuit-panel .circuit-dots circle:nth-child(3n) {
  animation-delay: 1.2s;
}

@keyframes circuit-flow {
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes circuit-pulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.82);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.08);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: clamp(16px, 2.1vw, 34px) clamp(18px, 3vw, 56px);
}

.meeting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #161105;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 58%, #b98718);
  box-shadow: 0 16px 34px rgba(143, 107, 18, 0.28);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  white-space: nowrap;
}

.meeting-button:hover,
.meeting-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(143, 107, 18, 0.38);
  filter: saturate(1.08);
  outline: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 0 clamp(14px, 4vw, 72px);
}

.hero-shell {
  position: relative;
  display: block;
  width: min(100%, 1620px);
}

.brand-lockup {
  position: fixed;
  top: clamp(16px, 2.1vw, 34px);
  left: clamp(18px, 3vw, 56px);
  z-index: 10;
  display: grid;
  place-items: center;
  width: min(36vw, 260px);
  min-width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-logo {
  display: block;
  width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.slider {
  position: relative;
  width: min(100%, 1400px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.slides,
.slide {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.014);
  transition: opacity 680ms ease, transform 960ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  background: rgba(255, 255, 255, 0.76);
}

.control,
.fullscreen-toggle {
  position: absolute;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 14px 30px rgba(84, 65, 18, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.control {
  top: 50%;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  border-radius: 50%;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  transform: translateY(-50%);
}

.control-prev {
  left: clamp(10px, 1.6vw, 22px);
}

.control-next {
  right: clamp(10px, 1.6vw, 22px);
}

.fullscreen-toggle {
  top: clamp(10px, 1.4vw, 18px);
  right: clamp(10px, 1.4vw, 18px);
  width: clamp(38px, 4vw, 50px);
  height: clamp(38px, 4vw, 50px);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
}

.control:hover,
.control:focus-visible,
.fullscreen-toggle:hover,
.fullscreen-toggle:focus-visible {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(212, 175, 55, 0.72);
  background: rgba(255, 255, 255, 0.94);
  outline: none;
}

.fullscreen-toggle:hover,
.fullscreen-toggle:focus-visible {
  transform: scale(1.04);
}

.collapse-label,
.slider.is-fullscreen .expand-label,
.slider:fullscreen .expand-label {
  display: none;
}

.slider.is-fullscreen .collapse-label,
.slider:fullscreen .collapse-label {
  display: inline;
}

.slider-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(10px, 1.5vw, 18px);
  background: linear-gradient(180deg, transparent, rgba(20, 16, 7, 0.4));
}

.slide-counter {
  min-width: 76px;
  color: #fffdf7;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  max-width: min(68%, 680px);
  overflow: hidden;
}

.dot {
  width: clamp(7px, 0.8vw, 10px);
  height: clamp(7px, 0.8vw, 10px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, width 160ms ease;
}

.dot.is-active {
  width: clamp(20px, 2.4vw, 34px);
  border-radius: 999px;
  background: var(--gold-bright);
}

.slider.is-fullscreen,
.slider:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
  border: 0;
  background: #fffdf7;
}

.slider.is-fullscreen .slide img,
.slider:fullscreen .slide img {
  background: #fffdf7;
}

.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;
}

@media (max-width: 760px) {
  .site-header {
    justify-content: center;
    padding-top: 14px;
  }

  .meeting-button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 76px 12px 16px;
  }

  .brand-lockup {
    top: 72px;
    left: 50%;
    width: min(54vw, 210px);
    min-width: 132px;
    transform: translateX(-50%);
  }

  .slider {
    width: 100%;
    max-height: calc(100svh - 160px);
  }

  .dots {
    gap: 5px;
    max-width: 64%;
  }
}

@media (max-width: 1640px), (max-height: 920px) {
  .hero {
    padding-top: 116px;
    padding-bottom: 28px;
  }

  .slider {
    width: min(100%, 1400px, calc((100svh - 158px) * 16 / 9));
    max-height: calc(100svh - 158px);
  }
}

@media (max-width: 980px) {
  .site-header {
    justify-content: center;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 22px;
  }

  .slider {
    width: min(100%, calc((100svh - 176px) * 16 / 9));
    max-height: calc(100svh - 176px);
  }
}

@media (max-width: 480px) {
  .control {
    width: 34px;
    height: 34px;
    font-size: 1.8rem;
  }

  .fullscreen-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .slide-counter {
    min-width: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
