:root{
  --bg: #0b0b0c;
  --panel: #141416;
  --muted: #b8b8b8;
  --text: #f4f4f5;
  --accent: #ff9e66; /* orange */
  --accent-2: #b8b8b8;
  --border: #2a2a2e;
  --good: #19c37d;
  --warn: #f5a623;
  --bad: #ff4d4f;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; height:100%; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: radial-gradient(1200px 800px at 70% -10%, #1a1a1e 0%, #0b0b0c 60%); }

.topbar{
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(90deg, #0b0b0c 0%, #141416 100%);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

.brand{ display: flex; align-items: center; gap: 12px; }
.logo{
  width: 98px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  color:#111; font-weight:800; letter-spacing:0.5px;
}
.title{ font-weight: 700; font-size: 18px; letter-spacing: 1.3px; }

.container{ max-width: 980px; padding: 28px 20px 80px; margin: 0 auto; }

.panel{
  background: linear-gradient(160deg, rgba(255,106,0,0.07), rgba(255,140,51,0.04)) , var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.panel h2{ margin: 0 0 12px; font-size: 24px; color: #ffffff; }
.panel h3{ margin: 0 0 8px; font-size: 18px; color: #ffffff; }
.panel h4{ margin: 18px 0 8px; font-size: 16px; }
.muted{ color: var(--muted); }

.upload-form{ margin-top: 10px; }
.upload-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.upload-box{
  background: #101012;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  padding: 16px;
  min-height: 140px;
}

.hint{ color: var(--muted); font-size: 12px; margin: 6px 0 14px; }

.filebtn{
  display: inline-block;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  color: #111; font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
}
.filebtn input{ display:none; }

.actions{ display:flex; justify-content:flex-end; margin-top:18px; }
.cta{
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.2s ease;
}
.cta:hover{ background: rgba(255,106,0,0.12); transform: translateY(-1px); }

.rules{
  margin-top: 16px;
  background: #0e0e10;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.flash{ margin-bottom: 12px; }
.flash-item{
  background: rgba(255,77,79,0.15);
  border: 1px solid #4a1f1f;
  color: #ffb3b3;
  padding: 10px 12px; border-radius: 12px;
}

.footer{
  margin-top: 28px;
  padding: 18px 24px;
  display:flex; justify-content:center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #0b0b0c;
}
