/* HOODIES /collab — ambassador applications */
:root {
  --night: #090b10;
  --night-2: #0e1118;
  --panel: #12161f;
  --panel-2: #181e2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ember: #e8953a;
  --ember-2: #d47820;
  --gold: #f0b24a;
  --gold-2: #f5c46a;
  --ash: #eceef2;
  --smoke: #8b93a3;
  --smoke-2: #5c6575;
  --good: #4ade9b;
  --danger: #e86a76;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --focus: 0 0 0 2px var(--night), 0 0 0 4px var(--gold);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ash);
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, #1a223590, transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 100%, #e8953a12, transparent 50%),
    var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 0.85em; text-wrap: pretty; color: #c5cad4; }

.hc-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hc-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ash);
}
.hc-brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.hc-brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.04em; }
.hc-brand b { color: var(--gold); }
.hc-top-spacer { flex: 1; }
.hc-lang {
  display: inline-flex; padding: 3px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line);
}
.hc-lang button {
  border: 0; background: none; cursor: pointer;
  padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
  color: var(--smoke);
}
.hc-lang button.on { background: var(--ember); color: #120e08; }
.hc-link {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line-2); color: var(--ash); text-decoration: none;
  font-size: 13px; font-weight: 700;
}
.hc-link:hover { border-color: var(--gold); color: var(--gold); }

.hc-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

.hc-hero {
  margin-bottom: 28px;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--ember) 14%, var(--panel)) 0%, var(--panel) 60%);
  position: relative;
  overflow: hidden;
}
.hc-hero::after {
  content: "";
  position: absolute; right: -30px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, #f0b24a33, transparent 70%);
  pointer-events: none;
}
.hc-kicker {
  position: relative;
  margin: 0 0 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--ember);
}
.hc-hero h1 {
  position: relative;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  margin-bottom: 12px;
  color: var(--ash);
}
.hc-hero h1 em { font-style: normal; color: var(--gold); }
.hc-hero .lead {
  position: relative;
  margin: 0;
  max-width: 54ch;
  font-size: 1.02rem;
  color: #c8ced8;
}

.hc-form {
  display: flex; flex-direction: column; gap: 18px;
}
.hc-field {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
}
.hc-field label.hc-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ash);
  margin-bottom: 8px;
}
.hc-field .req { color: var(--ember); }
.hc-hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--smoke);
}
.hc-input, .hc-textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--night-2);
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
}
.hc-input:focus, .hc-textarea:focus { box-shadow: var(--focus); border-color: var(--gold); }
.hc-textarea { min-height: 120px; resize: vertical; line-height: 1.45; }

.hc-nets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hc-net {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--night-2);
  border-radius: 10px;
  padding: 12px 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  color: var(--smoke);
  text-align: center;
}
.hc-net.on {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--ember) 18%, var(--night-2));
  color: var(--gold);
}
.hc-net:focus-visible { box-shadow: var(--focus); outline: none; }

.hc-drop {
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  background: var(--night-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hc-drop.is-drag {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--ember) 12%, var(--night-2));
}
.hc-drop strong { display: block; color: var(--ash); margin-bottom: 4px; }
.hc-drop span { font-size: 13px; color: var(--smoke); }
.hc-drop input { display: none; }

.hc-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.hc-prev {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.hc-prev img { width: 100%; height: 100%; object-fit: cover; }
.hc-prev button {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px; border-radius: 999px;
  border: 0; cursor: pointer;
  background: #000c; color: #fff; font-weight: 800; font-size: 14px;
  line-height: 1;
}

.hc-submit {
  border: 0; cursor: pointer;
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 15px;
  color: #120e08;
  background: linear-gradient(180deg, var(--gold), var(--ember-2));
  box-shadow: 0 12px 28px -14px #e8953aaa;
}
.hc-submit:hover { filter: brightness(1.05); }
.hc-submit:disabled { opacity: 0.55; cursor: wait; filter: none; }

.hc-msg {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.hc-msg.show { display: block; }
.hc-msg.ok {
  background: color-mix(in srgb, var(--good) 14%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--good) 40%, transparent);
  color: var(--good);
}
.hc-msg.err {
  background: color-mix(in srgb, var(--danger) 14%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  color: #ffb0b8;
}

.hc-foot {
  margin-top: 28px;
  font-size: 12px;
  color: var(--smoke-2);
  text-align: center;
}

[data-lang="en"] [data-i="es"],
[data-lang="es"] [data-i="en"] { display: none !important; }

@media (max-width: 560px) {
  .hc-nets { grid-template-columns: 1fr; }
  .hc-hero { padding: 22px 16px; }
}
