:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eef7f3;
  background: #041517;
  --bg: #041517;
  --panel: #0a2124;
  --panel2: #0c292b;
  --line: rgba(208, 231, 224, .17);
  --muted: #9db0ad;
  --accent: #8bd75b;
  --accent-dark: #183b28;
  --teal: #16a99d;
  --danger: #ff9d91;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(21, 169, 157, .18), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(139, 215, 91, .09), transparent 24rem),
    var(--bg);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 28px)); margin: 24px auto 52px; }
.hidden { display: none !important; }
.hero-card, .form-card, .site-footer {
  background: linear-gradient(145deg, rgba(12, 41, 43, .98), rgba(5, 25, 28, .98));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.hero-banner { width: 100%; max-height: 680px; object-fit: cover; object-position: top center; display: block; }
.hero-copy { display: flex; gap: 20px; align-items: center; padding: 26px 30px 10px; }
.brand-logo, .header-logo, .success-logo { object-fit: contain; border-radius: 10px; background: #000; }
.brand-logo { width: 110px; height: 92px; }
.hero-copy h1 { margin: 4px 0 6px; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.02; }
.lead { margin: 0; color: #c6d5d1; }
.eyebrow, .step-kicker { margin: 0; color: var(--accent); font-size: .76rem; font-weight: 900; letter-spacing: .17em; }
.hero-notice { margin: 16px 30px 0; padding: 14px 16px; border: 1px solid rgba(139, 215, 91, .35); background: rgba(139, 215, 91, .08); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.hero-notice strong { color: var(--accent); }
.hero-notice span { color: #d0ded9; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 650; line-height: 1.45; }
.hero-card > .consent { margin: 22px 30px 16px; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.primary, .secondary { border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 850; transition: transform .15s ease, opacity .15s ease, background .15s ease; }
.primary { background: var(--accent); color: #102116; }
.primary:hover, .secondary:hover { transform: translateY(-1px); }
.primary:disabled { opacity: .55; cursor: wait; transform: none; }
.secondary { background: #24383b; color: #e6f2ee; border: 1px solid var(--line); }
.large { margin: 0 30px 30px; min-width: 220px; }
.form-card { padding: clamp(18px, 3vw, 32px); }
.form-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.form-header h2 { margin: 3px 0 0; font-size: 1.5rem; }
.header-logo { width: 72px; height: 58px; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 32px; position: relative; gap: 4px; }
.progress::before { content: ""; position: absolute; height: 2px; background: var(--line); left: 10%; right: 10%; top: 20px; }
.progress-item { text-align: center; color: #768985; position: relative; z-index: 1; }
.progress-item span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto 7px; background: #334348; color: #d8e0de; font-weight: 850; border: 2px solid #46585b; }
.progress-item small { font-size: .73rem; font-weight: 700; }
.progress-item.active { color: #dfffcf; }
.progress-item.active span { background: var(--accent); color: #123015; border-color: var(--accent); }
.step { display: none; }
.step.active { display: block; }
.section-title { margin-bottom: 20px; }
.section-title h2 { margin: 5px 0 0; font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { margin: 25px 0 10px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-weight: 700; font-size: .93rem; }
input, select { width: 100%; border: 1px solid #3b5354; border-radius: 9px; padding: 12px 13px; background: #071a1d; color: #f2f8f6; }
input::placeholder { color: #748783; }
input:focus, select:focus { outline: 3px solid rgba(139, 215, 91, .16); border-color: var(--accent); }
input[readonly] { color: var(--accent); font-weight: 850; background: #0b2621; }
small, .muted { color: var(--muted); font-weight: 450; }
.category-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 18px; margin-top: 22px; }
.category-heading { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 12px; }
.category-heading h3 { margin: 0 0 4px; }
.category-heading p { margin: 0; }
.selection-counter { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: #cad9d4; font-size: .84rem; }
.selection-counter strong { color: var(--accent); }
.category-list { display: grid; gap: 9px; }
.category-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(3, 16, 18, .45); transition: border .15s ease, background .15s ease; }
.category-option:hover { border-color: rgba(139, 215, 91, .5); }
.category-option.selected { border-color: var(--accent); background: rgba(139, 215, 91, .08); }
.category-option input { width: 18px; height: 18px; accent-color: var(--accent); }
.category-main { min-width: 0; }
.category-name { display: block; color: #f4faf7; font-weight: 800; }
.category-meta { display: block; color: var(--muted); font-weight: 500; font-size: .79rem; margin-top: 2px; }
.category-option > strong { color: var(--accent); white-space: nowrap; }
.fee-summary-inline { margin-top: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(139, 215, 91, .25); background: rgba(139, 215, 91, .06); display: flex; justify-content: space-between; gap: 12px; }
.fee-summary-inline strong { color: var(--accent); font-size: 1.15rem; }
.poster-panel { border: 1px solid var(--line); border-radius: 13px; padding: 16px; background: rgba(3, 16, 18, .5); align-self: start; }
.poster-panel h3 { margin-top: 0; }
.poster-panel p { margin-top: -2px; }
.poster-panel img { width: 100%; display: block; border-radius: 9px; border: 1px solid var(--line); }
.notice-box { margin-top: 18px; border: 1px solid rgba(139, 215, 91, .35); background: rgba(139, 215, 91, .08); border-radius: 10px; padding: 13px 15px; color: #dcebd7; }
.notice-box strong { color: var(--accent); }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.partner-card, .review-section { border: 1px solid var(--line); border-radius: 12px; padding: 17px; margin: 14px 0; background: rgba(3, 16, 18, .35); }
.partner-card h3 { margin-top: 0; color: var(--accent); }
.fee-box { display: grid; gap: 4px; padding: 16px; border-radius: 11px; border: 1px solid rgba(139, 215, 91, .35); background: rgba(139, 215, 91, .08); margin-bottom: 16px; }
.fee-box strong { color: var(--accent); font-size: 1.8rem; }
.review dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; margin: 0; }
.review dt { font-weight: 850; color: #9fb2ad; }
.review dd { margin: 0; overflow-wrap: anywhere; }
.final-consent { margin-top: 20px; }
.error { color: var(--danger); min-height: 1.35em; font-weight: 700; }
.success { text-align: center; padding: 42px 24px; }
.success-logo { width: 92px; height: 74px; margin-bottom: 14px; }
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto 18px; background: rgba(139, 215, 91, .14); color: var(--accent); font-size: 2rem; font-weight: 900; border: 1px solid rgba(139, 215, 91, .35); }
.success h2 { margin-bottom: 8px; }
.tracking { padding: 12px; border-radius: 9px; background: rgba(255,255,255,.05); display: inline-block; }
.site-footer { margin-top: 18px; padding: 15px 18px; display: flex; gap: 14px; align-items: center; }
.site-footer img { width: 70px; height: 56px; object-fit: contain; border-radius: 7px; background: #000; }
.site-footer div { display: grid; gap: 4px; }
.site-footer span { color: var(--accent); font-size: .86rem; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 860px) {
  .category-layout { grid-template-columns: 1fr; }
  .poster-panel { max-width: 560px; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 16px, 1180px); margin-top: 8px; }
  .hero-card, .form-card, .site-footer { border-radius: 12px; }
  .hero-banner { max-height: none; }
  .hero-copy { align-items: flex-start; padding: 18px 18px 8px; }
  .brand-logo { width: 75px; height: 65px; }
  .hero-copy h1 { font-size: 1.65rem; }
  .hero-card > .consent { margin: 18px; }
  .hero-notice { margin: 12px 18px 0; }
  .large { margin: 0 18px 20px; width: calc(100% - 36px); }
  .grid.two { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .progress-item small { display: none; }
  .progress-item span { width: 34px; height: 34px; }
  .progress::before { top: 17px; }
  .category-heading { align-items: flex-start; }
  .category-option { grid-template-columns: auto 1fr; }
  .category-option > strong { grid-column: 2; }
  .review dl { grid-template-columns: 1fr; }
  .review dd { margin-bottom: 8px; }
  .nav { flex-wrap: wrap; }
  .nav button { flex: 1 1 180px; }
  .site-footer { align-items: flex-start; }
}
.approval-box { margin-top: 22px; border: 1px solid rgba(139, 215, 91, .35); background: rgba(139, 215, 91, .07); border-radius: 13px; padding: 18px; }
.approval-box h3 { margin: 6px 0 8px; color: var(--accent); }
.approval-box p:last-child { margin-bottom: 0; color: #d1dfda; line-height: 1.6; }

.double-entry-box { margin-top: 16px; border: 1px solid var(--line); background: rgba(3,16,18,.38); border-radius: 13px; padding: 18px; }
.double-entry-box .consent { margin: 0; }
.double-entry-box small { color: var(--muted); font-weight: 500; }
#doubleEntryFields { margin-top: 16px; }
#playerEntryCodePreview[readonly] { opacity: .78; cursor: not-allowed; }


/* Payment portal */
.hero-actions { display:flex; gap:12px; padding:0 30px 30px; flex-wrap:wrap; }
.hero-actions .large { margin:0; min-width:220px; }
.payment-button { background:#15393c; }
.payment-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:22px; align-items:start; }
.payment-form { min-width:0; }
.payment-fields { margin-top:18px; }
.payment-panel { border:1px solid var(--line); border-radius:14px; padding:18px; background:rgba(3,16,18,.5); }
.payment-panel h3 { margin:6px 0 8px; color:var(--accent); }
.payment-panel p { line-height:1.55; }
.payment-link { display:inline-flex; align-items:center; justify-content:center; width:100%; padding:12px 14px; margin:8px 0 16px; border-radius:10px; background:var(--accent); color:#102116; text-decoration:none; font-weight:900; }
.payment-qr { display:block; width:100%; max-width:440px; margin:0 auto 12px; border-radius:12px; background:#fff; }
@media (max-width:860px) { .payment-layout { grid-template-columns:1fr; } .payment-panel { max-width:560px; } }
@media (max-width:700px) { .hero-actions { padding:0 18px 20px; } .hero-actions .large { width:100%; min-width:0; } }

.guidelines-link { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); }
.guidelines-link a { color: var(--accent); font-weight: 700; }
