:root {
  --topo: url("../img/contours.svg");
  --topo-gradient: linear-gradient(168deg, #c5ebfd 0%, #8fd4f6 18%, #5eb6ea 46%, #3b9ad8 74%, #2f8ccc 100%);
  --primary: #347db9;
  --primary-rgb: 52, 125, 185;
  --brand: #1e63b0;
  --heading: #0b0f19;
  --body: #565973;
  --nav: #33354d;
  --muted: #9397ad;
  --secondary: #eff2fc;
  --bg-secondary: #f3f6ff;
  --border: #e2e5f1;
  --yellow: #ffe14d;
  --shadow-sm: 0 .275rem .75rem -.0625rem rgba(11, 15, 25, .06), 0 .125rem .4rem -.0625rem rgba(11, 15, 25, .03);
  --shadow: 0 .275rem 1.25rem rgba(11, 15, 25, .05), 0 .25rem .5625rem rgba(11, 15, 25, .03);
  --shadow-lg: 0 .3rem 1.525rem -.375rem rgba(11, 15, 25, .1), 0 .25rem .8125rem -.125rem rgba(11, 15, 25, .06);

  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-body-font-family: "Urbanist", sans-serif;
  --bs-body-color: var(--body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
  --bs-link-color: var(--primary);
  --bs-link-color-rgb: var(--primary-rgb);
  --bs-link-hover-color: #2a6494;
  --bs-success: #22c55e;
  --bs-success-rgb: 34, 197, 94;
  --bs-border-color: var(--border);
}

html { scroll-behavior: smooth; }
body { font-family: "Urbanist", sans-serif; color: var(--body); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-4, .display-6 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.3;
}
.display-4 { line-height: 1.2; }
.text-brand { color: var(--brand); }
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--primary) !important; }
.fs-sm { font-size: .875rem !important; }
.fs-md { font-size: 1rem !important; }
.fs-lg { font-size: 1.125rem !important; }
.fs-xl { font-size: 1.25rem !important; }
.opacity-80 { opacity: .8; }
.zindex-2 { z-index: 2; }
.zindex-5 { z-index: 5; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
a { transition: color .2s ease-in-out; }

/* Page loading */
.page-loading {
  position: fixed; inset: 0;
  transition: all .4s .2s ease-in-out;
  background-color: #fff;
  opacity: 0; visibility: hidden;
  z-index: 9999;
}
.page-loading.active { opacity: 1; visibility: visible; }
.page-loading-inner {
  position: absolute; top: 50%; left: 0; width: 100%;
  text-align: center;
  transform: translateY(-50%);
  transition: opacity .2s ease-in-out;
  opacity: 0;
}
.page-loading.active > .page-loading-inner { opacity: 1; }
.page-loading-inner > span { display: block; font-size: 1rem; color: var(--muted); }
.page-spinner {
  display: inline-block;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: .75rem;
  border: .15em solid #b4b7c9;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner .75s linear infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
  --bs-btn-padding-x: 1.75rem;
  --bs-btn-padding-y: .625rem;
  --bs-btn-font-size: .875rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: .375rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.btn-lg { --bs-btn-padding-x: 2rem; --bs-btn-padding-y: .785rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: .5rem; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .475rem; --bs-btn-font-size: .875rem; }
.btn-primary {
  --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: #2c6a9d; --bs-btn-hover-border-color: #2c6a9d;
  --bs-btn-active-bg: #2c6a9d; --bs-btn-active-border-color: #2c6a9d;
  --bs-btn-focus-shadow-rgb: var(--primary-rgb);
}
.btn-primary:hover { box-shadow: 0 .5rem 1.125rem -.5rem rgba(var(--primary-rgb), .9); }
.btn-secondary {
  --bs-btn-bg: var(--secondary); --bs-btn-border-color: var(--secondary); --bs-btn-color: var(--nav);
  --bs-btn-hover-bg: var(--secondary); --bs-btn-hover-border-color: var(--secondary); --bs-btn-hover-color: var(--heading);
  --bs-btn-active-bg: var(--secondary); --bs-btn-active-border-color: var(--secondary); --bs-btn-active-color: var(--heading);
}
.btn-secondary:hover { box-shadow: 0 .375rem .875rem -.3rem rgba(158, 166, 196, .5); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-color: var(--nav); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--primary); }
.btn-light:hover { box-shadow: 0 .375rem .875rem -.3rem rgba(11, 15, 25, .25); }
.btn-link { --bs-btn-color: var(--primary); --bs-btn-hover-color: #2c6a9d; text-decoration: none; font-weight: 600; }
.btn-link.text-success:hover { color: #17a34a !important; }
.btn-icon { --bs-btn-padding-x: 0; --bs-btn-padding-y: 0; width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.btn-icon > i { font-size: 1.5rem; }
.btn-icon.btn-lg { width: auto; height: auto; padding: .785rem 2rem; }
.btn-telegram:hover { background-color: #229ed9 !important; border-color: #229ed9 !important; color: #fff !important; box-shadow: 0 .375rem .875rem -.3rem rgba(34, 158, 217, .6); }
.btn-prev, .btn-next {
  width: 3rem; height: 3rem;
  background-color: #fff; color: var(--nav);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.btn-prev:hover, .btn-next:hover { color: var(--primary); box-shadow: var(--shadow-lg); background-color: #fff; }

/* Navbar */
.header { top: 0; left: 0; width: 100%; z-index: 1030; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.navbar-brand {
  display: flex; align-items: center;
  color: var(--brand) !important;
  font-weight: 800; font-size: 1.375rem;
  gap: .5rem;
}
.navbar-nav .nav-link { color: var(--nav); font-weight: 800; font-size: 1rem; padding: .5rem 1rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); }
.header.navbar-stuck {
  position: fixed !important;
  background-color: #fff;
  box-shadow: var(--shadow);
  padding-top: .75rem; padding-bottom: .75rem;
  animation: navbar-show .25s;
}
@keyframes navbar-show { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (min-width: 992px) {
  .header > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: .25rem;
  }
  .header .navbar-brand {
    flex: 0 0 auto;
    margin-right: .5rem;
  }
  .header .offcanvas {
    position: static;
    visibility: visible !important;
    transform: none;
    background: transparent;
    border: 0;
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    height: auto !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    margin: 0;
  }
  .header .offcanvas .offcanvas-header { display: none; }
  .header .offcanvas-body {
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    flex-grow: 0;
  }
  .header .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .15rem;
    margin: 0 !important;
  }
  .header .navbar-nav .nav-link {
    white-space: nowrap;
    padding: .5rem .75rem !important;
  }
  .header .header-toolbar {
    flex: 0 0 auto;
    margin-left: auto !important;
  }
}
@media (max-width: 991.98px) {
  .header > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
  }
  .header .navbar-brand {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 0;
  }
  .header #navbarNav {
    order: 0;
  }
  .header .header-toolbar {
    order: 10;
    margin-left: auto !important;
    gap: .35rem;
  }
  .header .landing-mobile-menu {
    --bs-offcanvas-width: max-content;
    --mobile-menu-brand: #1d5fa6;
    --mobile-menu-banner: #e3f3ff;
    --mobile-menu-highlight: #edf6ff;
    max-width: calc(100vw - 24px);
    border-inline-start: 1px solid var(--border);
  }
  html[data-theme="dark"] .header .landing-mobile-menu {
    --mobile-menu-brand: #9dd5ff;
    --mobile-menu-banner: #1d3651;
    --mobile-menu-highlight: #233c56;
  }
  .header .landing-mobile-menu__header {
    min-height: 76px;
    padding: 14px 20px;
    background: var(--mobile-menu-banner);
  }
  .landing-mobile-menu__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mobile-menu-brand);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -.025em;
  }
  .header .landing-mobile-menu .btn-close { padding: .875rem; }
  .header .landing-mobile-menu .offcanvas-body { padding: 14px 16px; }
  .header .landing-mobile-menu .navbar-nav { gap: 4px; }
  .header .landing-mobile-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 9px;
    font-weight: 700;
  }
  .header .landing-mobile-menu .nav-link i {
    flex: 0 0 22px;
    font-size: 1.25rem;
    text-align: center;
    color: var(--mobile-menu-brand);
  }
  .header .landing-mobile-menu .nav-link:is(:hover, [aria-current="page"]) {
    background: var(--mobile-menu-highlight);
    color: var(--mobile-menu-brand);
  }
  .header .landing-mobile-menu :focus-visible {
    outline: 2px solid var(--mobile-menu-brand);
    outline-offset: 2px;
  }
  .header .landing-mobile-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
    padding: 14px 16px max(14px, env(safe-area-inset-bottom));
  }
  .header .landing-mobile-auth .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    min-height: 48px;
  }
  .landing-mobile-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 0 0;
    border-top: 1px solid var(--border);
    font-weight: 700;
  }
}

/* Hero */
.hero {
  background: radial-gradient(116.18% 118% at 50% 100%, rgba(99, 102, 241, .1) 0%, rgba(218, 70, 239, .05) 41.83%, rgba(241, 244, 253, .07) 82.52%);
}
.hero-phones { max-width: 632px; aspect-ratio: 632 / 560; }
.phone-hero-back, .phone-hero-front { position: absolute; width: 46%; }
.phone-hero-back { left: 6%; top: 17%; }
.phone-hero-front { left: 46%; top: 3%; z-index: 2; }

.phone-dark { aspect-ratio: 1060 / 2127; }
.phone.phone-dark { filter: none; }
.phone.phone-dark::after { background-image: url("../img/iphone-dark.png"); }
.phone-dark .phone-screen { top: 2.26%; left: 5.28%; width: 89.53%; height: 95.53%; border-radius: 14.5% / 7.2%; }

/* App screen (hero) */
.app-screen { padding: 15% 6% 0; font-size: clamp(.45rem, .95vw, .68rem); background: #fff; }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: .4em 0 .9em; margin: 0 -6% .9em; padding-left: 6%; padding-right: 6%; box-shadow: 0 .4em .9em -.5em rgba(11, 15, 25, .12); }
.app-logo { display: flex; align-items: center; gap: .45em; font-weight: 800; font-size: 1.45em; color: var(--brand); }
.app-logo img { width: 1.6em; height: 1.6em; }
.app-bar-tools { display: flex; align-items: center; gap: .9em; color: var(--heading); font-size: 1.5em; }
.app-toggle { position: relative; width: 1.75em; height: 1em; border-radius: 1em; background: var(--primary); }
.app-toggle::after { content: ""; position: absolute; top: .15em; left: .15em; width: .7em; height: .7em; border-radius: 50%; background: #fff; }
.app-tabs { display: flex; gap: .55em; margin: 0 -6% 1.6em 0; overflow: hidden; white-space: nowrap; }
.app-tabs > span { display: inline-flex; align-items: center; gap: .45em; padding: .7em .95em; border-radius: .45em; background: var(--secondary); color: var(--nav); font-weight: 600; flex-shrink: 0; }
.app-tabs > span.active { background: var(--primary); color: #fff; }
.app-tabs .coin { width: 1.4em; height: 1.4em; font-size: .75em; }
.app-card {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1.6;
  padding: .9em 1.1em 1em;
  border-radius: 1em;
  color: #fff;
  background-image: var(--topo), var(--topo-gradient);
  background-size: 150% 130%, cover;
  background-position: 60% -10%, center;
  box-shadow: 0 1em 1.8em -1em rgba(47, 140, 204, .7);
  margin-bottom: 1.6em;
}
.app-card-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .9em; min-height: 1.8em; }
.app-card-coin { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: #f7931a; font-weight: 800; }
.app-card-amount { text-align: center; font-size: 1.75em; font-weight: 800; line-height: 1.1; }
.app-card-amount small, .app-card-cols small { font-size: .6em; font-weight: 600; }
.app-card-rate { text-align: center; font-size: 1.25em; font-weight: 700; line-height: 1.1; }
.app-card-rate b { font-size: 1.5em; font-weight: 800; color: var(--yellow); }
.app-card-usd { text-align: center; opacity: .85; font-size: .8em; line-height: 1.2; }
.app-card-cols { display: flex; justify-content: space-between; text-align: center; font-weight: 700; font-size: .9em; line-height: 1.2; }
.app-card-cols > div > small:first-child { display: block; font-size: .8em; font-weight: 500; opacity: .85; }
.app-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.app-card-btns span { display: flex; align-items: center; justify-content: center; gap: .3em; padding: .45em; border-radius: .3em; font-weight: 800; text-transform: uppercase; font-size: .7em; }
.app-card-btns .y { background: var(--yellow); color: var(--heading); }
.app-card-btns .w { background: #fff; color: var(--heading); }
.app-sub { font-weight: 700; color: var(--heading); font-size: 1.05em; margin-bottom: 1em; }
.app-tx { display: flex; align-items: center; gap: .8em; margin-bottom: 1.15em; line-height: 1.3; }
.app-tx > div { flex: 1; min-width: 0; }
.app-tx b { display: block; color: var(--heading); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-tx small { color: var(--muted); }
.app-tx em { font-style: normal; font-weight: 700; color: var(--heading); white-space: nowrap; }
.app-tx em.in { color: var(--primary); }
.app-tx em.out { color: #ef4444; }
.tx-ic { display: grid; place-items: center; flex-shrink: 0; width: 2.6em; height: 2.6em; border-radius: 50%; border: 1px solid var(--border); color: var(--primary); font-size: 1.15em; }
.tx-ic.out { color: #ef4444; }

/* Phone mockup */
.phone {
  aspect-ratio: 1086 / 2212;
  filter: drop-shadow(0 1.75rem 2.25rem rgba(11, 15, 25, .22)) drop-shadow(0 .5rem .75rem rgba(11, 15, 25, .12));
}
.hero-phones .phone { position: absolute; }
.phone::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/iphone-frame.png") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  top: 1.9%; left: 4.5%;
  width: 91.2%; height: 96.2%;
  border-radius: 15% / 7.1%;
  background: linear-gradient(180deg, #f3f6ff 0%, #fff 45%);
  overflow: hidden;
  padding: 16% 7% 0;
  font-size: clamp(.5rem, 1.15vw, .8rem);
  color: var(--body);
}
.phone-static { position: relative; width: 100%; max-width: 300px; }

/* Screen elements (shared by phones and slider) */
.scr-status { position: absolute; top: 2.4%; left: 12%; right: 10%; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--heading); font-size: 1em; line-height: 1; }
.scr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2em; font-size: 1.2em; color: var(--heading); }
.scr-avatar { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #8ed2f0, var(--primary)); color: #fff; font-weight: 800; font-size: .75em; }
.scr-title { display: flex; align-items: center; gap: .3em; font-weight: 800; font-size: 1.35em; color: var(--heading); margin-bottom: 1em; }
.scr-balance { text-align: center; margin-bottom: 1.4em; }
.scr-balance small { display: block; color: var(--muted); }
.scr-balance strong { display: block; font-size: 2.1em; font-weight: 800; color: var(--heading); line-height: 1.2; }
.scr-delta { font-size: .9em; font-weight: 700; }
.up { color: #22c55e !important; }
.scr-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin-bottom: 1.4em; text-align: center; font-weight: 600; font-size: .85em; color: var(--nav); }
.scr-actions i { display: grid; place-items: center; margin: 0 auto .3em; width: 2.6em; height: 2.6em; border-radius: .9em; background: var(--primary); color: #fff; font-size: 1.3em; }
.scr-list { display: flex; flex-direction: column; gap: .55em; }
.scr-row { display: flex; align-items: center; gap: .75em; padding: .6em .7em; border-radius: .9em; background: #fff; box-shadow: var(--shadow-sm); }
.scr-row > div { flex: 1; min-width: 0; line-height: 1.25; }
.scr-row b { display: block; color: var(--heading); font-weight: 700; }
.scr-row small { color: var(--muted); font-size: .85em; }
.scr-row em { font-style: normal; font-weight: 700; color: var(--heading); white-space: nowrap; }
.coin { display: grid; place-items: center; flex-shrink: 0; width: 2.4em; height: 2.4em; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1em; }
.coin.btc { background: #f7931a; }
.coin.eth { background: #627eea; }
.coin.trx { background: #e8374a; }
.coin.usdt { background: #26a17b; }
.dot { width: .8em; height: .8em; border-radius: 50%; flex-shrink: 0; }
.scr-sub { font-weight: 800; color: var(--heading); margin: 1em 0 .6em; }
.scr-note { font-size: .85em; color: var(--muted); margin: .6em 0 1em; line-height: 1.4; }
.stake-card {
  padding: 1.1em;
  border-radius: 1.1em;
  color: #fff;
  background-image: var(--topo), var(--topo-gradient);
  background-size: 150% 130%, cover;
  background-position: 70% -20%, center;
  background-repeat: no-repeat;
  box-shadow: 0 .8em 1.6em -.8em rgba(var(--primary-rgb), .8);
}
.stake-card small { opacity: .8; }
.stake-card strong { display: block; font-size: 1.7em; font-weight: 800; }
.stake-card strong span { font-size: .55em; }
.stake-meta { display: flex; justify-content: space-between; margin-top: .6em; font-size: .85em; }
.stake-meta span { opacity: .85; }
.stake-meta b { display: block; font-size: 1.15em; opacity: 1; }
.donut {
  position: relative;
  width: 72%; aspect-ratio: 1;
  margin: .5em auto 1.4em;
  border-radius: 50%;
  background: conic-gradient(#f7931a 0 32%, #627eea 32% 64%, #26a17b 64% 88%, #e8374a 88% 100%);
}
.donut > div {
  position: absolute; inset: 18%;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: #fff;
}
.donut small { color: var(--muted); }
.donut b { font-size: 1.5em; color: var(--heading); font-weight: 800; }

/* Features */
.features-gfx { max-width: 420px; padding: 0 0 1rem; }
.phone-angled {
  position: relative;
  width: 300px; height: 772.7px;
  margin-left: 12%;
  filter: drop-shadow(-1.25rem 1.75rem 2rem rgba(11, 15, 25, .2));
}
.phone-angled::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/iphone-angled.png") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.phone-angled-screen {
  top: 0; left: 0;
  width: 300px; height: 650px;
  border-radius: 46px;
  padding: 58px 22px 0;
  font-size: .8rem;
  transform-origin: 0 0;
  transform: matrix3d(0.948811, 0.131109, 0, 0.000288683, -0.000160077, 1.15623, 0, -5.51178e-07, 0, 0, 1, 0, 30.936, 9.65869, 0, 1);
}
.phone-angled-screen .scr-status { top: 20px; left: 30px; right: 26px; }
.balance-card-wrap { top: 25%; left: 30%; width: 70%; z-index: 3; }
.balance-card-wrap .balance-card { transform: none; }
.feature-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 4rem; height: 4rem;
  border-radius: .75rem;
  background: var(--bg-secondary);
  color: var(--primary);
  font-size: 1.75rem;
}

/* Balance card */
.balance-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  color: #fff;
  background-image: var(--topo), var(--topo-gradient);
  background-size: 145% 125%, cover;
  background-position: 62% -8%, center;
  background-repeat: no-repeat;
  box-shadow: 0 1.5rem 3rem -1rem rgba(47, 140, 204, .55), var(--shadow-lg);
  transform: rotate(-3deg);
  font-size: .95rem;
}
.bc-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; opacity: .95; }
.bc-coin { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #f7931a; font-weight: 800; font-size: 1.2rem; }
.bc-coin.trx-c { background: #e8374a; }
.bc-amount { text-align: center; font-size: 1.9rem; font-weight: 800; margin-top: .75rem; line-height: 1.2; }
.bc-amount small, .bc-cols small { font-size: .6em; font-weight: 600; }
.bc-usd { text-align: center; opacity: .85; font-size: .9rem; margin-bottom: 1rem; }
.bc-cols { display: flex; justify-content: space-between; text-align: center; font-weight: 700; }
.bc-cols > div > small:first-child { display: block; font-size: .8rem; font-weight: 500; opacity: .85; }
.bc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.1rem; }
.bc-btns span { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .7rem; border-radius: .4rem; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .02em; }
.bc-btns .y { background: var(--yellow); color: var(--heading); }
.bc-btns .w { background: #fff; color: var(--heading); }

/* Slider */
.mobile-app-slider { padding: 0; }
.mobile-app-slider .swiper-slide { display: flex; justify-content: center; }
.screen {
  position: relative;
  width: 300px; height: 646px;
  padding: 50px 22px 0;
  border-radius: 46px / 46px;
  background: linear-gradient(180deg, #f3f6ff 0%, #fff 45%);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  overflow: hidden;
  transition: opacity .4s ease-in-out, transform .4s ease-in-out;
}
.swiper-slide:not(.swiper-slide-active) .screen { opacity: .55; transform: scale(.94); }
.slider-frame {
  position: absolute; top: 0; left: 50%;
  height: 100%; width: 100%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}
.slider-frame > div {
  width: 330px; height: 672px;
  margin: -13px auto 0;
  background: url("../img/iphone-frame.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1.75rem 2.25rem rgba(11, 15, 25, .25));
}
.phrase { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.5rem; }
.phrase span { padding: .6rem .75rem; border-radius: .6rem; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--heading); }
.scr-btn { padding: .85rem; border-radius: .6rem; background: var(--primary); color: #fff; text-align: center; font-weight: 700; }
.qr {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  width: 200px; aspect-ratio: 1;
  margin: 1rem auto 1.25rem;
  padding: 12px;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.qr i { background: var(--heading); border-radius: 1px; }
.qr i.off { background: transparent; }
.scr-address { display: flex; justify-content: center; align-items: center; gap: .5rem; font-weight: 700; color: var(--heading); padding: .7rem; border-radius: .6rem; background: var(--bg-secondary); }
.scr-input { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; padding: 1rem; border-radius: .8rem; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.scr-input small { width: 100%; color: var(--muted); }
.scr-input b { font-size: 2rem; font-weight: 800; color: var(--heading); line-height: 1; }
.scr-input span { font-weight: 700; color: var(--muted); }
.scr-kv { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.scr-kv b { color: var(--heading); }
.swiper-tabs { position: relative; display: grid; }
.swiper-tab { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s ease-in-out; }
.swiper-tab.active { opacity: 1; visibility: visible; }
#swiper-progress { position: absolute; top: auto !important; bottom: 0; left: 0; width: 100%; height: 4px; background: rgba(var(--primary-rgb), .15); }
#swiper-progress .swiper-pagination-progressbar-fill { background: var(--primary); }

/* Feature rows */
.panel {
  position: relative;
  padding: 2.5rem 2.25rem;
  border-radius: 3rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.panel-title { font-weight: 800; font-size: 1.25rem; color: var(--heading); margin-bottom: 1.25rem; }
.scr-list.lg { font-size: 1rem; gap: .75rem; }
.scr-list.lg .scr-row { padding: .85rem 1rem; box-shadow: none; background: var(--bg-secondary); }
.float-wrap { position: absolute; z-index: 2; }
.fw-1 { left: -2rem; bottom: -2.5rem; }
.fw-2 { right: -1.5rem; top: 32%; width: 64%; }
.float-card {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-lg);
  line-height: 1.3;
}
.float-card b { display: block; color: var(--heading); }
.float-card small { color: var(--muted); }
.float-ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(34, 197, 94, .15); color: #22c55e; font-size: 1.5rem; }

/* Cards / FAQ */
.card { --bs-card-border-color: var(--border); --bs-card-border-radius: .5rem; }
.card-hover { transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, transform .2s ease-in-out; }
.card-hover:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-.25rem); }
.accordion { --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--heading); }
.accordion-item { border: 0; border-radius: .5rem !important; box-shadow: var(--shadow-sm); margin-bottom: 1rem; overflow: hidden; }
.accordion-item:last-child { margin-bottom: 0; }
.accordion-button { font-weight: 600; font-size: 1rem; color: var(--heading); padding: 1.25rem 1.5rem; box-shadow: none !important; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-button::after {
  width: 2rem; height: 2rem;
  background-color: var(--secondary);
  background-position: center;
  background-size: 1rem;
  border-radius: 50%;
  transition: transform .2s ease-in-out, background-color .2s ease-in-out;
}
.accordion-button:not(.collapsed)::after { background-color: var(--primary); filter: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); }
.accordion-body { padding: 0 1.5rem 1.25rem; }

/* CTA */
.bg-gradient-primary { background: linear-gradient(30deg, var(--primary) 0%, var(--primary) 40%, #8ed2f0 100%); border-radius: .5rem; overflow: hidden; }
.cta-bg { position: relative; }
.cta-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 110%, rgba(255, 255, 255, .18) 0 18%, transparent 18.2%),
    radial-gradient(circle at 92% -10%, rgba(255, 255, 255, .14) 0 22%, transparent 22.2%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 28px);
}
.display-6 { font-size: calc(1.375rem + 1.5vw); font-weight: 800; text-decoration: none; word-break: break-word; }
@media (min-width: 1200px) { .display-6 { font-size: 2.625rem; } }
.display-6.text-light:hover { color: #fff !important; opacity: .85; }

/* Footer */
.footer .nav-link { color: var(--nav); font-weight: 600; }
.footer .nav-link:hover { color: var(--primary); }
.footer .navbar-brand { display: inline-flex; }

/* Scroll to top */
.btn-scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: center;
  z-index: 1025;
  opacity: 0; visibility: hidden;
  transform: scale(0);
  transition: opacity .3s, visibility .3s, transform .3s;
  text-decoration: none;
}
.btn-scroll-top.show { opacity: 1; visibility: visible; transform: scale(1); }
.btn-scroll-top-tooltip { opacity: 0; transition: opacity .25s; }
.btn-scroll-top:hover .btn-scroll-top-tooltip { opacity: 1; }
.btn-scroll-top-icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: rgba(11, 15, 25, .2);
  color: #fff; font-size: 1.5rem;
  transition: background-color .2s;
}
.btn-scroll-top:hover .btn-scroll-top-icon { background: var(--primary); }

@media (max-width: 767.98px) {
  .phone-screen { font-size: 2.1vw; }
  .rellax { transform: none !important; }
  .fw-1 { left: 0; bottom: -2rem; }
  .fw-2 { position: relative; right: auto; top: auto; width: 100%; margin-top: -1.5rem; }
  .slider-frame > div { width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rellax { transform: none !important; }
  .header.navbar-stuck { animation: none; }
}

/* Auth */
.motion .auth-card,
.motion .auth-stagger { opacity: 0; }
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(116.18% 118% at 50% 100%, rgba(99, 102, 241, .1) 0%, rgba(218, 70, 239, .05) 41.83%, rgba(241, 244, 253, .07) 82.52%); }
.auth-page .header { position: relative; }
.auth-page--landing .header.navbar-sticky { position: absolute; }
.auth-page--landing .auth-main { flex: 0 0 auto; padding-block: var(--landing-content-top) var(--landing-content-bottom); }
.auth-main { flex: 1; display: grid; place-items: center; padding: 1.5rem 1rem 3rem; }
.auth-page--landing .footer { margin-top: auto; }
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auth-band {
  padding: 1.35rem 1.75rem 1.15rem;
  color: #fff;
  background-image: var(--topo), var(--topo-gradient);
  background-size: 160% 180%, cover;
  background-position: 40% 0, center;
}
.auth-band small { display: block; opacity: .85; font-weight: 600; }
.auth-band strong { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.auth-body { padding: 1.5rem 1.75rem 1.75rem; }
.auth-body h1 { font-size: 1.75rem; margin-bottom: .35rem; }
.auth-lead { color: var(--muted); margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .875rem; color: var(--heading); margin-bottom: .4rem; }
.field-box { position: relative; }
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: #fff;
  color: var(--heading);
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15); }
.field input.is-invalid { border-color: #ef4444; }
.field-error { min-height: 1.1rem; margin: .3rem 0 0; font-size: .8rem; font-weight: 600; color: #ef4444; }
.field-toggle {
  position: absolute; top: 0; right: 0;
  width: 3rem; height: 3rem;
  border: 0; background: transparent;
  color: var(--muted); font-size: 1.25rem;
  cursor: pointer;
}
.field-toggle:hover { color: var(--primary); }
.field-box input { padding-right: 3rem; }
.check-row { display: flex; align-items: flex-start; gap: .6rem; margin: .25rem 0 1.15rem; font-size: .875rem; color: var(--body); }
.check-row input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--primary); flex-shrink: 0; }
.check-row a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.check-row a:hover { color: #2c6a9d; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: .875rem; }
.auth-row a, .auth-switch a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-row a:hover, .auth-switch a:hover { color: #2c6a9d; }
.auth-submit { width: 100%; height: 3rem; font-size: 1rem; }
.auth-switch { text-align: center; margin: 1rem 0 0; font-size: .925rem; }
.auth-captcha { margin-bottom: 1rem; }
.auth-captcha-row {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  flex-wrap: wrap;
}
.auth-captcha-image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .35rem .5rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: #f8fafc;
}
.auth-captcha-image img.captcha {
  display: block;
  height: 2.5rem;
  width: auto;
  cursor: pointer;
  border-radius: .35rem;
}
.auth-captcha .field-box { flex: 1 1 8rem; min-width: 8rem; }
.auth-captcha .field-box input { padding-right: 1rem; }
.auth-captcha .err { font-size: .8rem; font-weight: 600; color: #ef4444; margin-bottom: .35rem; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .motion .auth-page .auth-body > :not(.auth-stagger) { opacity: 1; }
}
.auth-note { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.auth-done { text-align: center; padding: .5rem 0 .25rem; }
.auth-done i { font-size: 2.75rem; color: var(--primary); }
.auth-done h2 { font-size: 1.5rem; margin: .5rem 0 .35rem; }
.auth-done p { color: var(--muted); margin-bottom: 1.25rem; }
@media (max-width: 575.98px) {
  .auth-band, .auth-body { padding-left: 1.15rem; padding-right: 1.15rem; }
}


/* Public pages share spacing around the fixed landing header and footer. */
:root {
  --landing-content-top: 8rem;
  --landing-content-bottom: 1rem;
}
.landing-hero-spacing { padding-top: var(--landing-content-top); }
.page-wrapper > :is(.landing-faq-page, .landing-help-page, .landing-rules-page, .landing-contacts),
._body.public-legacy-body {
  padding-block: var(--landing-content-top) var(--landing-content-bottom);
}

@media (max-width: 991px) and (pointer: coarse) {
  html { touch-action: pan-x pan-y; }
  html body :is(input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], select, textarea) {
    font-size: 16px !important;
  }
}

/* Shared theme toggle */
.home-theme-toggle{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;padding:4px;margin:0;border:1px solid var(--border);border-radius:24px;background:var(--bg-secondary);color:var(--muted);height:38px;cursor:pointer}
.home-theme-toggle i.bx{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:18px;transition:background .2s,color .2s}
.home-theme-toggle .bx-sun{background:var(--primary);color:#fff}
.home-theme-toggle:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
html[data-theme="dark"] .home-theme-toggle{background:transparent}
html[data-theme="dark"] .home-theme-toggle .bx-sun{background:transparent;color:var(--muted)}
html[data-theme="dark"] .home-theme-toggle .bx-moon{background:#367fb8;color:#fff}
@media(prefers-reduced-motion:reduce){.home-theme-toggle i.bx{transition:none}}
