:root {
    color-scheme: light;
    --blue: #2f68e8;
    --blue-deep: #2359d4;
    --ink: #101827;
    --muted: #6f7b8e;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-height: 100%; margin: 0; overflow: hidden; }
body { color: var(--ink); background: #fff; }
.bt-login-page { height: 100vh; overflow: hidden; }
button, input, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.bt-login-shell { display: grid; grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr); width: 100%; height: 100vh; min-height: 100vh; overflow: hidden; }
.bt-showcase { position: relative; height: 100vh; overflow: hidden; color: #fff; background: linear-gradient(145deg, #326df0 0%, #2b65e5 48%, #245bd5 100%); }
.showcase-content { position: relative; z-index: 2; height: 100%; overflow-y: auto; padding: clamp(40px, 5vw, 68px) clamp(34px, 5.3vw, 72px); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.showcase-intro { max-width: 860px; }
.showcase-kicker { margin: 0 0 11px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.showcase-intro h2 { margin: 0; font-size: clamp(33px, 3vw, 48px); line-height: 1.08; letter-spacing: -.04em; text-shadow: 0 2px 18px rgba(15,52,141,.22); }
.showcase-intro > p:last-child { max-width: 820px; margin: 20px 0 0; color: rgba(255,255,255,.78); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.65; }

.bt-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 42px 0; }
.bt-stats article { padding: 25px 18px 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); text-align: center; transition: transform .22s ease, background .22s ease; }
.bt-stats article:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.bt-stats strong { display: block; font-size: clamp(25px, 2.1vw, 35px); letter-spacing: -.03em; }
.bt-stats span { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: 13px; }

.bt-services { display: grid; gap: 20px; padding-bottom: 40px; }
.bt-services article { padding: 27px 30px; border: 1px solid rgba(255,255,255,.19); border-radius: 14px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(9px); }
.bt-services h2 { margin: 0 0 12px; color: #ffd21f; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.25; }
.bt-services p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.65; }
.bt-services .policy-card { border-color: rgba(255,215,31,.34); background: rgba(15,47,130,.3); }
.policy-card h2 { display: flex; align-items: center; gap: 8px; }
.policy-card p + ul { margin-top: 13px; }
.policy-card ul { display: grid; gap: 7px; margin: 0 0 15px; padding-left: 21px; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.45; }
.policy-card strong { color: #fff; }

.bubble { position: absolute; z-index: 1; display: block; border-radius: 50%; background: rgba(255,255,255,.075); animation: btFloat 9s ease-in-out infinite; pointer-events: none; }
.bubble-one { width: 120px; height: 120px; top: 16%; left: 5%; }
.bubble-two { width: 180px; height: 180px; top: 43%; right: 6%; animation-delay: -2.5s; }
.bubble-three { width: 95px; height: 95px; bottom: 17%; left: 24%; animation-delay: -5s; }
.bubble-four { width: 260px; height: 260px; bottom: -110px; right: -80px; animation-delay: -7s; }
@keyframes btFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.04); } }

.bt-auth { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100vh; min-height: 100vh; overflow: hidden; padding: 24px clamp(28px, 4vw, 64px) 18px; background: #fff; }
.auth-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 13px; min-height: 42px; }
.auth-toolbar nav { display: flex; gap: 11px; }
.social-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 5px 14px rgba(16,24,39,.08); transition: transform .18s ease, filter .18s ease; }
.social-button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.telegram { background: #13a9e2; }
.x-button { background: #070707; }
.marketplace-button { background: #344b68; }
.marketplace-button:hover { background: #263a52; }
.marketplace-button .brand-icon { fill: none; }
.brand-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; }
.language-picker { display: flex; align-items: stretch; }
.language-picker select { min-height: 38px; padding: 0 32px 0 13px; border: 1px solid #d8dee8; border-radius: 9px 0 0 9px; color: #4a5567; background: #fff; outline: none; }
.language-picker button { width: 34px; border: 1px solid #d8dee8; border-left: 0; border-radius: 0 9px 9px 0; color: #2f68e8; background: #f8fafc; font-weight: 900; cursor: pointer; }

.auth-center { display: grid; place-items: center; padding: 36px 0 28px; }
.login-form-wrap { width: min(390px, 100%); }
.login-logo { display: block; width: min(325px, 88%); height: auto; margin: 0 auto 27px; }
.login-form-wrap h1, .login-form-wrap h2 { margin: 0 0 31px; font-size: clamp(26px, 2.1vw, 34px); line-height: 1.15; letter-spacing: -.035em; text-align: center; }
.backup-domain-intro { margin: -17px 0 24px; color: #6f7888; font-size: 12px; line-height: 1.55; text-align: center; }
.backup-domain-intro a { color: var(--blue); font-weight: 800; }
.login-notice { margin: -12px 0 20px; padding: 12px 14px; border: 1px solid #f2b8b5; border-radius: 8px; color: #8d211b; background: #fff1f0; font-size: 13px; line-height: 1.45; }
.login-notice.success { border-color: #aee1c4; color: #17603e; background: #edfff6; }
.bt-signin-form { display: grid; }
.bt-signin-form > label { margin-bottom: 8px; color: #39465a; font-size: 13px; font-weight: 650; }
.bt-signin-form > input[type="text"], .bt-signin-form > input[type="email"], .bt-signin-form > input[type="password"] { width: 100%; min-height: 50px; margin-bottom: 18px; padding: 0 14px; border: 1px solid #d2d9e5; border-radius: 9px; color: #111827; background: #fff; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.bt-signin-form > input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,104,232,.1); }
.bt-signin-form > input::placeholder { color: #a6afbd; }

.turnstile-placeholder { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; width: min(290px, 100%); min-height: 62px; margin: 2px auto 15px; padding: 10px 12px; border: 1px solid #d6dde8; border-radius: 5px; color: #384557; background: #fafafa; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.cf-turnstile { display: block; width: 100%; min-height: 65px; margin: 2px 0 15px; overflow: hidden; }
.cf-turnstile iframe { width: 100% !important; max-width: 100% !important; }
.turnstile-box { width: 25px; height: 25px; border: 2px solid #8290a1; border-radius: 4px; background: #fff; }
.turnstile-copy strong { display: block; font-size: 12px; line-height: 1.2; }
.turnstile-copy small { display: block; margin-top: 3px; color: #9aa4b3; font-size: 8px; }
.cloudflare-mark { color: #171717; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-align: center; }
.cloudflare-mark b { color: #f48120; font-size: 15px; }
.cloudflare-mark small { display: block; margin-top: 3px; color: #9a9a9a; font-size: 7px; font-weight: 500; letter-spacing: 0; }

.remember-forgot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; color: #7a8494; font-size: 12px; }
.remember-control { display: inline-flex; align-items: center; gap: 7px; }
.remember-control input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.forgot-placeholder { color: var(--blue); font-weight: 700; }
.google-button, .signin-button { width: 100%; min-height: 48px; border-radius: 999px; font-weight: 780; }
.google-button { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; padding: 0 18px; border: 1px solid #b7c1d1; color: #2f68e8; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.04); cursor: pointer; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.google-button:hover { transform: translateY(-1px); border-color: #8fa1bb; box-shadow: 0 6px 16px rgba(15,23,42,.08); }
.google-icon { width: 21px; height: 21px; flex: 0 0 auto; }
.signin-button { border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #326df0, #245bd5); box-shadow: 0 10px 25px rgba(47,104,232,.2); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.signin-button:hover { transform: translateY(-1px); box-shadow: 0 13px 29px rgba(47,104,232,.25); }
.signup-placeholder { margin: 14px 0 0; color: #6f7888; font-size: 12px; text-align: center; }
.signup-placeholder span, .signup-placeholder a { color: var(--blue); font-weight: 750; text-decoration: none; }
.signup-auth { overflow-y: auto; }
.signup-auth .auth-center { padding-block: 12px; }
.signup-form-wrap { width: min(410px, 100%); }
.signup-logo { width: min(245px, 72%); margin-bottom: 12px; }
.signup-form-wrap h1, .signup-form-wrap h2 { margin-bottom: 16px; font-size: 25px; }
.signup-form > input[type="text"], .signup-form > input[type="email"], .signup-form > input[type="password"] { min-height: 42px; margin-bottom: 10px; }
.signup-form > label { margin-bottom: 5px; }
.signup-recovery-card { margin: 4px 0 14px; padding: 14px; border: 1px solid #bfd2f7; border-radius: 12px; background: linear-gradient(145deg, #f7faff, #edf4ff); box-shadow: 0 5px 16px rgba(47,104,232,.07); }
.signup-recovery-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.signup-recovery-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #326df0, #245bd5); box-shadow: 0 7px 15px rgba(47,104,232,.2); }
.signup-recovery-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.signup-recovery-heading strong, .signup-recovery-heading span { display: block; }
.signup-recovery-heading strong { color: #173d86; font-size: 13px; line-height: 1.3; }
.signup-recovery-heading span { margin-top: 2px; color: #64748b; font-size: 10px; line-height: 1.35; }
.signup-recovery-value { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: stretch; }
.signup-recovery-value code { display: flex; align-items: center; min-width: 0; min-height: 42px; padding: 8px 11px; border: 1px solid #a9c2f2; border-radius: 8px; color: #153f91; background: #fff; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; font-weight: 750; letter-spacing: .035em; line-height: 1.4; overflow-wrap: anywhere; }
.rk-copy { min-width: 82px; padding: 0 12px; border: 0; border-radius: 8px; color: #fff; background: #2f68e8; font-size: 11px; font-weight: 780; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.rk-copy:hover { transform: translateY(-1px); background: #245bd5; }
.rk-copy:focus-visible { outline: 3px solid rgba(47,104,232,.25); outline-offset: 2px; }
.rk-hint { margin: 10px 0 0; color: #5d6c82; font-size: 10px; line-height: 1.5; }
.rk-hint strong { color: #9a5a08; }
.policy-check { display: flex; align-items: flex-start; gap: 9px; margin: 3px 0 14px; color: #64748b !important; font-size: 11px !important; line-height: 1.4; }
.policy-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }

.recovery-page { overflow: auto; background: linear-gradient(145deg, #eef4ff 0%, #f8fafc 48%, #eef2ff 100%); }
.recovery-shell { display: grid; place-items: center; min-height: 100vh; padding: 32px 20px; }
.recovery-card { width: 100%; max-width: 440px; padding: 38px 36px 34px; border: 1px solid #dce4f0; border-top: 4px solid var(--blue); border-radius: 18px; background: #fff; box-shadow: 0 22px 65px rgba(30,64,175,.13); }
.recovery-logo { display: block; width: min(270px, 78%); margin: 0 auto 28px; }
.recovery-logo img { display: block; width: 100%; height: auto; }
.recovery-eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-align: center; }
.recovery-card h1 { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; text-align: center; }
.recovery-copy { margin: 13px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: center; }
.seller-only-alert { display: grid; gap: 4px; margin: 0 0 22px; padding: 13px 15px; border: 1px solid #bdd2ff; border-radius: 10px; color: #334155; background: #f1f6ff; font-size: 12px; line-height: 1.5; }
.seller-only-alert strong { color: #1749a5; font-size: 12px; }
.recovery-form { width: 100%; max-width: 368px; margin: 25px auto 0; }
.recovery-form .signin-button { margin-top: 2px; }
.recovery-help { margin: 20px 0 0; padding: 12px 14px; border-radius: 9px; color: #64748b; background: #f8fafc; font-size: 11px; line-height: 1.55; text-align: center; }

.seller-recovery-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 22px; overflow-y: auto; background: rgba(8, 17, 35, .74); backdrop-filter: blur(5px); }
.seller-recovery-modal[hidden] { display: none; }
.seller-recovery-dialog { position: relative; width: min(560px, 100%); padding: 34px 36px 30px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; background: #fff; box-shadow: 0 28px 90px rgba(3, 13, 35, .34); }
.seller-recovery-close { position: absolute; top: 14px; right: 15px; display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 50%; color: #64748b; background: #f1f5f9; font-size: 24px; line-height: 1; cursor: pointer; }
.seller-recovery-close:hover { color: #172033; background: #e7edf5; }
.seller-recovery-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 17px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #326df0, #245bd5); box-shadow: 0 10px 22px rgba(47, 104, 232, .24); font-size: 24px; font-weight: 850; }
.seller-recovery-kicker { margin: 0 0 7px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.seller-recovery-dialog h2 { margin: 0; padding-right: 25px; color: #101827; font-size: clamp(24px, 3vw, 30px); line-height: 1.18; letter-spacing: -.035em; }
.seller-recovery-lead { margin: 12px 0 20px; color: #526074; font-size: 14px; line-height: 1.55; }
.seller-recovery-message { padding: 17px 18px; border: 1px solid #dce5f3; border-radius: 12px; color: #475569; background: #f8fafc; font-size: 13px; line-height: 1.62; }
.seller-recovery-message p { margin: 0; }
.seller-recovery-message p + p { margin-top: 11px; }
.seller-recovery-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 22px; }
.seller-recovery-primary, .seller-recovery-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 16px; border-radius: 9px; font-size: 13px; font-weight: 780; text-align: center; text-decoration: none; cursor: pointer; }
.seller-recovery-primary { color: #fff; background: linear-gradient(135deg, #326df0, #245bd5); box-shadow: 0 9px 22px rgba(47, 104, 232, .2); }
.seller-recovery-secondary { border: 1px solid #cbd5e1; color: #3d4a5e; background: #fff; }
.seller-recovery-primary:hover, .seller-recovery-secondary:hover { transform: translateY(-1px); }

.auth-footer { margin: 0 calc(clamp(28px, 4vw, 64px) * -1) -18px; padding: 18px clamp(28px, 4vw, 64px) 19px; border-top: 1px solid #e0e5ec; background: #f4f5f7; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.footer-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; font-size: 12px; }
.footer-heading a { color: var(--blue); font-weight: 750; text-decoration: none; }
.domain-status-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.domain-status-link span { width: 7px; height: 7px; border-radius: 50%; background: #25a45c; box-shadow: 0 0 0 3px rgba(37,164,92,.12); }
.auth-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.auth-legal-links a { color: #69758a; font-size: 10px; font-weight: 700; text-decoration: none; }
.auth-legal-links a:hover { color: var(--blue); }
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.domain-grid a { display: grid; place-items: center; min-height: 60px; padding: 9px; border: 1px solid #dce3ed; border-radius: 11px; color: #111827; text-align: center; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.domain-grid a:hover { transform: translateY(-1px); border-color: #b8c7de; }
.domain-grid strong { font-size: 11px; }
.domain-grid small { margin-top: 3px; color: #7b8799; font-size: 9px; }
.domain-grid span { margin-top: 5px; padding: 3px 8px; border-radius: 999px; color: #178548; background: #dff8e8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.auth-footer-divider { height: 0; margin: 15px 0 13px; border: 0; border-top: 1px solid #d9e0e9; }

@media (max-width: 1120px) {
    .bt-login-shell { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
    .showcase-content { padding: 34px 24px; }
    .showcase-intro h2 { font-size: clamp(27px, 3.6vw, 40px); }
    .showcase-intro > p:last-child { font-size: 14px; }
    .bt-stats { gap: 10px; margin: 28px 0; }
    .bt-stats article { padding: 18px 8px; }
    .bt-services { gap: 12px; }
    .bt-services article { padding: 19px; }
    .bt-services h2 { font-size: 17px; }
    .bt-services p { font-size: 12px; }
    .bt-auth { padding: 18px 22px 14px; }
    .social-button { min-height: 34px; padding-inline: 11px; font-size: 11px; }
    .language-picker select { min-height: 34px; padding-left: 10px; font-size: 11px; }
    .auth-center { padding-block: 24px; }
    .login-form-wrap { width: min(340px, 100%); }
    .login-logo { width: min(285px, 86%); margin-bottom: 20px; }
    .login-form-wrap h1, .login-form-wrap h2 { margin-bottom: 23px; }
    .auth-footer { margin: 0 -22px -14px; padding: 17px 22px 15px; }
}
@media (max-width: 720px) {
    html, body { height: auto; overflow: auto; }
    .bt-login-page { height: auto; overflow: auto; }
    .bt-login-shell { display: flex; height: auto; overflow: visible; flex-direction: column; }
    .bt-auth { order: 1; }
    .bt-showcase { order: 2; height: auto; min-height: 520px; }
    .showcase-content { height: auto; overflow: visible; }
    .bt-services { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bt-auth { height: auto; min-height: 100vh; overflow: visible; }
}
@media (max-width: 600px) {
    .showcase-content { padding: 38px 20px; }
    .bt-stats { gap: 9px; margin: 28px 0; }
    .bt-stats article { padding: 18px 7px; }
    .bt-stats strong { font-size: 22px; }
    .bt-services { grid-template-columns: 1fr; gap: 12px; }
    .bt-services article { padding: 20px; }
    .bt-auth { padding: 18px 20px; }
    .auth-toolbar { justify-content: center; flex-wrap: wrap; }
    .auth-toolbar nav { flex: 1 1 auto; }
    .social-button { flex: 1 1 auto; padding-inline: 12px; }
    .auth-center { padding-block: 46px; }
    .domain-grid { grid-template-columns: 1fr; }
    .domain-grid a { min-height: 54px; }
    .auth-footer { margin-inline: -20px; padding-inline: 20px; }
    .footer-heading { align-items: center; flex-direction: row; }
    .recovery-shell { padding: 18px 12px; }
    .recovery-card { padding: 30px 20px 27px; border-radius: 14px; }
    .seller-recovery-modal { place-items: start center; padding: 14px; }
    .seller-recovery-dialog { margin: 12px 0; padding: 28px 21px 23px; border-radius: 16px; }
    .seller-recovery-actions { grid-template-columns: 1fr; }
    .signup-recovery-value { grid-template-columns: 1fr; }
    .rk-copy { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
