:root{
  --bg: #070707;
  --bg-2: #0B0B0B;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.62);

  --border: rgba(255,255,255,0.10);
  --card: rgba(255,255,255,0.05);
  --card2: rgba(255,255,255,0.08);

  --gold: #D4A12A;      
  --gold2: #F0C55A;

  --ok: #22C55E;
  --danger: #EF4444;

  --radius: 18px;
  --shadow: 0 24px 80px rgba(0,0,0,0.55);

  --container: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 52% 18%, rgba(212,161,42,0.18), transparent 55%),
    radial-gradient(900px 550px at 85% 40%, rgba(212,161,42,0.10), transparent 60%),
    radial-gradient(1100px 700px at 10% 120%, rgba(255,255,255,0.05), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.bg-glow{
  position: fixed;
  inset: -200px;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(212,161,42,0.14), transparent 60%),
    radial-gradient(600px 400px at 80% 40%, rgba(212,161,42,0.08), transparent 60%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: -1;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo__img{
  height: 50px;
}

.nav{
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav__link{
  text-decoration: none;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
}
.nav__link:hover{ color: rgba(255,255,255,0.92); }
.nav__link[aria-current="page"]{ color: rgba(255,255,255,0.92); }

.nav__link--muted{ color: rgba(255,255,255,0.60); }

.topbar__actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn{
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 750;
  letter-spacing: 0.2px;
  font-size: 14px;
  color: var(--text);
}

.btn--pill{
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #101010;
  box-shadow: 0 16px 40px rgba(212,161,42,0.18);
}

.hero{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  padding: 72px 0 24px;
  align-items: start;
}

.hero__title{
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.accent{
  color: var(--gold);
}

.hero__subtitle{
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.55;
  font-size: 16px;
}

.hero__badges{
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.80);
  font-size: 13px;
}

.badge__dot{
  filter: saturate(1.1);
}

.hero__right{
  position: relative;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.traffic{
  display: inline-flex;
  gap: 6px;
}
.traffic span{
  width: 10px; height: 10px;
  border-radius: 999px;
  opacity: 0.85;
  background: rgba(255,255,255,0.16);
}
.traffic span:nth-child(1){ background: rgba(239,68,68,0.45); }
.traffic span:nth-child(2){ background: rgba(240,197,90,0.45); }
.traffic span:nth-child(3){ background: rgba(34,197,94,0.45); }

.card__chip{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

.chip__icon{
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(212,161,42,0.16);
  border: 1px solid rgba(212,161,42,0.22);
}

.chip__label{
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.14em;
}
.chip__value{
  font-size: 13px;
  font-weight: 750;
}

.form{
  padding: 16px;
  display: grid;
  gap: 14px;
}

.field{ display: grid; gap: 8px; }

label{
  font-size: 13px;
  color: rgba(255,255,255,0.84);
  font-weight: 650;
}

input[type="text"], textarea, input[type="file"]{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

textarea{ resize: vertical; min-height: 150px; }

input[type="text"]:focus, textarea:focus, input[type="file"]:focus{
  border-color: rgba(212,161,42,0.35);
  box-shadow: 0 0 0 4px rgba(212,161,42,0.10);
}

.hint{
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}

.preview{
  padding: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  display: grid;
  gap: 10px;
}

.preview__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview__title{
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
}

.preview img{
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
}

#previewImg {
  display: none;
}

#previewImg[src] {
  display: block;
}

.actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn--primary{
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #101010;
}

.btn--secondary{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}

.btn--ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.74);
  padding: 9px 12px;
  border-radius: 12px;
}
.btn--ghost:hover{ color: rgba(255,255,255,0.92); }

.status{
  min-height: 18px;
  margin-top: 2px;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
}
.status.ok{ color: var(--ok); }
.status.err{ color: var(--danger); }

.metric{
  position: absolute;
  left: -32px;
  bottom: -24px;
  width: 220px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(212,161,42,0.18);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

.metric__label{
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}

.metric__value{
  margin-top: 6px;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.metric__pill{
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.18);
  color: rgba(34,197,94,0.92);
  font-size: 12px;
  font-weight: 750;
}

.footer{
  padding: 26px 0 40px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.dot{ opacity: 0.6; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; padding-top: 36px; }
  .metric{ position: static; width: auto; margin-top: 14px; }
  .nav{ display:none; }
}
