/* =========================================================
   TRIPLEX AUTH — MODERN, RESPONSIVE, REFERENCE-INSPIRED UI
========================================================= */
:root{
    --auth-bg:#f4f6fa;
    --auth-card:#fff;
    --auth-text:#151922;
    --auth-muted:#697386;
    --auth-border:#e2e6ed;
    --auth-primary:#e53935;
    --auth-primary-dark:#c62828;
    --auth-soft:#fff4f3;
    --auth-success:#166534;
    --auth-danger:#b42318;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;}
body.auth-body{
    min-height:100vh;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    background:#f4f5f8;
    color:var(--auth-text);
}
a,button,input{font:inherit}
button{cursor:pointer}
.auth-shell{
    min-height:100vh;
    width:100%;
    max-width:1240px;
    margin:0 auto;
    padding:28px;
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);
    gap:22px;
    align-items:center;
}
.auth-brand-panel{
    position:relative;
    min-height:650px;
    overflow:hidden;
    padding:42px;
    border-radius:28px;
    color:#fff;
    background:linear-gradient(145deg,#11151d 0%,#202733 48%,#3a1d22 100%);
    box-shadow:0 26px 70px rgba(20,24,32,.16);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.auth-brand-panel:before,
.auth-brand-panel:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.auth-brand-panel:before{width:420px;height:420px;right:-180px;top:-180px;background:rgba(229,57,53,.16)}
.auth-brand-panel:after{width:300px;height:300px;left:-170px;bottom:-160px;background:rgba(255,255,255,.045)}
.auth-logo{position:relative;z-index:1;display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:.3px}
.auth-logo-mark{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);font-size:21px}
.auth-logo small{display:block;margin-top:3px;color:rgba(255,255,255,.62);font-size:10px;font-weight:600;letter-spacing:0}
.auth-brand-copy{position:relative;z-index:1;max-width:610px}
.auth-brand-copy .eyebrow,.auth-card-head .eyebrow{font-size:10px;font-weight:900;letter-spacing:1.7px;text-transform:uppercase}
.auth-brand-copy .eyebrow{color:#ff9a97}
.auth-brand-copy h1{margin:12px 0 16px;font-size:clamp(36px,4vw,52px);line-height:1.05;letter-spacing:-1.8px}
.auth-brand-copy p{margin:0;max-width:560px;color:rgba(255,255,255,.72);font-size:14px;line-height:1.75}
.auth-points{position:relative;z-index:1;display:grid;gap:10px;margin-top:26px}
.auth-point{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.045);color:rgba(255,255,255,.82);font-size:12px;line-height:1.5}
.auth-point b{display:block;color:#fff;margin-bottom:2px}
.auth-point-icon{width:27px;height:27px;flex:0 0 27px;border-radius:9px;display:grid;place-items:center;background:rgba(229,57,53,.18);color:#ffb4b1;font-weight:900}
.auth-card{
    width:100%;
    background:#fff;
    border:1px solid var(--auth-border);
    border-radius:24px;
    padding:30px;
    box-shadow:0 18px 55px rgba(20,24,32,.09);
}
.auth-card-head .eyebrow{color:#e53935}
.auth-card-head h2{margin:7px 0 6px;font-size:29px;line-height:1.15;letter-spacing:-.8px}
.auth-card-head p{margin:0 0 20px;color:var(--auth-muted);font-size:12.5px;line-height:1.6}
.auth-alert{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:11px;font-size:12px;font-weight:700;line-height:1.45;margin-bottom:14px}
.auth-alert.error{background:#fff2f1;color:var(--auth-danger);border:1px solid #ffd1cd}
.auth-alert.success{background:#f0fdf4;color:var(--auth-success);border:1px solid #bbf7d0}
.auth-account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin-bottom:18px;border:1px solid #e4e7ec;border-radius:13px;background:#f7f8fa}
.auth-account-tab{height:42px;border:0;border-radius:9px;background:transparent;color:#6b7280;font-size:12px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:7px}
.auth-account-tab.active{background:#fff;color:#20242d;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.auth-account-tab.active i{color:#e53935}
.auth-account-note{margin:-8px 0 15px;padding:9px 11px;border-radius:10px;background:#fff7f6;border:1px solid #ffe1df;color:#7c4a47;font-size:10.5px;line-height:1.45}
.auth-field{margin-bottom:13px}
.auth-field label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;color:#303743;font-size:11.5px;font-weight:850}
.auth-field label a{color:#e53935;text-decoration:none;font-weight:850}
.auth-input-wrap{position:relative}
.auth-input{width:100%;height:47px;border:1px solid #d9dee7;border-radius:11px;background:#fff;color:var(--auth-text);padding:0 13px;outline:0;font-size:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.auth-input::placeholder{color:#a0a7b3}
.auth-input:focus{border-color:#e53935;box-shadow:0 0 0 3px rgba(229,57,53,.09)}
.auth-password-wrap{position:relative}
.auth-password-wrap .auth-input{padding-right:45px}
.auth-password-toggle{position:absolute;right:5px;top:5px;width:37px;height:37px;border:0;border-radius:8px;background:transparent;color:#8b93a1}
.auth-password-toggle:hover{background:#f5f6f8;color:#e53935}
.auth-submit{width:100%;min-height:48px;border:0;border-radius:11px;background:linear-gradient(135deg,#ef3d39,#d72f2b);color:#fff;font-size:13px;font-weight:900;letter-spacing:.1px;box-shadow:0 10px 22px rgba(229,57,53,.18);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 13px 26px rgba(229,57,53,.23);background:linear-gradient(135deg,#e53935,#c62828)}
.auth-submit:active{transform:translateY(0)}
.auth-divider{display:flex;align-items:center;gap:9px;margin:18px 0 11px;color:#9aa2af;font-size:9.5px;font-weight:850;letter-spacing:.5px}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e7e9ed;flex:1}
.auth-socials{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.auth-social{height:43px;border:1px solid #dfe3e9;border-radius:10px;background:#fff;color:#343a46;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11.5px;font-weight:850}
.auth-social:hover{background:#f8f9fb;border-color:#cfd5de}
.auth-social i{font-size:14px}
.auth-switch{text-align:center;margin-top:18px;color:#747d8b;font-size:11.5px}
.auth-switch a{color:#e53935;font-weight:900;text-decoration:none}
.auth-terms{margin-top:12px;padding-top:12px;border-top:1px solid #eef0f3;color:#a0a7b3;text-align:center;font-size:9.5px;line-height:1.55}
.auth-gate{max-width:620px;margin:60px auto;padding:20px}
.auth-gate-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:36px;text-align:center;box-shadow:0 25px 70px rgba(15,23,42,.10)}
.auth-gate-icon{width:68px;height:68px;border-radius:20px;margin:0 auto 16px;display:grid;place-items:center;background:#fff0ef;color:#e53935;font-size:28px}
.auth-gate h1{margin:0 0 9px;font-size:28px}.auth-gate p{margin:0 auto 22px;max-width:500px;color:#64748b;line-height:1.7;font-size:13px}
.auth-gate-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.auth-gate-btn{display:inline-flex;align-items:center;justify-content:center;min-width:155px;height:46px;padding:0 18px;border-radius:11px;text-decoration:none;font-size:12px;font-weight:900}.auth-gate-btn.primary{background:#e53935;color:#fff}.auth-gate-btn.secondary{background:#f1f5f9;color:#334155}.auth-gate-note{margin-top:16px;font-size:10px;color:#94a3b8}

/* =========================================================
   REFERENCE-INSPIRED MONETIZATION / BENEFITS SECTION
========================================================= */
.auth-benefits{
    grid-column:1 / -1;
    overflow:hidden;
    margin-top:0;
    border:1px solid #252b35;
    border-radius:26px;
    padding:30px;
    color:#fff;
    background:linear-gradient(145deg,#11151d 0%,#1d232d 55%,#2c181c 100%);
    box-shadow:0 20px 55px rgba(20,24,32,.12);
}
.auth-benefits-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.auth-benefits-eyebrow{display:inline-block;color:#ff9692;font-size:10px;font-weight:900;letter-spacing:1.7px;text-transform:uppercase}
.auth-benefits-head h2{margin:7px 0 8px;max-width:780px;font-size:31px;line-height:1.12;letter-spacing:-1px}
.auth-benefits-head p{margin:0;max-width:760px;color:rgba(255,255,255,.68);font-size:12.5px;line-height:1.65}
.auth-benefits-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#ffd5d2;font-size:10px;font-weight:900;white-space:nowrap}
.auth-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.auth-benefit-card{min-height:185px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(255,255,255,.045);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.auth-benefit-card:hover{transform:translateY(-2px);border-color:rgba(229,57,53,.45);background:rgba(255,255,255,.065)}
.auth-benefit-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;margin-bottom:13px;background:rgba(229,57,53,.16);color:#ffaaa6;font-size:15px}
.auth-benefit-card h3{margin:0 0 7px;font-size:14px;line-height:1.3;color:#fff}
.auth-benefit-card p{margin:0;color:rgba(255,255,255,.64);font-size:11px;line-height:1.65}
.auth-benefits-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding:15px 16px;border-radius:15px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.07)}
.auth-benefits-footer strong{display:block;font-size:13px;margin-bottom:3px}.auth-benefits-footer span{display:block;color:rgba(255,255,255,.62);font-size:10.5px}
.auth-benefits-cta{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:150px;height:42px;padding:0 16px;border-radius:10px;background:#e53935;color:#fff;text-decoration:none;font-size:11px;font-weight:900;box-shadow:0 9px 20px rgba(229,57,53,.18)}
.auth-benefits-cta:hover{background:#c62828}
@media(max-width:1050px){.auth-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.auth-benefits{grid-column:auto;margin:0 2px;padding:19px 15px;border-radius:19px}.auth-benefits-head{align-items:flex-start;flex-direction:column;gap:12px}.auth-benefits-head h2{font-size:23px}.auth-benefits-head p{font-size:11.5px}.auth-benefit-grid{grid-template-columns:1fr;gap:9px}.auth-benefit-card{min-height:auto;padding:15px}.auth-benefits-footer{align-items:stretch;flex-direction:column}.auth-benefits-cta{width:100%}}

@media(max-width:920px){.auth-shell{grid-template-columns:1fr;max-width:650px;padding:18px}.auth-brand-panel{min-height:390px;padding:30px}.auth-brand-copy h1{font-size:37px}.auth-points{margin-top:20px}}
@media(max-width:620px){.auth-shell{padding:9px;align-items:start}.auth-brand-panel{display:none}.auth-card{margin-top:7px;border-radius:18px;padding:19px 16px;box-shadow:0 12px 35px rgba(20,24,32,.08)}.auth-card-head h2{font-size:24px}.auth-card-head p{font-size:11.5px;margin-bottom:17px}.auth-account-tabs{margin-bottom:15px}.auth-socials{grid-template-columns:1fr}.auth-input{height:46px}.auth-submit{min-height:47px}.auth-gate{padding:10px;margin:28px auto}.auth-gate-card{padding:27px 18px;border-radius:20px}}
@media(max-width:360px){.auth-card{padding:17px 13px}.auth-account-tab{font-size:10.5px}.auth-card-head h2{font-size:22px}.auth-field label{font-size:11px}}
