html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .lc-feature:hover {
    transform: none;
  }

  .lc-hero-cta-primary:hover,
  .lc-hero-cta-ghost:hover {
    transform: none;
  }
}

.lc-page {
  background-color: #050508;
}

.lc-brand-wordmark {
  font-family: 'Bungee', system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.35rem + 1.6vw, 1.125rem);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: linear-gradient(100deg, #fef08a 0%, #fbbf24 35%, #f472b6 72%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 12px rgba(232, 121, 249, 0.35));
}

.group:hover .lc-brand-wordmark {
  filter: drop-shadow(0 2px 16px rgba(250, 204, 21, 0.35));
}

.lc-hero {
  isolation: isolate;
}

#dynmap-root {
  --dynmap-scale: 0.12;
  --dynmap-max-vw: 95vw;
  max-width: calc(70vw + var(--dynmap-scale) * (var(--dynmap-max-vw) - 70vw));
  width: calc(100% + var(--dynmap-scale) * (var(--dynmap-max-vw) - 100%));
  transition:
    max-width 0.2s ease,
    width 0.2s ease,
    margin 0.2s ease;
}

@media (max-width: 767.98px) {
  #dynmap-root {
    --dynmap-max-vw: 80vw;
  }
}

iframe.lc-dynmap-iframe {
  display: block;
  width: 100%;
  border: 0;
  height: min(calc(48vh + var(--dynmap-scale) * 52vh), calc(36rem + var(--dynmap-scale) * 64rem));
  transition: height 0.2s ease;
}

.lc-dynmap-size-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.lc-dynmap-size-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  margin: 0;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.lc-dynmap-size-slider:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.55);
  outline-offset: 3px;
}

.lc-dynmap-size-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lc-dynmap-size-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #d946ef 100%);
  box-shadow: 0 0 0 2px rgba(5, 5, 8, 0.9);
  cursor: grab;
}

.lc-dynmap-size-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.lc-dynmap-size-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lc-dynmap-size-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #d946ef 100%);
  box-shadow: 0 0 0 2px rgba(5, 5, 8, 0.9);
  cursor: grab;
}

.lc-dynmap-size-slider:active::-moz-range-thumb {
  cursor: grabbing;
}

.lc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 65% at 0% -5%, rgba(147, 51, 234, 0.22), transparent 52%),
    radial-gradient(ellipse 75% 55% at 100% 0%, rgba(219, 39, 119, 0.14), transparent 48%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(245, 158, 11, 0.06), transparent 55%);
}

.lc-hero > * {
  position: relative;
  z-index: 1;
}

.lc-hero-card-outer {
  margin: 0;
  width: 100%;
  max-width: min(26rem, 100%);
  padding: 0.65rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(30, 27, 45, 0.55) 0%, rgba(12, 12, 20, 0.75) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 32px 64px -20px rgba(0, 0, 0, 0.85),
    0 16px 40px -16px rgba(88, 28, 135, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lc-hero-card-inner {
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a10;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 2px 12px rgba(0, 0, 0, 0.4);
}

.lc-hero-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.lc-hero-cta-primary {
  border-radius: 9999px;
  background: linear-gradient(115deg, #fde047 0%, #fbbf24 28%, #f59e0b 52%, #e879f9 108%);
  color: #0a0a0f;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 4px 20px rgba(250, 204, 21, 0.45),
    0 14px 40px -8px rgba(232, 121, 249, 0.4),
    0 24px 48px -16px rgba(245, 158, 11, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-hero-cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 8px 28px rgba(250, 204, 21, 0.55),
    0 20px 48px -10px rgba(232, 121, 249, 0.5);
}

.lc-hero-cta-ghost {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.lc-hero-cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.lc-bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 20%, transparent 70%);
}

.lc-noise {
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.lc-aurora {
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(168, 85, 247, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 30%, rgba(236, 72, 153, 0.12), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 60%, rgba(245, 158, 11, 0.08), transparent 50%);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.glass-strong {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px -24px rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.lc-nav-pill {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 18, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.lc-nav-link {
  border-radius: 9999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.85);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.lc-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lc-nav-link[aria-current='page'] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25);
}

@media (max-width: 767.98px) {
  .lc-nav-mobile {
    border-radius: 1rem;
  }
}

#nav-menu-toggle.is-open {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
}

.lc-btn-primary {
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d946ef 130%);
  color: #0a0a0f;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 4px 24px rgba(245, 158, 11, 0.35),
    0 12px 48px -12px rgba(168, 85, 247, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 8px 32px rgba(245, 158, 11, 0.45),
    0 16px 56px -12px rgba(168, 85, 247, 0.45);
}

.lc-btn-ghost {
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-weight: 600;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.lc-btn-ghost:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.lc-gradient-text {
  text-shadow:
    0 0 100px rgba(168, 85, 247, 0.45),
    0 0 60px rgba(245, 158, 11, 0.2);
}

.lc-hero-title-line {
  letter-spacing: -0.03em;
}

.lc-feature {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.lc-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow:
    0 32px 64px -28px rgba(0, 0, 0, 0.85),
    0 0 40px -12px rgba(168, 85, 247, 0.15);
}

.reveal {
  transform: translateY(1.5rem);
  opacity: 0;
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 639.98px) {
  .reveal:not(.is-visible) {
    transform: translateY(0.65rem);
  }
}

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

.team-rank-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 14, 0.85);
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .team-card {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }
}

.team-card:focus-within {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.team-card--owner {
  border-left: 4px solid #dc2626;
}

.team-card--admin {
  border-left: 4px solid #166534;
}

.team-card--dev {
  border-left: 4px solid #a855f7;
}

.team-card__skin {
  flex-shrink: 0;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  border-radius: 0.875rem;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px) {
  .team-card__skin {
    margin: 0;
    width: 8.5rem;
    height: 8.5rem;
  }
}

.team-card__skin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  image-rendering: auto;
  padding: 10px;
}

.team-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card__badge {
  display: inline-block;
  width: fit-content;
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card--owner .team-card__badge {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.team-card--admin .team-card__badge {
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.35);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.team-card--dev .team-card__badge {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.team-card__name {
  margin-top: 0.5rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  line-height: 1.2;
}

.team-card__bio {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .team-card {
    transition: none;
  }
}

.lc-feature-strip {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lc-feature-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .lc-feature-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lc-feature-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lc-feature-strip__card-bg {
  background: #07070c;
}

.lc-feature-strip__card {
  position: relative;
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.75rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .lc-feature-strip__card {
    min-height: 15rem;
    padding: 2rem 1.25rem;
  }
}

.lc-feature-strip__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
}

.lc-feature-strip__bg img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: blur(3px);
}

@media (prefers-reduced-motion: reduce) {
  .lc-feature-strip__bg img {
    filter: blur(1px);
    transform: none;
  }
}

.lc-feature-strip__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.lc-feature-strip__inner {
  position: relative;
  z-index: 1;
  max-width: 12rem;
}

.lc-feature-strip__sub {
  font-size: 0.65rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .lc-feature-strip__sub {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }
}

.lc-feature-strip__title {
  margin-top: 0.65rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.85),
    0 1px 4px rgba(0, 0, 0, 0.95);
}

@media (min-width: 640px) {
  .lc-feature-strip__title {
    font-size: 1.75rem;
  }
}

.lc-feature-strip__title-line {
  display: block;
}
