:root {
  --black: #030303;
  --panel: #090909;
  --panel-soft: #111111;
  --white: #f7f5ff;
  --muted: #9e9aa5;
  --orange: #ff4d00;
  --orange-hot: #ff6a00;
  --orange-dim: rgba(255, 77, 0, 0.28);
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

main {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 77, 0, 0.12), transparent 28%),
    radial-gradient(circle at 83% 64%, rgba(255, 77, 0, 0.08), transparent 26%),
    #030303;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.site-header {
  width: min(1480px, calc(100% - 72px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 77, 0, 0.42);
  position: relative;
  z-index: 2;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 190px;
  height: 1px;
  background: var(--orange-hot);
  box-shadow: 0 0 12px var(--orange), 0 0 28px rgba(255, 77, 0, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 190px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.05);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d7d4dc;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-hot);
  box-shadow: 0 0 8px var(--orange), 0 0 20px var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.55; box-shadow: 0 0 3px var(--orange); }
}

.hero {
  width: min(1480px, calc(100% - 72px));
  min-height: calc(100vh - 174px);
  margin: 0 auto;
  padding: 60px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(490px, 580px);
  gap: clamp(60px, 7vw, 132px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "24/7";
  position: absolute;
  z-index: -1;
  left: -2%;
  top: 3%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 0, 0.11);
  font-size: clamp(160px, 24vw, 390px);
  font-weight: 950;
  font-style: italic;
  letter-spacing: -0.1em;
  transform: skewX(-8deg);
}

.hero-copy { padding-left: clamp(0px, 2vw, 28px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 27px;
  color: #d8d5dc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  min-width: 48px;
  padding: 7px 9px;
  color: var(--orange-hot);
  border: 1px solid var(--orange);
  text-align: center;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 14px rgba(255, 77, 0, 0.15), 0 0 10px rgba(255, 77, 0, 0.2);
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(57px, 6.7vw, 110px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

h1 span {
  display: inline-block;
  color: var(--orange-hot);
  font-style: italic;
  text-shadow: 0 0 12px rgba(255, 77, 0, 0.72), 0 0 38px rgba(255, 77, 0, 0.34);
}

.hero-lead {
  max-width: 620px;
  margin: 34px 0 0;
  color: #aaa6af;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
}

.tournament-facts {
  display: flex;
  width: min(100%, 650px);
  margin-top: 38px;
  border-top: 1px solid rgba(255, 77, 0, 0.62);
  border-bottom: 1px solid rgba(255, 77, 0, 0.62);
  box-shadow: 0 1px 0 rgba(255, 77, 0, 0.08);
}

.tournament-facts div { flex: 1; padding: 17px 14px 16px 0; }
.tournament-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }

.tournament-facts span,
.application-code span {
  display: block;
  margin-bottom: 7px;
  color: #77737c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tournament-facts strong { font-size: 14px; color: var(--white); }

.process-note {
  margin-top: 29px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #817d86;
}

.process-index { color: var(--orange-hot); font-size: 10px; font-weight: 900; }
.process-note p { margin: 0; font-size: 10px; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; }
.process-note p strong { display: block; color: #dedbe2; }
.process-line { width: 42px; height: 1px; background: rgba(255, 77, 0, 0.36); }

.form-shell {
  min-height: 670px;
  padding: clamp(32px, 3.2vw, 52px);
  position: relative;
  color: white;
  background: linear-gradient(145deg, #101010, #050505 70%);
  border: 1px solid rgba(255, 77, 0, 0.72);
  box-shadow: 0 0 32px rgba(255, 77, 0, 0.16), 18px 18px 0 #160700;
}

.form-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.form-accent {
  position: absolute;
  right: -15px;
  top: -15px;
  width: 74px;
  height: 74px;
  border-top: 2px solid var(--orange-hot);
  border-right: 2px solid var(--orange-hot);
  filter: drop-shadow(0 0 8px var(--orange));
}

.form-accent::after {
  content: "+";
  position: absolute;
  right: 7px;
  top: 2px;
  color: var(--orange-hot);
  font-size: 22px;
  font-weight: 300;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 77, 0, 0.34);
}

.form-kicker {
  margin: 0 0 9px;
  color: var(--orange-hot);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 77, 0, 0.72);
}

.form-heading h2,
.success-state h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.form-number { color: #514b50; font-size: 12px; font-weight: 900; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }

.field > span {
  color: #a39fa8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field em { float: right; color: #5f5a61; font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: white;
  background: #050505;
  border: 1px solid #302723;
  border-radius: 0;
  outline: none;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea { min-height: 82px; resize: vertical; }
.field select { appearance: auto; color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: #5a565d; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #0b0908;
  border-color: var(--orange-hot);
  box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.1), 0 0 16px rgba(255, 77, 0, 0.12);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
  color: #8a858e;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--orange-hot); }
.form-error { margin: 14px 0 0; color: #ff8a5a; font-size: 12px; }

.submit-button,
.secondary-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.submit-button {
  min-height: 58px;
  margin-top: 22px;
  padding: 0 8px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #060606;
  background: var(--orange-hot);
  font-size: 12px;
  box-shadow: 0 0 16px rgba(255, 77, 0, 0.38);
}

.submit-button b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--orange-hot);
  background: #060606;
  font-size: 20px;
}

.submit-button:hover:not(:disabled) { transform: translateY(-2px); background: #ff7a1a; box-shadow: 0 0 28px rgba(255, 77, 0, 0.54); }
.submit-button:disabled { opacity: 0.65; cursor: wait; }

.form-footnote {
  margin: 11px 0 0;
  color: #5f5a61;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.success-state { min-height: 555px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

.success-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 36px;
  display: grid;
  place-items: center;
  color: #050505;
  background: var(--orange-hot);
  box-shadow: 0 0 25px rgba(255, 77, 0, 0.58);
  font-size: 34px;
  font-weight: 950;
  transform: rotate(-3deg);
}

.success-state > p:not(.form-kicker) { max-width: 390px; margin: 24px 0; color: #a29da6; line-height: 1.6; }

.application-code {
  width: 100%;
  margin-bottom: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 77, 0, 0.35);
  border-bottom: 1px solid rgba(255, 77, 0, 0.35);
}

.application-code strong { color: var(--orange-hot); font-size: 24px; letter-spacing: 0.08em; text-shadow: 0 0 12px rgba(255, 77, 0, 0.55); }
.secondary-button { min-height: 52px; color: white; background: #17110f; border: 1px solid #56301f; font-size: 11px; }
.secondary-button:hover { background: #29140b; }

footer {
  width: min(1480px, calc(100% - 72px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #77727b;
  border-top: 1px solid rgba(255, 77, 0, 0.28);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 58px; padding-top: 70px; }
  .hero-copy { padding-left: 0; }
  .form-shell { width: min(100%, 680px); justify-self: center; }
  .hero::after { left: auto; right: -8%; top: 0; }
}

@media (max-width: 640px) {
  .site-header, .hero, footer { width: calc(100% - 36px); }
  .site-header { min-height: 86px; }
  .brand img { width: 138px; height: 68px; }
  .header-status { max-width: 110px; font-size: 8px; line-height: 1.4; letter-spacing: 0.09em; }
  .hero { padding: 46px 0 58px; gap: 43px; }
  h1 { font-size: clamp(47px, 15.4vw, 72px); }
  .hero-lead { margin-top: 25px; }
  .tournament-facts { margin-top: 28px; }
  .tournament-facts strong { font-size: 11px; line-height: 1.25; display: block; }
  .tournament-facts div { padding-right: 7px; }
  .tournament-facts div + div { padding-left: 10px; }
  .process-note { display: none; }
  .form-shell { width: 100%; min-height: 0; padding: 30px 22px; box-shadow: 10px 10px 0 #160700; }
  .form-accent { right: -8px; top: -10px; width: 48px; height: 48px; }
  .field-grid { grid-template-columns: 1fr; gap: 17px; }
  .field-wide { grid-column: auto; }
  .form-heading { margin-bottom: 24px; }
  .success-state { min-height: 480px; }
  footer { min-height: 58px; gap: 14px; font-size: 7px; line-height: 1.35; }
  footer span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
