:root {
  --bg: #100D0A;
  --bg-2: #17120D;
  --surface: #1C1611;
  --surface-2: #221B14;
  --line: rgba(243, 239, 232, 0.09);
  --text: #F3EFE8;
  --text-dim: #A79C8C;
  --text-faint: #6E6558;
  --copper: #C6813E;
  --copper-bright: #E2A05C;
  --slate: #7C93A0;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {}
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

#root {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 700px at 20% 15%, rgba(198, 129, 62, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 600px at 85% 80%, rgba(124, 147, 160, 0.12), transparent 55%),
    var(--bg);
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    background-position: 0% 0%, 0% 0%;
  }

  100% {
    background-position: 6% 4%, -5% -6%;
  }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 75%);
}

.noise-edge {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.65);
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--copper-bright);
  font-weight: 500;
  margin: 0 0 14px 0;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: 0.05s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 10px 2px rgba(226, 160, 92, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

h1 {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.02;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: 0.15s;
}

.role {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 0 36px 0;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: 0.28s;
}

.role b {
  color: var(--text);
  font-weight: 600;
}

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

.link-row {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) forwards;
}

.link-row:nth-child(1) {
  animation-delay: 0.42s;
}

.link-row:nth-child(2) {
  animation-delay: 0.54s;
}

.link-row:nth-child(3) {
  animation-delay: 0.66s;
}

a.panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

a.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color, var(--copper));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}

a.panel:hover {
  transform: translateX(4px);
  border-color: rgba(243, 239, 232, 0.18);
  background: linear-gradient(180deg, #201911, #251d14);
}

a.panel:hover::before {
  transform: scaleY(1);
}

a.panel:active {
  transform: translateX(2px) scale(0.995);
}

.badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 239, 232, 0.04);
  border: 1px solid var(--line);
  color: var(--accent-color, var(--copper));
}

.badge svg {
  width: 22px;
  height: 22px;
}

.badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.panel-text {
  flex: 1 1 auto;
  min-width: 0;
}

.panel-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 2px 0;
}

.panel-sub {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow {
  flex: 0 0 auto;
  color: var(--text-faint);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), color 0.35s ease;
}

a.panel:hover .arrow {
  transform: translateX(3px);
  color: var(--accent-color, var(--copper));
}

.foot {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: 0.68s;
}

.foot .rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

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

@media (prefers-reduced-motion: reduce) {
  .field {
    animation: none;
  }

  .kicker .dot {
    animation: none;
  }

  .kicker,
  h1,
  .role,
  .link-row,
  .foot {
    animation: none;
    opacity: 1;
    transform: none;
  }

  a.panel,
  a.panel::before,
  .arrow {
    transition: none;
  }
}

@media (max-width: 420px) {
  .panel-sub {
    display: none;
  }
}
