/* Rosterhall - Guadalupe Interactive LLC */

:root {
  --bg: #0d1017;
  --bg-2: #141926;
  --bg-3: #1b2233;
  --line: #262f42;
  --text: #e8ecf4;
  --muted: #98a3b8;
  --dim: #6c7688;
  --accent: #5b8cff;
  --accent-2: #7fd4a8;
  --warn: #e8b465;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- nav ---------- */

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 16, 23, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: linear-gradient(140deg, var(--accent), #8b5bff);
  display: inline-block;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4a7bef; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #3a4560; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-wide { width: 100%; }

/* ---------- hero ---------- */

.hero { padding: 84px 0 64px; }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(32px, 5.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
  font-weight: 800;
  max-width: 17ch;
}

.lede {
  font-size: clamp(16.5px, 2.1vw, 19px);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 30px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */

section { padding: 56px 0; border-top: 1px solid var(--line); }

h2 {
  font-size: clamp(23px, 3.2vw, 30px);
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.sub { color: var(--muted); margin: 0 0 30px; max-width: 62ch; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card p { color: var(--muted); margin: 0; font-size: 15px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px; height: 27px;
  border-radius: 7px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 13px;
}

ul.plain { margin: 0; padding-left: 19px; color: var(--muted); font-size: 15px; }
ul.plain li { margin-bottom: 7px; }

/* ---------- boundaries block ---------- */

.rules {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.rules h3 { color: var(--warn); }
.rules ul { margin: 12px 0 0; padding-left: 19px; color: var(--muted); font-size: 15px; }
.rules li { margin-bottom: 7px; }

/* ---------- forms ---------- */

.form-shell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 620px;
}

.field { margin-bottom: 17px; }

label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { min-height: 92px; resize: vertical; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.check input { margin-top: 3px; flex: none; }
.check span { font-weight: 400; line-height: 1.5; }

.form-msg {
  margin-top: 16px;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
}
.form-msg.ok { display: block; background: rgba(127,212,168,.1); border: 1px solid rgba(127,212,168,.35); color: var(--accent-2); }
.form-msg.err { display: block; background: rgba(232,110,100,.1); border: 1px solid rgba(232,110,100,.35); color: #eb8f88; }

/* ---------- notice ---------- */

.notice {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 30px;
}
.notice strong { color: var(--text); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 13.5px;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: 13.5px; }
  .hero { padding: 56px 0 44px; }
  section { padding: 44px 0; }
  .form-shell { padding: 22px; }
}

@media (max-width: 520px) {
  .nav-links .hide-sm { display: none; }
}

/* ---------- pay examples ---------- */

.pay {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.pay-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.pay-line:last-of-type { border-bottom: none; }

.pay-when {
  flex: 1 1 340px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.pay-when strong { color: var(--text); font-weight: 600; }

.pay-amt {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: var(--accent-2);
  white-space: nowrap;
}

.pay-head {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 6px;
  line-height: 1.6;
}
.pay-head strong { color: var(--text); font-weight: 600; }

@media (max-width: 800px) {
  .pay { padding: 20px; }
  .pay-amt { font-size: 24px; }
}
