



:root {
  --neo-bg: #e7edf2;
  --neo-surface: #e7edf2;
  --neo-text: #1e293b;
  --neo-muted: #64748b;
  --neo-shadow-dark: #bcc7d0;
  --neo-shadow-light: #ffffff;
  --neo-accent: #0f9f78;
  --neo-accent-soft: #d7f3e9;
}

.dark {
  --neo-bg: #16212b;
  --neo-surface: #16212b;
  --neo-text: #e5edf5;
  --neo-muted: #9aaabd;
  --neo-shadow-dark: #0d141b;
  --neo-shadow-light: #22303d;
  --neo-accent: #43d1a4;
  --neo-accent-soft: #163d35;
}

* {
  border-color: rgb(148 163 184 / 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--neo-bg);
  color: var(--neo-text);
  font-family: var(--font-geist-sans), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.neo-page {
  background:
    radial-gradient(circle at 8% 10%, rgb(16 185 129 / 0.07), transparent 25rem),
    radial-gradient(circle at 92% 25%, rgb(79 70 229 / 0.06), transparent 26rem),
    var(--neo-bg);
}

.neo-header {
  background: color-mix(in srgb, var(--neo-bg) 88%, transparent);
  border-bottom: 1px solid rgb(148 163 184 / 0.13);
  box-shadow: 0 8px 20px rgb(100 116 139 / 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.neo-card {
  background: var(--neo-surface);
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 2rem;
  box-shadow: 14px 14px 28px var(--neo-shadow-dark), -14px -14px 28px var(--neo-shadow-light);
}

.neo-card-interactive {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.neo-card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 18px 18px 34px var(--neo-shadow-dark), -18px -18px 34px var(--neo-shadow-light);
}

.neo-inset {
  background: var(--neo-bg);
  border-radius: 1.25rem;
  box-shadow: inset 5px 5px 10px var(--neo-shadow-dark), inset -5px -5px 10px var(--neo-shadow-light);
}

.neo-input {
  min-height: 3.1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: var(--neo-bg);
  color: var(--neo-text);
  box-shadow: inset 5px 5px 10px var(--neo-shadow-dark), inset -5px -5px 10px var(--neo-shadow-light);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.neo-input::placeholder {
  color: color-mix(in srgb, var(--neo-muted) 77%, transparent);
}

.neo-input:focus {
  border-color: color-mix(in srgb, var(--neo-accent) 58%, transparent);
  box-shadow: inset 4px 4px 8px var(--neo-shadow-dark), inset -4px -4px 8px var(--neo-shadow-light), 0 0 0 3px color-mix(in srgb, var(--neo-accent) 13%, transparent);
}

.neo-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.neo-button:focus-visible,
.neo-icon-button:focus-visible,
.neo-tab:focus-visible {
  outline: 2px solid var(--neo-accent);
  outline-offset: 3px;
}

.neo-button:hover,
.neo-icon-button:hover {
  transform: translateY(-1px);
}

.neo-button:active,
.neo-icon-button:active {
  transform: translateY(1px);
}

.neo-button-primary {
  background: var(--neo-accent);
  color: #f7fffc;
  box-shadow: 7px 7px 14px var(--neo-shadow-dark), -5px -5px 12px var(--neo-shadow-light), inset 0 1px 0 rgb(255 255 255 / 0.24);
}

.neo-button-primary:hover {
  background: color-mix(in srgb, var(--neo-accent) 88%, #ffffff);
  box-shadow: 9px 9px 17px var(--neo-shadow-dark), -6px -6px 14px var(--neo-shadow-light), inset 0 1px 0 rgb(255 255 255 / 0.27);
}

.neo-button-secondary {
  background: var(--neo-surface);
  color: var(--neo-text);
  box-shadow: 6px 6px 12px var(--neo-shadow-dark), -6px -6px 12px var(--neo-shadow-light);
}

.neo-button-secondary:hover {
  color: var(--neo-accent);
  box-shadow: 8px 8px 15px var(--neo-shadow-dark), -8px -8px 15px var(--neo-shadow-light);
}

.neo-button-disabled {
  background: color-mix(in srgb, var(--neo-surface) 87%, var(--neo-muted));
  color: color-mix(in srgb, var(--neo-muted) 72%, transparent);
  cursor: not-allowed;
  box-shadow: inset 4px 4px 8px var(--neo-shadow-dark), inset -4px -4px 8px var(--neo-shadow-light);
}

.neo-icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  background: var(--neo-surface);
  color: var(--neo-muted);
  box-shadow: 5px 5px 10px var(--neo-shadow-dark), -5px -5px 10px var(--neo-shadow-light);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.neo-icon-button:hover {
  color: var(--neo-accent);
}

.neo-icon-small,
.neo-icon-box {
  display: inline-grid;
  place-items: center;
  background: var(--neo-surface);
  box-shadow: 5px 5px 10px var(--neo-shadow-dark), -5px -5px 10px var(--neo-shadow-light);
}

.neo-icon-small {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.7rem;
}

.neo-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.1rem;
}

.neo-badge,
.neo-status,
.neo-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.neo-badge {
  background: var(--neo-accent-soft);
  color: var(--neo-accent);
  box-shadow: inset 2px 2px 4px color-mix(in srgb, var(--neo-accent) 14%, transparent), inset -2px -2px 4px rgb(255 255 255 / 0.24);
}

.neo-featured-badge {
  color: #875a05;
  background: #fdf0c9;
  box-shadow: inset 2px 2px 4px rgb(168 117 10 / 0.14), inset -2px -2px 4px rgb(255 255 255 / 0.45);
}

.dark .neo-featured-badge {
  color: #f9d778;
  background: #4b3a16;
}

.neo-status-live {
  color: #087b5c;
  background: #d7f3e9;
}

.neo-status-dev {
  color: #565f70;
  background: #e0e7ed;
}

.dark .neo-status-live {
  color: #82e9c7;
  background: #143e35;
}

.dark .neo-status-dev {
  color: #c2ccd7;
  background: #263544;
}

.neo-tag {
  border-radius: 0.7rem;
  background: var(--neo-surface);
  color: var(--neo-muted);
  padding: 0.35rem 0.55rem;
  box-shadow: 3px 3px 7px var(--neo-shadow-dark), -3px -3px 7px var(--neo-shadow-light);
  font-size: 0.7rem;
  font-weight: 700;
}

.neo-tab {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.9rem;
  padding: 0.65rem 0.75rem;
  color: var(--neo-muted);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.neo-tab:hover {
  color: var(--neo-text);
}

.neo-tab-active {
  background: var(--neo-surface);
  color: var(--neo-accent);
  box-shadow: 4px 4px 8px var(--neo-shadow-dark), -4px -4px 8px var(--neo-shadow-light);
}

.neo-tab-count {
  border-radius: 999px;
  background: color-mix(in srgb, var(--neo-accent) 10%, var(--neo-surface));
  padding: 0.08rem 0.32rem;
  font-size: 0.65rem;
}

.neo-orb {
  position: absolute;
  width: 19rem;
  height: 19rem;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.7;
  pointer-events: none;
}

.neo-orb-left {
  left: -10rem;
  bottom: -11rem;
  background: rgb(16 185 129 / 0.1);
}

.neo-orb-right {
  top: -13rem;
  right: -11rem;
  background: rgb(99 102 241 / 0.09);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--neo-bg);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--neo-muted) 42%, transparent);
  border: 2px solid var(--neo-bg);
  border-radius: 999px;
}

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