:root {
  --yellow: #ffbd08;
  --black: #050505;
  --text: #282317;
  --white: #fff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: var(--yellow);
  color: var(--text);
}

a { color: inherit; }

.hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 30%, #444 0, transparent 32%),
    radial-gradient(ellipse at 80% 20%, #333 0, transparent 35%),
    linear-gradient(155deg, #303030, #080808 72%);
  border-bottom: 5px solid #17120a;
  border-radius: 0 0 50% 7%;
}

.hero:before {
  content: "SPORTS  •  EXCHANGE  •  LIVE";
  position: absolute;
  inset: 30px 0 auto;
  text-align: center;
  color: #777;
  font-weight: 800;
  font-size: clamp(13px, 3vw, 22px);
  letter-spacing: 5px;
  opacity: .65;
}

.brand {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  font-size: clamp(36px, 8vw, 55px);
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 3px 18px #000;
}

.brand span { color: var(--yellow); }

.brand-mark {
  width: 105px;
  height: 85px;
  margin: 0 auto 8px;
  position: relative;
}

.brand-mark:before {
  content: "U";
  position: absolute;
  inset: 0;
  font-size: 100px;
  line-height: 85px;
  font-weight: 900;
  color: #fff;
}

.brand-mark:after {
  content: "4";
  position: absolute;
  right: 3px;
  bottom: -5px;
  font-size: 63px;
  font-weight: 900;
  color: var(--yellow);
}

.container {
  width: min(100% - 36px, 625px);
  margin: 24px auto 40px;
}

.heading {
  text-align: center;
  margin: 8px 0 26px;
}

.heading h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 500;
}

.heading p {
  margin: 0;
  line-height: 1.5;
  font-size: 17px;
  color: #5b471c;
}

.field {
  display: block;
  width: 100%;
  min-height: 70px;
  border: 2px solid #e6e6e6;
  border-radius: 9px;
  background: white;
  padding: 17px 20px;
  margin: 0 0 15px;
  color: #222;
  font-size: 19px;
  outline-offset: 3px;
}

.field::placeholder { color: #999; }

.phone-row {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 12px;
}

.country {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: 2px solid #e6e6e6;
  border-radius: 9px;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 600;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.5;
}

.agreement input {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  accent-color: #111;
}

.btn {
  display: block;
  width: 100%;
  padding: 19px 14px;
  border: 0;
  border-radius: 10px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin: 14px 0;
}

.btn-dark {
  color: var(--yellow);
  background: linear-gradient(#282828, #030303);
  box-shadow: 0 3px 5px #0002;
}

.btn-yellow {
  color: #fff5d5;
  background: #bfa24d;
}

.links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
  font-size: 16px;
}

.links a { text-underline-offset: 3px; }

.switch {
  text-align: center;
  margin: 22px 0;
  font-size: 17px;
}

.status {
  display: none;
  padding: 12px;
  border-radius: 8px;
  background: #fff3cd;
  color: #4d3900;
  line-height: 1.5;
  margin: 12px 0;
}

.status.show { display: block; }

@media (max-width: 480px) {
  .hero { height: 285px; }
  .container { width: calc(100% - 48px); margin-top: 23px; }
  .heading { margin-bottom: 24px; }
  .heading p { font-size: 15px; }
  .field { min-height: 72px; font-size: 17px; padding: 17px 15px; }
  .phone-row { grid-template-columns: 123px minmax(0, 1fr); gap: 10px; }
  .btn { padding: 18px 12px; font-size: 18px; }
  .links { font-size: 14px; }
}
