@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101720;--panel:#18232e;--surface:#202d39;--line:#344555;--text:#f4f7fa;--muted:#9eacb9;--accent:#87b8b7;--button:#d6e6e8;--button-text:#15323d}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body.auth-page{min-height:100vh;font:14px/1.5 Inter,Arial,sans-serif;background:#101720;color:var(--text);padding:32px;display:flex;align-items:center;justify-content:center}
button,input{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent }
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.auth-wrap{width:min(100%,940px);min-height:610px;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1fr);background:var(--panel);border:1px solid #304251;border-radius:18px;overflow:hidden;box-shadow:0 30px 85px rgba(0,0,0,.22)}
.auth-intro{min-height:100%;padding:38px 42px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(150deg,#203a47 0%,#18313d 58%,#162b36 100%);border-right:1px solid #3a5460;position:relative;overflow:hidden}
.auth-intro:after{content:'';position:absolute;right:-100px;bottom:55px;width:340px;height:340px;border:1px solid rgba(150,203,203,.16);border-radius:50%;box-shadow:0 0 0 70px rgba(150,203,203,.045),0 0 0 145px rgba(150,203,203,.025);pointer-events:none}
.intro-brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:700;letter-spacing:-.025em;position:relative;z-index:1}
.intro-brand-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid #9dbbc1;border-radius:9px;color:#d5f0ed;background:rgba(255,255,255,.08);font-size:18px}
.intro-copy{position:relative;z-index:1;max-width:360px}
.intro-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;color:#add2d1;margin-bottom:20px}
.intro-copy h2{font-size:clamp(30px,3vw,42px);line-height:1.13;letter-spacing:-.055em;margin:0 0 20px;font-weight:700}
.intro-copy p{font-size:15px;line-height:1.75;color:#b6cbd0;margin:0;max-width:310px}
.intro-footer{display:flex;align-items:center;gap:9px;color:#b6cbd0;font-size:12px;position:relative;z-index:1}
.status-dot{width:7px;height:7px;border-radius:50%;background:#9ed9bf;box-shadow:0 0 0 4px rgba(158,217,191,.12)}
.auth-card{padding:54px 50px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.auth-card-topbar{display:none}
.auth-logo{margin-bottom:32px}
.auth-logo__icon{width:44px;height:44px;border-radius:11px;background:#28434a;border:1px solid #54777a;color:#c7ece8;display:grid;place-items:center;font-size:20px;font-weight:700;margin-bottom:22px}
.auth-logo__name{font-size:27px;line-height:1.2;letter-spacing:-.045em;font-weight:700;margin-bottom:6px}
.auth-logo__sub{font-size:14px;color:var(--muted)}
.field{margin-bottom:18px}.field-label{display:flex;gap:4px;align-items:center;font-size:12px;font-weight:650;color:#dce5eb;margin-bottom:8px}.req{color:#a8ced0}
.input-box{height:48px;border:1px solid var(--line);border-radius:9px;background:var(--surface);display:flex;align-items:center;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.input-box:focus-within{border-color:#91bfc1;box-shadow:0 0 0 3px rgba(145,191,193,.11)}
.input-box svg.input-icon{width:18px;height:18px;flex:0 0 18px;margin-left:15px;color:#95aebc}
.input-box input{height:100%;flex:1;min-width:0;padding:0 14px;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}
.input-box input::placeholder{color:#8193a3}
.toggle-pwd{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;color:#a9bcc9;cursor:pointer;outline-offset:-5px}
.toggle-pwd svg{width:18px;height:18px}.eye-closed,.toggle-pwd.is-visible .eye-open{display:none}.toggle-pwd.is-visible .eye-closed{display:block}
.btn-submit,.btn-create-acc,.btn-google-login,.btn-apk-install{width:100%;min-height:47px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;font-size:13px;font-weight:650;cursor:pointer;text-decoration:none}
.btn-submit{margin-top:5px;background:var(--button);border:1px solid var(--button);color:var(--button-text);transition:background .15s}
.btn-submit:hover{background:#ecf5f5}.btn-submit svg,.btn-create-acc svg{width:17px;height:17px}
.auth-extra-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.auth-extra-actions .btn-create-acc{flex:1;min-width:0}.auth-extra-actions .link-forgot{white-space:nowrap;font-size:12px;font-weight:600}
.btn-create-acc,.btn-google-login,.btn-apk-install{background:transparent;border:1px solid #415464;color:#e2ebf0;transition:background .15s}.btn-create-acc:hover,.btn-google-login:hover,.btn-apk-install:hover{background:#263541;text-decoration:none}
.google-box{margin-top:13px}.btn-google-login svg{width:18px;height:18px;flex:0 0 18px}.btn-apk-install{margin-top:14px}
.auth-bottom{border-top:1px solid #344555;margin-top:24px;padding-top:22px;color:var(--muted);text-align:center;font-size:13px}.auth-bottom a{font-weight:700;margin-left:5px}
.alert{display:flex;align-items:center;gap:10px;border-radius:9px;padding:12px 14px;margin-bottom:18px;font-size:13px}.alert-danger{border:1px solid #83515c;background:#39272e;color:#f3b8c2}.alert-success{border:1px solid #507662;background:#263d32;color:#b5dfc3}.alert-mark{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;border:1px solid currentColor;flex:0 0 18px;font-size:12px;font-weight:700}
.country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.country-card{position:relative;min-height:76px;border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:12px;cursor:pointer;color:#d8e4eb}.country-card input{position:absolute;opacity:0;pointer-events:none}.country-card.is-selected{border-color:#91bfc1;background:#25404a}.country-card-header{display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;font-weight:700}.country-flag-img{width:19px;height:auto;border-radius:2px}.country-card-header svg{width:18px;height:18px}.country-subtext{text-align:center;color:var(--muted);font-size:11px;margin-top:3px}.check-dot{display:none}
.pwd-meter-box{display:none;margin-top:10px}.pwd-meter-bars{display:flex;gap:4px}.pwd-bar{height:4px;flex:1;border-radius:4px;background:#344555}.pwd-status-text{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:5px}
.reseller-vip-banner{border:1px solid #6f6651;background:#342f26;border-radius:9px;padding:14px;margin-bottom:18px}.reseller-vip-header{font-weight:700}.reseller-vip-sub{color:#d0c5ac;font-size:12px;margin-top:4px}.reseller-vip-badge{color:#e3ce95;font-size:11px;margin-top:8px}
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(5,10,15,.72);align-items:center;justify-content:center;padding:16px;z-index:1000}.modal-content{width:min(100%,400px);background:#1d2a35;border:1px solid #405566;border-radius:14px;padding:24px;position:relative;box-shadow:0 20px 55px rgba(0,0,0,.4)}.modal-close{position:absolute;right:14px;top:11px;border:0;background:transparent;color:#c5d3dc;font-size:24px;cursor:pointer}.country-option{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid #415464;border-radius:8px;cursor:pointer}.country-option:hover{background:#263a46}
@media(max-width:760px){body.auth-page{padding:18px}.auth-wrap{grid-template-columns:1fr;max-width:470px;min-height:0}.auth-intro{min-height:0;padding:19px 24px;background:#203a47;border-right:0;border-bottom:1px solid #3a5460}.intro-copy,.intro-footer,.auth-intro:after{display:none}.auth-card{padding:34px 28px}.auth-logo{margin-bottom:26px}.auth-logo__icon{display:none}}
@media(max-width:420px){body.auth-page{padding:10px}.auth-wrap{border-radius:13px}.auth-card{padding:28px 20px}.auth-extra-actions{flex-wrap:wrap}.auth-extra-actions .btn-create-acc{flex-basis:100%}.auth-extra-actions .link-forgot{width:100%;text-align:center;margin-top:2px}}

/* FFKeyStore brand identity */
:root{--bg:#080B18;--panel:#101429;--surface:#15172E;--line:#292342;--text:#fff;--muted:#A1A1B5;--accent:#FF008C;--button:#FF008C;--button-text:#fff}
body.auth-page{background:radial-gradient(circle at 12% 12%,rgba(161,0,255,.11),transparent 33%),radial-gradient(circle at 92% 85%,rgba(255,0,140,.08),transparent 34%),#080B18}
.auth-wrap{background:#101429;border-color:#292342;box-shadow:0 30px 90px rgba(0,0,0,.32)}
.auth-intro{background:radial-gradient(circle at 18% 80%,rgba(255,0,140,.12),transparent 45%),linear-gradient(145deg,#15172E,#101429 78%);border-color:#292342}
.auth-intro:after{border-color:rgba(217,0,255,.15);box-shadow:0 0 0 70px rgba(217,0,255,.035),0 0 0 145px rgba(255,0,140,.025)}
.intro-brand-logo{display:block;width:min(100%,240px);height:auto;object-fit:contain;object-position:left center}
.intro-eyebrow{color:#F0A6D8}.intro-copy p,.intro-footer{color:#B6B2C8}.status-dot{background:#FF4BAA;box-shadow:0 0 0 4px rgba(255,0,140,.12)}
.auth-brand-logo{display:block;width:172px;max-width:100%;height:auto;object-fit:contain;object-position:left center;margin-bottom:18px}
.auth-logo__icon{display:none}.auth-logo__name{color:#fff}.auth-logo__sub{color:#A1A1B5}
.field-label{color:#EEEAF4}.req{color:#FF4BAA}
.input-box{background:#15172E;border-color:#383050}.input-box:focus-within{border-color:#FF008C;box-shadow:0 0 0 3px rgba(255,0,140,.14)}.input-box svg.input-icon{color:#A99CBD}.input-box input{color:#fff}.input-box input::placeholder{color:#89829E}.toggle-pwd{color:#B7A9C8}
.btn-submit{background:linear-gradient(100deg,#FF008C,#A100FF);border-color:transparent;color:#fff;box-shadow:0 8px 24px rgba(255,0,140,.19)}.btn-submit:hover{background:linear-gradient(100deg,#E90082,#8C00E0);box-shadow:0 10px 27px rgba(255,0,140,.28)}
.btn-create-acc,.btn-google-login,.btn-apk-install{border-color:#413556;color:#ECE7F4}.btn-create-acc:hover,.btn-google-login:hover,.btn-apk-install:hover{background:#201B38;border-color:#76438A}.auth-extra-actions .link-forgot,.auth-bottom a{color:#F68BC9}
.auth-bottom{border-color:#292342;color:#A1A1B5}
.country-card{background:#15172E;border-color:#383050}.country-card.is-selected{background:#2B193E;border-color:#E44BC3}.country-card:hover{background:#201B38}.country-subtext,.pwd-status-text{color:#A1A1B5}
.modal-content{background:#15172E;border-color:#413556}.country-option{border-color:#413556}.country-option:hover{background:#201B38}
@media(max-width:760px){.auth-intro{background:#15172E;border-color:#292342}.intro-brand-logo{width:170px}.auth-brand-logo{display:none}}

@media(min-width:761px){.auth-brand-logo{display:none}}

/* Reference layout: midnight blue, electric blue and violet. */
:root{--bg:#090E20;--panel:#11162B;--surface:#151C34;--line:#424B6B;--text:#F6F7FF;--muted:#B8C3E2;--accent:#6B79FF;--button:#376BFF;--button-text:#fff}
body.auth-page{background:radial-gradient(circle at 3% 4%,rgba(75,101,198,.23),transparent 32%),radial-gradient(circle at 95% 24%,rgba(81,71,183,.18),transparent 31%),radial-gradient(circle at 6% 86%,rgba(90,77,194,.24),transparent 25%),#090E20}
.auth-wrap{width:min(100%,1384px);min-height:790px;grid-template-columns:1fr 1fr;border:1px solid #424B6B;border-radius:30px;background:#10162B;box-shadow:0 28px 90px rgba(0,0,0,.28)}
.auth-intro{padding:38px 80px 62px;background:radial-gradient(circle at 38% 85%,rgba(68,85,189,.13),transparent 42%),#11182D;border-right:1px solid #414765}
.auth-intro:after{right:-30px;bottom:-270px;width:760px;height:350px;border:1px solid rgba(91,115,241,.33);border-radius:50%;transform:rotate(-12deg);box-shadow:0 0 0 80px rgba(61,89,209,.055),0 0 0 160px rgba(54,74,184,.03)}
.intro-brand-logo{width:min(100%,320px)}
.intro-copy{max-width:560px}.intro-eyebrow{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;background:linear-gradient(90deg,rgba(70,106,209,.39),rgba(67,79,162,.24));border:1px solid rgba(114,145,255,.24);color:#9BB6FF;text-transform:none;letter-spacing:0;font-size:14px;font-weight:650;margin-bottom:22px}
.intro-copy h2{font-size:clamp(40px,3.6vw,57px);letter-spacing:-.055em;line-height:1.13;margin-bottom:18px;max-width:560px}
.intro-copy p{font-size:20px;line-height:1.53;color:#C1CBEC;max-width:510px}
.intro-features{display:grid;gap:20px;margin-top:38px}.intro-feature{display:flex;align-items:center;gap:24px}.feature-icon{width:60px;height:60px;flex:0 0 60px;border:1px solid #394461;border-radius:15px;background:linear-gradient(145deg,#222B48,#1B2440);display:grid;place-items:center;color:#657CFF}.feature-icon svg{width:30px;height:30px}.intro-feature strong{display:block;font-size:17px;line-height:1.3;color:#F7F8FF}.intro-feature small{display:block;margin-top:3px;color:#C1CBEC;font-size:14px;line-height:1.4}.intro-footer{display:none}
.auth-card{padding:48px 60px;justify-content:center}.auth-brand-logo{display:block!important;width:250px;max-width:100%;margin-bottom:20px}.auth-logo{margin-bottom:32px}.auth-logo__name{font-size:42px;letter-spacing:-.045em;margin-bottom:2px}.auth-logo__sub{font-size:17px;color:#C1CBEC}
.field{margin-bottom:21px}.field-label{font-size:15px;color:#F4F5FF;margin-bottom:8px}.input-box{height:57px;border:1px solid #424B6B;border-radius:14px;background:#151B30}.input-box:focus-within{border-color:#687EFF;box-shadow:0 0 0 3px rgba(104,126,255,.18)}.input-box svg.input-icon{width:21px;height:21px;flex-basis:21px;margin-left:20px;color:#C0CBEC}.input-box input{font-size:16px;padding-left:19px}.input-box input::placeholder{color:#AAB6D6}.toggle-pwd{width:57px;height:55px;flex-basis:57px;color:#C0CBEC}.toggle-pwd svg{width:21px;height:21px}
.btn-submit{min-height:60px;margin-top:6px;border-radius:14px;background:linear-gradient(100deg,#2774FF,#2B47ED 58%,#6354FB);border:1px solid #6586FF;box-shadow:0 7px 23px rgba(38,78,238,.2);font-size:17px}.btn-submit:hover{background:linear-gradient(100deg,#3A82FF,#3B58F1 58%,#7566FF);box-shadow:0 10px 26px rgba(55,90,240,.28)}
.auth-extra-actions{margin-top:18px;gap:20px}.btn-create-acc,.btn-google-login,.btn-apk-install{min-height:56px;border:1px solid #46516E;border-radius:14px;color:#F6F7FF;font-size:16px}.btn-create-acc:hover,.btn-google-login:hover,.btn-apk-install:hover{background:#202844;border-color:#6C7DE1}.auth-extra-actions .link-forgot,.auth-bottom a{color:#7586FF;font-size:15px}.google-box{margin-top:23px}.auth-divider{display:flex;align-items:center;gap:16px;color:#B8C3E2;font-size:15px;margin-bottom:20px}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#3D4562}.btn-google-login svg{width:25px;height:25px;flex-basis:25px}
.country-card{background:#151B30;border-color:#424B6B}.country-card.is-selected{background:#20294C;border-color:#7184FF}.country-card:hover{background:#202844}.country-subtext,.pwd-status-text{color:#B8C3E2}.auth-bottom{border-color:#3D4562}
@media(max-width:1100px){.auth-wrap{max-width:960px;min-height:650px}.auth-intro{padding:34px 44px 45px}.intro-copy h2{font-size:40px}.intro-copy p{font-size:16px}.intro-feature{gap:14px}.feature-icon{width:48px;height:48px;flex-basis:48px}.intro-feature strong{font-size:14px}.intro-feature small{font-size:12px}.auth-card{padding:40px}.auth-brand-logo{width:205px}.auth-logo__name{font-size:34px}.auth-logo__sub{font-size:14px}.field-label{font-size:13px}.input-box{height:49px}.input-box input{font-size:13px}.btn-submit{min-height:50px;font-size:14px}.btn-create-acc,.btn-google-login{min-height:46px;font-size:13px}.auth-extra-actions .link-forgot{font-size:12px}}
@media(max-width:760px){body.auth-page{padding:16px}.auth-wrap{grid-template-columns:1fr;max-width:500px;min-height:0;border-radius:18px}.auth-intro{padding:18px 22px;background:#11182D;border-right:0;border-bottom:1px solid #414765}.auth-intro:after,.intro-copy,.intro-footer{display:none}.intro-brand-logo{width:190px}.auth-card{padding:30px 24px}.auth-brand-logo{display:none!important}.auth-logo__name{font-size:30px}.auth-logo__sub{font-size:14px}.input-box{height:50px}.btn-submit{min-height:50px}}
@media(max-width:420px){.auth-card{padding:26px 20px}.auth-extra-actions{gap:9px}.auth-extra-actions .btn-create-acc{flex-basis:100%}.auth-extra-actions .link-forgot{width:100%;text-align:center}.intro-brand-logo{width:170px}}

/* Comfortable desktop scale at 100% browser zoom. */
@media(min-width:1101px){
  .auth-wrap{width:min(100%,1120px);min-height:650px;border-radius:24px}
  .auth-intro{padding:34px 52px 44px}
  .intro-brand-logo{width:255px}
  .intro-eyebrow{font-size:12px;padding:6px 12px;margin-bottom:18px}
  .intro-copy h2{font-size:44px;line-height:1.14;margin-bottom:16px}
  .intro-copy p{font-size:16px;line-height:1.55;max-width:390px}
  .intro-features{gap:15px;margin-top:28px}
  .intro-feature{gap:17px}
  .feature-icon{width:48px;height:48px;flex-basis:48px;border-radius:12px}
  .feature-icon svg{width:24px;height:24px}
  .intro-feature strong{font-size:14px}
  .intro-feature small{font-size:12px}
  .auth-card{padding:40px 52px}
  .auth-brand-logo{width:205px;margin-bottom:16px}
  .auth-logo{margin-bottom:24px}
  .auth-logo__name{font-size:34px}
  .auth-logo__sub{font-size:14px}
  .field{margin-bottom:16px}.field-label{font-size:13px;margin-bottom:7px}
  .input-box{height:48px;border-radius:11px}.input-box svg.input-icon{width:18px;height:18px;flex-basis:18px;margin-left:16px}
  .input-box input{font-size:13px;padding-left:15px}.toggle-pwd{height:46px;width:48px;flex-basis:48px}.toggle-pwd svg{width:18px;height:18px}
  .btn-submit{min-height:50px;border-radius:11px;font-size:14px}
  .auth-extra-actions{margin-top:14px;gap:14px}.btn-create-acc,.btn-google-login,.btn-apk-install{min-height:46px;border-radius:11px;font-size:13px}
  .auth-extra-actions .link-forgot{font-size:12px}.google-box{margin-top:18px}.auth-divider{font-size:13px;margin-bottom:14px}
  .country-card{min-height:64px}.country-grid{gap:7px}.auth-bottom{margin-top:18px;padding-top:17px}
}

.country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
