:root {
  --ink: #f8f8f8;
  --muted: #c7c7cf;
  --brand: #f65b2a;
  --line: #2b2b35;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Exo 2", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% -15%, rgba(246, 91, 42, 0.24), transparent 42%),
    linear-gradient(180deg, #08080b, #050505);
  min-height: 100vh;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.content {
  width: min(1080px, 100%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
  font-weight: 400;
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 2px solid #fff;
  background: linear-gradient(130deg, var(--brand) 0 52%, #1a1a22 52%);
  box-shadow: 0 0 0 2px #1f1f27 inset;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand);
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

main {
  padding: 2.1rem 0 3.2rem;
}

h1,
h2 {
  font-family: "Russo One", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: 1.05rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 1rem;
}

.small-muted,
.muted {
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, #171724, #101019);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  padding: 1.05rem;
}

.card,
.settings-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  padding: 0.9rem;
}

input,
textarea,
select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1a1a23;
  color: #fff;
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(246, 91, 42, 0.75);
  box-shadow: 0 0 0 2px rgba(246, 91, 42, 0.2);
}

.btn {
  min-height: 42px;
  border-radius: 11px;
  border: 0;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  padding: 0.55rem 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  background: linear-gradient(180deg, #ff6f3d, var(--brand));
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn-sm {
  min-height: 34px;
  padding: 0.4rem 0.75rem;
  font-size: 0.86rem;
}

.status-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f3f6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22px;
  text-transform: uppercase;
  line-height: 1;
}

.status-pill::before,
.status-chip .status-dot {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .nav-links {
    gap: 0.9rem;
  }
}
