/* Wild Chicken University — Scholarship Portal
   Netlify-ready static site: index.html + styles.css + app.js + images */

:root{
  --bg: #0b0e14;
  --panel: #121826;
  --panel2: #0f1522;
  --text: #e7edf5;
  --muted: #b8c4d6;
  --line: rgba(231,237,245,.12);
  --accent: #e9b949;
  --accent2: #7dd3fc;
  --danger: #fb7185;
  --ok: #34d399;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(125,211,252,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(233,185,73,.18), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(52,211,153,.12), transparent 60%),
    var(--bg);
  color: var(--text);
}

.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 42px;
}

.masthead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.brand__text{ min-width: 0; }
.brand__name{
  font-size: 18px;
  font-weight: 760;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__tag{
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52,211,153,.12);
}

.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__header{
  padding: 22px 22px 14px;
  background: linear-gradient(180deg, rgba(18,24,38,.88), rgba(15,21,34,.55));
  border-bottom: 1px solid var(--line);
}
.card__header h1{
  margin: 0 0 8px 0;
  font-size: 22px;
  letter-spacing: .2px;
}
.card__header p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card__body{ padding: 18px 22px 22px; }

.grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 820px){
  .masthead{ flex-direction: column; align-items: flex-start; }
  .grid{ grid-template-columns: 1fr; }
}

.field{
  display: grid;
  gap: 8px;
  margin: 0;
}
.field__label{
  font-size: 13px;
  color: var(--muted);
}
.field__hint{
  font-size: 12px;
  color: rgba(184,196,214,.85);
}

input, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .02s ease;
}

input::placeholder{ color: rgba(184,196,214,.55); }
input:focus, select:focus{
  border-color: rgba(125,211,252,.65);
  box-shadow: 0 0 0 5px rgba(125,211,252,.16);
}

.sep{
  border: none;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.qa{
  padding: 14px 14px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.16);
  margin-bottom: 12px;
}
.qa__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.qa__head h2{
  margin: 0;
  font-size: 16px;
}
.pill{
  font-size: 12px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  white-space: nowrap;
}

.choiceRow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  user-select: none;
}
.choice input{ width: auto; padding: 0; box-shadow: none; }

.actions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn{
  appearance: none;
  border: 1px solid rgba(233,185,73,.45);
  background: linear-gradient(180deg, rgba(233,185,73,.22), rgba(233,185,73,.12));
  color: var(--text);
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .05s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(233,185,73,.7);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn:active{ transform: translateY(0px); }

.btn--ghost{
  border-color: rgba(231,237,245,.18);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.btn--ghost:hover{
  border-color: rgba(125,211,252,.55);
  color: var(--text);
}

.fineprint{
  margin: 12px 0 0 0;
  color: rgba(184,196,214,.72);
  font-size: 12px;
  line-height: 1.5;
}

.result{
  margin-top: 6px;
}
.result__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.result__title{
  font-size: 18px;
  font-weight: 760;
}
.result__stamp{
  font-weight: 800;
  letter-spacing: .8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,.35);
  background: rgba(52,211,153,.1);
  color: var(--ok);
}

.letter{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.12);
  padding: 16px 16px 14px;
}
.letter p{ margin: 0 0 10px 0; color: var(--text); line-height: 1.65; }
.letter__award{
  margin-top: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(251,113,133,.55);
  background: rgba(251,113,133,.08);
  padding: 14px;
}
.award__label{ color: rgba(184,196,214,.85); font-size: 12px; }
.award__amount{
  margin-top: 6px;
  font-size: 34px;
  font-weight: 880;
  letter-spacing: .3px;
  color: var(--danger);
}
.award__note{
  margin-top: 4px;
  color: rgba(184,196,214,.78);
  font-size: 12px;
}

.letter__sig{
  display:flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.sig{
  height: 46px;
  width: auto;
  background: rgba(255,255,255,.9);
  border-radius: 10px;
  padding: 6px 10px;
}
.sig__meta{ line-height: 1.25; }
.sig__name{ font-weight: 760; }
.sig__title{ color: var(--muted); font-size: 12px; margin-top: 3px; }

.letter__footer{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  color: rgba(184,196,214,.78);
  font-size: 12px;
}
.foot__row span{ color: rgba(184,196,214,.92); }

.footer{
  margin-top: 16px;
  color: rgba(184,196,214,.65);
  font-size: 12px;
}
