:root {
  --bg0: #0c1118;
  --bg1: #141b26;
  --line: #2a3548;
  --gold: #e0b23a;
  --gold2: #f3d27a;
  --text: #f4f1ea;
  --muted: #9aa6b8;
  --danger: #ff6b6b;
  --ok: #3ecf8e;
  --panel: rgba(16, 22, 32, 0.88);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg0);
  line-height: 1.45;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(224, 178, 58, 0.22), transparent 55%),
    radial-gradient(700px 420px at 100% 10%, rgba(48, 90, 160, 0.18), transparent 50%),
    linear-gradient(180deg, #0b1017 0%, #121925 45%, #0a0e14 100%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M120 0H0V120' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
  animation: rise 0.7s ease both;
}
.brand-logo {
  display: block;
  width: min(440px, 92vw);
  height: auto;
  margin: 0 auto 18px;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.brand {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(56px, 14vw, 92px);
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: var(--gold2);
  text-shadow: 0 10px 40px rgba(224, 178, 58, 0.25);
}
.lead {
  margin: 18px auto 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 600;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: rise 0.85s ease both 0.08s;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #d7deea;
}
.field label span {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d131c;
  color: var(--text);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus {
  border-color: rgba(224, 178, 58, 0.7);
  box-shadow: 0 0 0 3px rgba(224, 178, 58, 0.15);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .grid2 { grid-template-columns: 1fr; }
  .shell { padding-top: 28px; }
}

.drop {
  position: relative;
  border: 1.5px dashed #3a4760;
  border-radius: 16px;
  background: #0d131c;
  min-height: 150px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.drop.drag {
  border-color: var(--gold);
  background: rgba(224, 178, 58, 0.06);
}
.drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.drop-ui {
  pointer-events: none;
  min-height: 150px;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
}
.drop-ui strong { font-size: 15px; }
.drop-ui span { color: var(--muted); font-size: 12.5px; }

.preview {
  position: relative;
  z-index: 1;
  padding: 12px;
  text-align: center;
}
.preview img, .preview video {
  display: none;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}
.preview p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  word-break: break-all;
}

.cta {
  width: 100%;
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #16120a;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, #b8871d);
  box-shadow: 0 12px 30px rgba(224, 178, 58, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cta:disabled { opacity: 0.65; cursor: wait; transform: none; }

.hint {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
}
.msg.ok {
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.35);
  color: #8ef0c2;
}
.msg.err {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffb0b0;
}
.hidden { display: none !important; }

.foot {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #6f7b8f;
  font-size: 12px;
  font-weight: 600;
  animation: rise 1s ease both 0.16s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
