@font-face {
  font-family: "Inter";
  src: local("Inter Regular"), url("assets/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Medium"), url("assets/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter SemiBold"), url("assets/inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Bold"), url("assets/inter-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter ExtraBold"), url("assets/inter-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f9f9ff;
  --surface: #ffffff;
  --surface-low: #eff3ff;
  --surface-high: #dee9fd;
  --primary: #003fb1;
  --primary-bright: #1a56db;
  --tertiary: #32477f;
  --text: #121c2a;
  --text-muted: #434654;
  --outline: #c3c5d7;
  --focus: rgba(0, 63, 177, 0.25);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

button,
a[href] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mobile-only {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 100px;
  border-bottom: 1px solid var(--outline);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(18, 28, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  justify-self: start;
  color: var(--primary);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.social-button:hover {
  transform: translateY(-1px);
}

.social-button-whatsapp {
  border-color: #b9dec5;
  background: #eefaf2;
  color: #16753a;
}

.social-button-whatsapp:hover {
  background: #e2f6e9;
  box-shadow: 0 7px 18px rgba(22, 117, 58, 0.12);
}

.social-button-telegram {
  border-color: #c2d4f8;
  background: #edf3ff;
  color: #0752bd;
}

.social-button-telegram:hover {
  background: #e2ecff;
  box-shadow: 0 7px 18px rgba(7, 82, 189, 0.12);
}

.social-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  height: 480px;
  place-items: center;
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(219, 225, 255, 0.83) 0, rgba(231, 235, 255, 0.42) 28%, rgba(249, 249, 255, 0) 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  transform: translateY(5px);
}

.hero h1 {
  margin: 0 0 27px;
  color: var(--primary);
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero p {
  margin: 0;
  color: #414554;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.marquee {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  overflow: hidden;
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  background: #dce8fb;
  box-shadow: 0 5px 14px rgba(18, 28, 42, 0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  color: #1654bc;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  will-change: transform;
}

.marquee-track span {
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}

.actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  height: 350px;
  padding-top: 122px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 63px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.action-button:hover {
  transform: translateY(-2px);
}

.action-button-primary {
  background: #0747be;
  box-shadow: 0 10px 26px rgba(0, 63, 177, 0.17);
  color: #fff;
}

.action-button-primary:hover {
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 63, 177, 0.23);
}

.action-button-secondary {
  border: 1px solid #0649d7;
  background: var(--surface);
  color: #002da3;
}

.action-button-secondary:hover {
  background: var(--surface-low);
}

.value-proposition {
  display: grid;
  height: 165px;
  place-items: start center;
}

.value-proposition p {
  margin: 34px 0 0;
  color: #294985;
  font-size: 43px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transform: translateX(15px);
}

@media (max-width: 767px) {
  body {
    min-height: max(884px, 100dvh);
  }

  .desktop-only,
  .value-proposition {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .site-header {
    height: 63px;
  }

  .header-inner {
    display: flex;
    width: 100%;
    padding: 0 20px;
  }

  .brand {
    font-size: 30px;
    letter-spacing: -0.035em;
  }

  .hero {
    height: 132px;
  }

  .hero-copy {
    transform: translateY(13px);
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1;
  }

  .hero p {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .hero-glow {
    background: none;
  }

  .marquee {
    width: calc(100% - 24px);
    height: 46px;
    margin: 0 12px;
    background: #e5edfc;
    box-shadow: none;
  }

  .marquee-track {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    animation-duration: 20s;
  }

  .actions {
    flex-direction: column;
    gap: 13px;
    width: 100%;
    height: auto;
    padding: 25px 12px 0;
  }

  .action-button {
    gap: 8px;
    width: 100%;
    height: 53px;
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .action-button:hover {
    transform: none;
  }

  .action-button-primary {
    background: #205bdd;
    box-shadow: none;
  }

  .action-button-secondary {
    border-color: var(--outline);
    box-shadow: 0 1px 3px rgba(18, 28, 42, 0.03);
  }

  .action-button svg {
    display: block;
    width: 17px;
    height: 17px;
    stroke-width: 1.7;
  }

  .mobile-content {
    padding: 0 12px;
  }

  .content-section h2 {
    margin: 0;
    color: #090b0f;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 24px;
    text-align: center;
  }

  .card-list {
    display: grid;
    gap: 12px;
  }

  .features {
    padding-top: 27px;
    padding-bottom: 32px;
  }

  .features h2 {
    margin-bottom: 19px;
  }

  .features .card-list {
    gap: 11px;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 109px;
    padding: 11px 10px 10px;
    border: 1px solid var(--outline);
    border-radius: 10px;
    background: var(--surface);
    text-align: center;
  }

  .feature-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 4px;
    color: #003bc5;
    stroke-width: 2;
  }

  .feature-card h3 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 15px;
  }

  .feature-card p {
    margin: 0;
    color: #343744;
    font-size: 11px;
    font-weight: 400;
    line-height: 15px;
  }

}

@media (min-width: 768px) and (max-width: 1100px) {
  .brand {
    font-size: 38px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .value-proposition p {
    font-size: 32px;
  }
}

/* Authentication */

.auth-page,
.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 20%, rgba(216, 227, 255, 0.65), transparent 30%),
    var(--background);
}

.auth-header,
.dashboard-header {
  position: relative;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1.14fr);
  gap: 42px;
  width: min(1260px, calc(100% - 64px));
  min-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 46px 0;
}

.auth-intro {
  position: relative;
  display: flex;
  min-height: 660px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 17%, rgba(127, 169, 255, 0.5), transparent 34%),
    linear-gradient(145deg, #074bbf 0%, #003493 100%);
  box-shadow: 0 28px 70px rgba(0, 45, 132, 0.2);
  color: #fff;
}

.auth-intro::before,
.auth-intro::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.auth-intro::before {
  top: -90px;
  right: -170px;
  width: 430px;
  height: 430px;
}

.auth-intro::after {
  right: -70px;
  bottom: -150px;
  width: 330px;
  height: 330px;
}

.back-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.back-link svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.auth-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 450px;
  margin: auto 0;
  padding: 46px 0;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #2d62c8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.auth-intro .eyebrow {
  color: #d3e2ff;
}

.auth-intro h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.auth-intro p {
  max-width: 400px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.trust-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.trust-note svg {
  width: 23px;
  height: 23px;
}

.auth-card {
  align-self: center;
  width: 100%;
  padding: 42px 48px 34px;
  border: 1px solid rgba(195, 197, 215, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(18, 28, 42, 0.1);
}

.auth-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 31px;
}

.auth-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(145deg, #155bde, #003ba5);
  box-shadow: 0 10px 24px rgba(0, 63, 177, 0.2);
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  place-items: center;
}

.auth-card-heading h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.auth-card-heading p {
  margin: 0;
  color: #6b7080;
  font-size: 14px;
}

.auth-form {
  display: grid;
  gap: 19px;
}

.honeypot-field {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-group {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.field-group label {
  color: #303746;
  font-size: 13px;
  font-weight: 650;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > svg {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #75809a;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 48px;
  border: 1px solid #c9cede;
  border-radius: 12px;
  outline: 0;
  background: #fbfcff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.input-wrap input::placeholder {
  color: #9399a8;
}

.input-wrap input:hover {
  border-color: #a8b0c6;
}

.input-wrap input:focus {
  border-color: #1b59d6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 86, 219, 0.12);
}

.password-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  color: #727a8c;
  cursor: pointer;
  place-items: center;
}

.password-toggle:hover {
  background: #eef3ff;
  color: var(--primary);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

.remember-control {
  display: inline-flex;
  align-items: flex-start;
  justify-self: start;
  gap: 10px;
  color: #444c5b;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  user-select: none;
}

.remember-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.checkbox-ui {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid #aeb5c7;
  border-radius: 6px;
  background: #fff;
  color: #fff;
  place-items: center;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.checkbox-ui svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  stroke-width: 2.5;
}

.remember-control input:checked + .checkbox-ui {
  border-color: var(--primary-bright);
  background: var(--primary-bright);
}

.remember-control input:checked + .checkbox-ui svg {
  opacity: 1;
}

.remember-control input:focus-visible + .checkbox-ui {
  box-shadow: 0 0 0 4px var(--focus);
}

.captcha-field {
  gap: 9px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 10px;
  width: min(100%, 364px);
}

.captcha-image-wrap {
  display: grid;
  height: 68px;
  overflow: hidden;
  border: 1px solid #c9cede;
  border-radius: 12px;
  background: #f3f6ff;
  color: #777f92;
  font-size: 12px;
  place-items: center;
}

.captcha-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.captcha-image-wrap img[hidden],
.captcha-image-wrap span[hidden] {
  display: none;
}

.captcha-refresh {
  display: grid;
  width: 54px;
  height: 68px;
  padding: 0;
  border: 1px solid #c9cede;
  border-radius: 12px;
  background: #fff;
  color: #245bc4;
  cursor: pointer;
  place-items: center;
  transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.captcha-refresh:hover {
  border-color: #1b59d6;
  background: #eef3ff;
}

.captcha-refresh:disabled {
  cursor: wait;
  opacity: 0.58;
}

.captcha-refresh svg {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}

.form-message {
  display: none;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.form-message[data-type="error"] {
  display: block;
  border: 1px solid #f4c8ca;
  background: #fff1f1;
  color: #a2262c;
}

.form-message[data-type="success"] {
  display: block;
  border: 1px solid #bce2ce;
  background: #effaf4;
  color: #176b3e;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  margin-top: 1px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1458d7, #003aa8);
  box-shadow: 0 12px 28px rgba(0, 63, 177, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(0, 63, 177, 0.27);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.submit-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.auth-switch {
  margin: 25px 0 0;
  color: #696f7e;
  font-size: 14px;
  text-align: center;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Dashboard */

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: #fff;
  color: #394253;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.logout-button:hover {
  border-color: #a4acc0;
  background: #f7f9ff;
}

.logout-button svg {
  width: 19px;
  height: 19px;
}

.dashboard-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.dashboard-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 35px;
}

.dashboard-welcome h1 {
  margin: 0;
  color: #131d2c;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.dashboard-welcome p {
  margin: 0;
  color: #646b79;
  font-size: 16px;
}

.manager-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.manager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.manager-button:hover {
  transform: translateY(-2px);
}

.manager-button svg {
  width: 20px;
  height: 20px;
}

.manager-button-telegram {
  background: linear-gradient(135deg, #147de1, #0753ba);
  box-shadow: 0 12px 28px rgba(7, 83, 186, 0.22);
}

.manager-button-telegram:hover {
  background: linear-gradient(135deg, #0f72d2, #0649a5);
  box-shadow: 0 15px 30px rgba(7, 83, 186, 0.28);
}

.manager-button-whatsapp {
  background: linear-gradient(135deg, #2ac86a, #159447);
  box-shadow: 0 12px 28px rgba(21, 148, 71, 0.2);
}

.manager-button-whatsapp:hover {
  background: linear-gradient(135deg, #24ba60, #11813e);
  box-shadow: 0 15px 30px rgba(21, 148, 71, 0.26);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.dashboard-card {
  border: 1px solid #ccd1df;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(18, 28, 42, 0.07);
}

.profile-card {
  grid-row: span 2;
  min-height: 0;
  padding: 31px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e3ec;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  color: #5070ad;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-card h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.profile-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(145deg, #dce8ff, #bdd3ff);
  color: #003fae;
  font-size: 21px;
  font-weight: 800;
  place-items: center;
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
}

.profile-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #eceef4;
}

.profile-list > div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  color: #777d8a;
  font-size: 13px;
}

.profile-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #242d3c;
  font-size: 14px;
  font-weight: 650;
}

.profile-balance-row dd {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.profile-topup-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #1458d7, #003aa8);
  box-shadow: 0 11px 25px rgba(0, 63, 177, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.profile-topup-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 63, 177, 0.27);
}

.profile-topup-button svg {
  width: 19px;
  height: 19px;
}

.dashboard-card-accent {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 26px 30px;
  border-color: transparent;
  background:
    radial-gradient(circle at 95% 4%, rgba(142, 181, 255, 0.52), transparent 32%),
    linear-gradient(145deg, #084cbe, #00338f);
  box-shadow: 0 18px 46px rgba(0, 51, 143, 0.2);
  color: #fff;
}

.status-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.13);
  place-items: center;
}

.status-icon svg {
  width: 25px;
  height: 25px;
}

.dashboard-card-accent .card-kicker {
  color: #ccdcff;
}

.dashboard-card-accent h2 {
  max-width: calc(100% - 60px);
  margin: 0 0 12px;
}

.dashboard-card-accent p {
  max-width: 390px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-card-accent a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.status-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.status-contact-button:hover {
  transform: translateY(-1px);
}

.status-contact-button svg {
  width: 17px;
  height: 17px;
}

.dashboard-card-accent .status-contact-button-telegram {
  border-color: rgba(255, 255, 255, 0.9);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 31, 91, 0.16);
  color: #0753ba;
}

.dashboard-card-accent .status-contact-button-telegram:hover {
  background: #edf5ff;
  box-shadow: 0 10px 22px rgba(0, 31, 91, 0.22);
}

.dashboard-card-accent .status-contact-button-whatsapp {
  border-color: #2ac86a;
  background: #20ad56;
  box-shadow: 0 8px 18px rgba(0, 76, 31, 0.2);
  color: #fff;
}

.dashboard-card-accent .status-contact-button-whatsapp:hover {
  background: #179b49;
  box-shadow: 0 10px 22px rgba(0, 76, 31, 0.26);
}

.support-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 156px;
  padding: 25px 29px;
}

.support-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: #e7efff;
  color: #064cc9;
  place-items: center;
}

.support-icon svg {
  width: 27px;
  height: 27px;
}

.support-card h2 {
  margin-bottom: 6px;
  font-size: 19px;
}

.support-card p {
  margin: 0;
  color: #6a7180;
  font-size: 13px;
  line-height: 1.5;
}

.topup-dialog {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
}

.topup-dialog[hidden] {
  display: none;
}

.topup-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(8, 19, 42, 0.56);
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.topup-dialog-card {
  position: relative;
  width: min(470px, 100%);
  padding: 34px;
  border: 1px solid rgba(185, 199, 230, 0.78);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(5, 23, 57, 0.27);
  text-align: center;
}

.topup-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: #eef3ff;
  color: #42516e;
  cursor: pointer;
  place-items: center;
}

.topup-dialog-close:hover {
  background: #dfe9ff;
}

.topup-dialog-close svg {
  width: 19px;
  height: 19px;
}

.topup-dialog-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dce8ff, #bdd3ff);
  color: #064cc9;
  place-items: center;
}

.topup-dialog-icon svg {
  width: 29px;
  height: 29px;
}

.topup-dialog-card .card-kicker {
  margin-bottom: 7px;
}

.topup-dialog-card h2 {
  margin: 0;
  color: #172136;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.topup-dialog-card p {
  margin: 14px auto 24px;
  color: #687184;
  font-size: 14px;
  line-height: 1.55;
}

.topup-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.topup-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border-radius: 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.topup-contact:hover {
  transform: translateY(-1px);
}

.topup-contact svg {
  width: 19px;
  height: 19px;
}

.topup-contact-telegram {
  background: linear-gradient(135deg, #147de1, #0753ba);
  box-shadow: 0 10px 22px rgba(7, 83, 186, 0.2);
}

.topup-contact-whatsapp {
  background: linear-gradient(135deg, #2ac86a, #159447);
  box-shadow: 0 10px 22px rgba(21, 148, 71, 0.19);
}

.dialog-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .auth-shell {
    grid-template-columns: minmax(300px, 0.72fr) minmax(490px, 1.28fr);
    gap: 24px;
    width: min(940px, calc(100% - 40px));
  }

  .auth-intro {
    padding: 28px;
  }

  .auth-card {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-width: 767px) {
  .auth-page,
  .dashboard-page {
    min-height: 100dvh;
  }

  .social-links {
    gap: 5px;
  }

  .social-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
  }

  .social-button span {
    display: none;
  }

  .social-button svg {
    width: 18px;
    height: 18px;
  }

  .auth-shell {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 0 12px 28px;
  }

  .auth-intro {
    min-height: 238px;
    margin: 12px 0;
    padding: 20px;
    border-radius: 20px;
  }

  .auth-intro::before {
    top: -150px;
    right: -180px;
  }

  .auth-intro::after,
  .trust-note {
    display: none;
  }

  .back-link {
    font-size: 12px;
  }

  .back-link svg {
    width: 17px;
    height: 17px;
  }

  .auth-intro-copy {
    margin: 0;
    padding: 31px 0 0;
  }

  .auth-intro .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .auth-intro h1 {
    max-width: 290px;
    margin-bottom: 10px;
    font-size: 30px;
    letter-spacing: -0.045em;
  }

  .auth-intro p {
    font-size: 12px;
    line-height: 1.5;
  }

  .auth-card {
    padding: 25px 20px 22px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(18, 28, 42, 0.07);
  }

  .auth-card-heading {
    gap: 12px;
    margin-bottom: 23px;
  }

  .auth-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 22px;
  }

  .auth-card-heading h2 {
    font-size: 23px;
  }

  .auth-card-heading p {
    font-size: 12px;
  }

  .auth-form {
    gap: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field-group label {
    font-size: 12px;
  }

  .input-wrap input {
    height: 51px;
    font-size: 13px;
  }

  .remember-control {
    font-size: 12px;
  }

  .submit-button {
    height: 52px;
    font-size: 13px;
  }

  .auth-switch {
    margin-top: 20px;
    font-size: 12px;
  }

  .dashboard-header-actions {
    gap: 5px;
  }

  .logout-button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    place-items: center;
  }

  .logout-button span {
    display: none;
  }

  .logout-button svg {
    width: 17px;
    height: 17px;
  }

  .dashboard-shell {
    width: 100%;
    padding: 34px 12px 45px;
  }

  .dashboard-welcome {
    display: block;
    margin-bottom: 24px;
  }

  .dashboard-welcome .eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .dashboard-welcome h1 {
    margin-bottom: 8px;
    font-size: 30px;
  }

  .dashboard-welcome p {
    font-size: 12px;
    line-height: 1.5;
  }

  .manager-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 20px;
  }

  .manager-button {
    width: 100%;
    min-height: 50px;
    font-size: 12px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-card {
    border-radius: 17px;
  }

  .profile-card {
    grid-row: auto;
    min-height: auto;
    padding: 22px;
  }

  .card-heading {
    padding-bottom: 19px;
  }

  .dashboard-card h2 {
    font-size: 19px;
  }

  .profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 17px;
  }

  .profile-list > div {
    display: block;
    padding: 16px 0;
  }

  .profile-list dt {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .profile-list dd {
    font-size: 13px;
  }

  .profile-balance-row dd {
    font-size: 19px;
  }

  .profile-topup-button {
    min-height: 48px;
    margin-top: 13px;
    font-size: 13px;
  }

  .dashboard-card-accent {
    min-height: 0;
    padding: 24px;
  }

  .status-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-contact-button {
    min-height: 43px;
  }

  .status-icon {
    top: 20px;
    right: 20px;
  }

  .dashboard-card-accent p {
    padding-right: 4px;
    font-size: 12px;
  }

  .support-card {
    min-height: 134px;
    padding: 22px;
  }

  .support-card p {
    font-size: 11px;
  }

  .topup-dialog {
    padding: 14px;
  }

  .topup-dialog-card {
    padding: 29px 20px 20px;
    border-radius: 20px;
  }

  .topup-dialog-card h2 {
    padding: 0 12px;
    font-size: 22px;
  }

  .topup-dialog-card p {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .topup-dialog-actions {
    grid-template-columns: 1fr;
  }
}
