:root {
  --bg-color: #000000;
  --text-primary: #e7e9ea;
  --text-secondary: #71767b;
  --blue: #1d9bf0;
  --btn-hover: #e6e6e6;
  --primary-color: #eff3f4;
  --primary-hover: #d7dbdc;
  --border-color: #2f3336;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  flex: 1;
  width: 100%;
}

.left-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.logo-large {
  width: 100%;
  max-width: 380px;
  fill: var(--text-primary);
}

.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  min-width: 45vw;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 48px;
  line-height: 84px;
}

h2 {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 32px;
}

.auth-options {
  max-width: 400px;
  width: 100%;
}

.btn {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  margin-bottom: 16px;
  transition: background-color 0.2s;
}

.btn-oauth {
  background-color: #fff;
  color: #0f1419;
  border: 1px solid rgb(207, 217, 222);
}

.btn-oauth:hover {
  background-color: var(--btn-hover);
}

.btn-oauth img,
.btn-oauth svg {
  width: 24px;
  margin-right: 12px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 12px 0;
  color: var(--text-primary);
  font-size: 15px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider span {
  padding: 0 8px;
}

.btn-primary {
  background-color: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a8cd8;
}

.terms {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 18px;
  margin-top: 8px;
  margin-bottom: 48px;
}

.terms a {
  color: var(--blue);
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

.sign-in-section h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 32px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(29, 155, 240, 0.1);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 16px;
  background-color: var(--bg-color);
}

footer a,
footer span {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  margin: 4px 8px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .left-panel {
    padding: 20px;
    width: 100%;
  }

  .logo-large {
    max-width: 45px;
  }

  .right-panel {
    width: 100%;
    padding: 20px 32px;
    align-items: flex-start;
  }

  h1 {
    font-size: 40px;
    line-height: 52px;
  }
}

.go-back-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.go-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}