/* Chatlnked unified account start page */

:root {
  --cl-accent: #2E9CCA;
  --cl-accent-deep: #29648A;
  --cl-text: rgba(255, 255, 255, 0.95);
  --cl-text-soft: rgba(255, 255, 255, 0.88);
}

html,
body {
  min-height: 100%;
}

.account-start-body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cl-text);
  background: #050913 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.account-start-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 31vw) minmax(0, 1fr);
  background: #050913;
  isolation: isolate;
}

.account-start-actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(22px, 4vw, 52px);
  background:
    radial-gradient(circle at 0% 18%, rgba(46, 156, 202, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(4, 8, 16, 0.985), rgba(7, 13, 24, 0.985)),
    #050913;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 18px 0 42px rgba(0, 0, 0, 0.34);
}

.account-start-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent 40%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.028), transparent 42%);
}

.account-start-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 30px 28px 26px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(108, 132, 189, 0.18);
  background:
    linear-gradient(180deg, rgba(26, 34, 60, 0.70), rgba(11, 18, 34, 0.76)),
    rgba(8, 12, 24, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 16px 34px rgba(0, 0, 0, 0.34);
}

.account-start-card-title {
  margin: 0 0 18px;
  color: var(--cl-text-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.account-start-btn {
  min-height: 52px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(71, 220, 255, 0.78);
  background: linear-gradient(135deg, var(--cl-accent), var(--cl-accent-deep));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(46, 156, 202, 0.18),
    0 0 18px rgba(46, 156, 202, 0.24),
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.account-start-btn:hover,
.account-start-btn:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.04);
  border-color: rgba(96, 230, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(46, 156, 202, 0.24),
    0 0 22px rgba(46, 156, 202, 0.32),
    0 16px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.account-start-btn:focus-visible {
  outline: 3px solid rgba(46, 156, 202, 0.35);
  outline-offset: 4px;
}

.account-start-visual {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 51% 48%, rgba(255, 255, 255, 0.06), transparent 18%),
    url("/static/img/account_start_chat_bridge_background.png"),
    linear-gradient(135deg, #090f1f, #050913);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.account-start-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 49% 46%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 45% 45%, rgba(168, 90, 255, 0.14), transparent 28%),
    radial-gradient(circle at 58% 52%, rgba(46, 156, 202, 0.12), transparent 28%);
  mix-blend-mode: screen;
}

.account-start-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 9, 19, 0.08), transparent 30%, transparent 72%, rgba(5, 9, 19, 0.12)),
    radial-gradient(circle at 50% 48%, transparent 0 26%, rgba(5, 9, 19, 0.06) 48%, rgba(5, 9, 19, 0.44) 100%);
}

/* The decorative HTML scaffold remains in the template but is no longer used.
   The real synthetic chat bridge artwork now comes from the background image. */
.account-start-chat-bg {
  display: none;
}

.account-start-hero-mark {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 53%;
  width: min(30vw, 460px);
  transform: translate(-50%, -50%);
}

.account-start-hero-mark::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 28%, transparent 62%);
  filter: blur(26px);
}

.account-start-hero-mark::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(174, 90, 255, 0.28), transparent 48%),
    radial-gradient(circle at 54% 54%, rgba(46, 156, 202, 0.22), transparent 52%);
  filter: blur(18px);
}

.account-start-hero-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.94))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 24px rgba(174, 90, 255, 0.36))
    drop-shadow(0 0 34px rgba(46, 156, 202, 0.28));
}

@media (max-width: 991.98px) {
  .account-start-page {
    grid-template-columns: 1fr;
  }

  .account-start-actions {
    min-height: 44vh;
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .account-start-visual {
    min-height: 56vh;
    background-position: center center;
  }

  .account-start-card {
    max-width: 560px;
  }

  .account-start-hero-mark {
    width: min(54vw, 340px);
    left: 50%;
  }
}

@media (max-width: 575.98px) {
  .account-start-actions {
    gap: 18px;
    padding: 20px;
  }

  .account-start-card {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .account-start-card-title {
    font-size: 0.98rem;
    margin-bottom: 14px;
  }

  .account-start-btn {
    min-height: 50px;
    font-size: 0.95rem;
  }

  .account-start-visual {
    min-height: 48vh;
  }

  .account-start-hero-mark {
    width: min(68vw, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-start-btn,
  .account-start-btn:hover,
  .account-start-btn:focus {
    transition: none;
    transform: none;
  }
}
