@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #d5b775;
  --muted: #8e8d86;
  --line: #ffffff18;
}

* { box-sizing: border-box; }

body.jsbot-login {
  margin: 0;
  background: #101110;
  color: #eeeae1;
  font-family: Manrope, "Microsoft YaHei", sans-serif;
}

button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.viewport {
  margin: 0;
  min-height: 100svh;
  height: auto;
  border: 0;
  position: relative;
  overflow: hidden;
  background: #090b0a;
}

.scene {
  height: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
}

.visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 65px;
  min-height: 100svh;
  background:
    linear-gradient(0deg, #070a08ee 0%, #070a08b3 23%, transparent 55%),
    url('../img/jsbot-football-hero.png') center 30% / cover no-repeat;
}

.visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .55;
}

.visual .mini {
  position: absolute;
  top: 39px;
  left: 43px;
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 800;
  z-index: 2;
  color: #eeeae1;
}

.tag {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 19px;
  position: relative;
  z-index: 1;
}

.visual h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 4.3vw, 70px);
  line-height: 1.02;
  font-weight: 400;
  margin: 0 0 22px;
  z-index: 1;
  position: relative;
}

.visual h2 em {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

.visual p {
  font-size: 15px;
  color: #9c9c90;
  line-height: 1.9;
  z-index: 1;
  position: relative;
  margin: 0;
}

.form-side {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0d100e;
  border-left: 1px solid var(--line);
  min-height: 100svh;
}

.form-wrap {
  width: 100%;
  max-width: 330px;
}

.eyebrow {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.form-wrap h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 12px;
}

.sub {
  font-size: 14px;
  color: #848b81;
  margin: 0 0 33px;
  line-height: 1.8;
}

.field { margin-bottom: 20px; }

label {
  display: block;
  font-size: 13px;
  color: #babcaf;
  margin-bottom: 10px;
}

.input-box { position: relative; }

input[type=password],
input[type=text] {
  width: 100%;
  height: 47px;
  background: #ffffff03;
  border: 1px solid #a9b3a526;
  border-radius: 4px;
  color: #eee;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
}

input:focus { border-color: var(--gold); }
input::placeholder { color: #545e53; }

.eye {
  position: absolute;
  right: 8px;
  top: 10px;
  background: none;
  border: 0;
  color: #929783;
  font-size: 16px;
  padding: 3px 6px;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}

.captcha-row .field { margin-bottom: 0; }

.captcha-row img {
  height: 47px;
  width: auto;
  max-width: 120px;
  border-radius: 4px;
  border: 1px solid #a9b3a526;
  cursor: pointer;
  display: block;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 26px;
  font-size: 12px;
  color: #969c91;
}

.remember label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: #969c91;
}

input[type=checkbox] {
  accent-color: var(--gold);
  margin: 0;
}

.submit {
  width: 100%;
  height: 47px;
  margin-top: 30px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(110deg, #dbc185, #b9934e);
  color: #17190f;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
}

.secure {
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  color: #525e4f;
  letter-spacing: 1px;
}

.corner {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 9px;
  color: #59634f;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #edcb75;
  outline-offset: 4px;
}

label.error {
  color: #e2a0a0;
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .visual { padding: 35px; }
  .form-side { padding: 30px; }
}

@media (max-width: 620px) {
  .scene { grid-template-columns: 1fr; }
  .visual {
    min-height: 380px;
    background-position: center 32%;
    padding: 180px 30px 30px;
  }
  .visual .mini {
    top: 22px;
    left: 25px;
    font-size: 27px;
  }
  .visual h2 {
    font-size: 32px;
    max-width: 100%;
  }
  .visual .tag {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .visual p {
    display: block;
    font-size: 14px;
    margin-bottom: 0;
  }
  .form-side {
    min-height: 560px;
    padding: 38px 28px 58px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .form-wrap h2 { font-size: 29px; }
  .corner { display: none; }
  .secure { font-size: 8px; }
}
