:root{
  --bg:#080812;--panel:#111122;--panel2:#17172b;--txt:#f5f5ff;--muted:#b8b8cc;
  --primary:#8b5cf6;--pink:#ff2d75;--line:rgba(255,255,255,.12);--ok:#20d18b;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at top left,#271258,transparent 35%),radial-gradient(circle at top right,#4d1030,transparent 30%),var(--bg);color:var(--txt)}
.hidden{display:none!important}
button{border:0;border-radius:14px;padding:14px 18px;background:linear-gradient(135deg,var(--primary),var(--pink));color:#fff;font-weight:900;cursor:pointer}
input,select,textarea{width:100%;padding:15px;border-radius:14px;border:1px solid var(--line);background:#0b0b18;color:#fff;outline:none}
textarea{min-height:120px}
label{display:block;margin:10px 0 8px;color:var(--muted);font-size:14px}
.logo{font-size:28px;font-weight:900}.logo span{color:var(--pink)}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:6% 8%}
.auth-left h1{font-size:64px;line-height:.95;margin:25px 0 15px}.auth-left p{color:var(--muted);font-size:19px;line-height:1.6}
.auth-stats{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px}.auth-stats div,.card,.panel,.auth-card,.balance-card,.product-card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 80px rgba(0,0,0,.28)}
.auth-stats div{padding:18px 22px}.auth-stats b{font-size:24px;display:block}.auth-stats span{color:var(--muted)}
.auth-card{padding:26px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.tabs button{background:#111122}.tabs button.active{background:linear-gradient(135deg,var(--primary),var(--pink))}
.auth-card form{display:grid;gap:14px}.auth-card a{color:#c8b5ff;text-align:center;text-decoration:none}
.app{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:rgba(12,16,36,.9);border-right:1px solid var(--line);padding:24px;display:flex;flex-direction:column;gap:10px}
.nav-btn,.logout{background:transparent;text-align:left;color:var(--muted);padding:13px 14px}.nav-btn.active,.nav-btn:hover{background:rgba(139,92,246,.18);color:#fff}.logout{margin-top:auto;color:#ff8fb5}
.content{padding:28px}
.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.topbar h1{margin:0}.topbar p,.muted{color:var(--muted)}
.balance-card{padding:16px 22px;min-width:190px}.balance-card span,.card span{display:block;color:var(--muted);font-size:13px}.balance-card strong,.card strong{font-size:26px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.card{padding:22px}
.panel{padding:26px;margin-bottom:22px}.panel h2{margin-top:0}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.order-form{display:grid;gap:10px;max-width:900px}
.checkout{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0}.checkout div{background:#0b0b18;border:1px solid var(--line);border-radius:16px;padding:16px}.checkout span{display:block;color:var(--muted);font-size:13px}.checkout strong{font-size:22px}
.live-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.extras-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.product-card{padding:22px}.product-card.featured{border-color:rgba(255,45,117,.7)}.product-card h3{margin-top:0}.product-card ul{min-height:140px;color:var(--muted);line-height:1.7;padding-left:20px}.product-card p{color:var(--muted)}.product-card .total{display:block;font-size:21px;margin:14px 0}
.orders-list{display:grid;gap:10px}.order-item{background:#0b0b18;border:1px solid var(--line);border-radius:16px;padding:15px;display:grid;grid-template-columns:100px 1fr 130px;gap:12px}.order-item span{color:var(--muted)}.status{font-weight:900;color:#fff}
.mini-control{max-width:300px;margin-bottom:20px}
#toast{position:fixed;right:20px;top:20px;z-index:999;background:#111122;border:1px solid var(--line);padding:14px 18px;border-radius:14px;display:none}
@media(max-width:1100px){.live-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.auth-screen,.app{grid-template-columns:1fr}.sidebar{position:static;height:auto}.auth-left h1{font-size:42px}.extras-grid,.live-grid,.form-row,.checkout,.cards{grid-template-columns:1fr}.topbar{display:block}.order-item{grid-template-columns:1fr}}

.config-warning{
  background:rgba(255,45,117,.12);
  border:1px solid rgba(255,45,117,.45);
  color:#ffd6e6;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:14px;
  line-height:1.4;
  font-size:14px;
}

.product-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 22px;
}
.tab-btn{
  background:transparent;
  border:1px solid rgba(190,165,255,.75);
  color:#cbb8ff;
  padding:9px 14px;
  border-radius:8px;
  font-weight:800;
}
.tab-btn.active{
  background:#bea4f0;
  color:#151124;
}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.catalog-card{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(190,165,255,.45);
  border-radius:24px;
  padding:22px;
  box-shadow:0 20px 80px rgba(0,0,0,.28);
}
.catalog-card h3{margin-top:0;font-size:20px}
.catalog-card ul{
  min-height:210px;
  color:var(--muted);
  line-height:1.75;
  padding-left:20px;
}
.catalog-card .price-line{color:var(--muted);font-size:14px}
.catalog-card .catalog-total{
  display:block;
  font-size:22px;
  margin:12px 0 18px;
}
.catalog-card.featured{border-color:rgba(255,45,117,.75)}
@media(max-width:1200px){.catalog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.catalog-grid{grid-template-columns:1fr}}

.catalog-toolbar{
  display:grid;
  grid-template-columns:220px 220px 1fr;
  gap:14px;
  align-items:end;
  margin:18px 0;
}
.full-summary{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  margin:12px 0 18px;
  flex-wrap:wrap;
}
.full-catalog-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.full-service-card{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(190,165,255,.35);
  border-radius:20px;
  padding:18px;
}
.full-service-card h3{
  font-size:16px;
  line-height:1.35;
  margin:0 0 12px;
}
.full-service-card .meta{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.full-service-card .price{
  font-weight:900;
  font-size:18px;
  margin:12px 0;
}
.full-service-card .total{
  display:block;
  font-size:20px;
  margin:10px 0 14px;
}
.full-service-card .small{
  color:var(--muted);
  font-size:12px;
}
@media(max-width:1100px){
  .full-catalog-list{grid-template-columns:repeat(2,1fr)}
  .catalog-toolbar{grid-template-columns:1fr}
}
@media(max-width:650px){
  .full-catalog-list{grid-template-columns:1fr}
}

.order-service-details{
  background:rgba(11,11,24,.76);
  border:1px solid rgba(190,165,255,.3);
  border-radius:18px;
  padding:16px;
  margin:14px 0;
}
.order-service-details strong{
  display:block;
  font-size:18px;
  margin-bottom:8px;
}
.order-service-details .details-text{
  color:var(--muted);
  line-height:1.65;
  white-space:pre-line;
}
.order-service-details .pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.order-service-details .pill{
  background:rgba(139,92,246,.18);
  border:1px solid rgba(190,165,255,.35);
  color:#e8ddff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}
.full-service-card button.catalog-view-btn{
  background:transparent;
  border:1px solid rgba(190,165,255,.55);
  color:#d7c7ff;
}

.public-home h1{
  max-width:860px;
}
.public-actions{
  display:flex;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}
.public-actions button,.ghost-btn{
  border:0;
  padding:15px 22px;
  border-radius:14px;
  font-weight:900;
  color:white;
  background:linear-gradient(90deg,#8b5cf6,#ff2d75);
  cursor:pointer;
}
.public-actions .ghost-btn{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(190,165,255,.35);
}
.public-catalog-section{
  grid-column:1 / -1;
  margin:30px 0 50px;
  padding:28px;
  border:1px solid rgba(190,165,255,.25);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.public-catalog-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:20px;
}
.public-catalog-head h2{
  font-size:36px;
  margin:0 0 8px;
}
.public-catalog-head p{
  color:var(--muted);
  margin:0;
}
.public-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.public-badges span{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(139,92,246,.16);
  border:1px solid rgba(190,165,255,.32);
  color:#e8ddff;
  font-size:13px;
  font-weight:800;
}
.public-filters{
  display:grid;
  grid-template-columns:220px 220px 1fr;
  gap:14px;
  margin:20px 0;
}
.public-count-row{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  margin:14px 0 18px;
  flex-wrap:wrap;
  gap:10px;
}
.public-catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.public-service-card{
  background:linear-gradient(180deg,rgba(16,12,35,.92),rgba(34,20,58,.82));
  border:1px solid rgba(190,165,255,.38);
  border-radius:22px;
  padding:20px;
}
.public-service-card h3{
  font-size:18px;
  line-height:1.35;
  margin:0 0 12px;
}
.public-service-card .meta{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.public-service-card .price{
  font-size:22px;
  font-weight:900;
  margin:14px 0;
}
.public-service-card .total{
  display:block;
  font-size:22px;
  margin:12px 0 16px;
}
.public-service-card .small{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  min-height:58px;
}
.public-service-card button{
  width:100%;
  margin-top:10px;
}
@media(max-width:1100px){
  .public-catalog-grid{grid-template-columns:repeat(2,1fr)}
  .public-filters{grid-template-columns:1fr}
  .public-catalog-head{flex-direction:column}
}
@media(max-width:650px){
  .public-catalog-grid{grid-template-columns:1fr}
}

.mp-payment-box{
  margin:18px 0;
  padding:18px;
  border-radius:18px;
  background:rgba(11,11,24,.72);
  border:1px solid rgba(190,165,255,.32);
}
.mp-payment-box h3{margin:0 0 8px}
.mp-payment-box p,.mp-payment-box small{color:var(--muted)}
.mp-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0;
}
.mp-actions button,.whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  border:0;
  font-weight:900;
  text-decoration:none;
  color:white;
  background:linear-gradient(90deg,#8b5cf6,#ff2d75);
  cursor:pointer;
}
.whatsapp-btn{
  background:#25d366;
  color:#07130b;
}

.wallet-help-payment{
  background:rgba(11,11,24,.72);
  border:1px solid rgba(190,165,255,.32);
  border-radius:18px;
  padding:16px;
  margin:12px 0 20px;
}
.wallet-help-payment p{color:var(--muted); margin:8px 0 0}
.insufficient-box{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,45,117,.12);
  border:1px solid rgba(255,45,117,.35);
}
.insufficient-box button{
  margin-top:10px;
}

.payment-choice-box{
  margin:18px 0;
  padding:18px;
  border-radius:18px;
  background:rgba(11,11,24,.72);
  border:1px solid rgba(190,165,255,.32);
}
.payment-choice-box h3{margin:0 0 14px}
.payment-choice-box p{color:var(--muted); margin:12px 0 0}
.payment-method-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.payment-method-grid button{
  min-height:58px;
  border-radius:14px;
  font-weight:900;
}
.wallet-whatsapp{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:14px;
  border-radius:14px;
  background:#25d366;
  color:#07130b;
  text-decoration:none;
  font-weight:900;
}
.floating-whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:#25d366;
  color:#07130b;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  text-decoration:none;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  z-index:9999;
}
@media(max-width:800px){
  .payment-method-grid{grid-template-columns:1fr}
}


/* ===== WALLET FINAL MERCADO PAGO + WHATSAPP REAL ===== */
.wallet-layout{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:22px;
}
.wallet-title-row{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:22px;
}
.wallet-title-row h2{margin:0;font-size:34px}
.wallet-title-row p{margin:5px 0 0;color:var(--muted)}
.wallet-icon-money{
  width:54px;height:54px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,45,117,.18);
  color:#ff4fa0;font-size:32px;font-weight:900;
}
.wallet-card{
  background:linear-gradient(180deg,rgba(17,17,36,.92),rgba(13,13,28,.82));
  border:1px solid rgba(190,165,255,.22);
  border-radius:22px;
  padding:24px;
  box-shadow:0 18px 55px rgba(0,0,0,.25);
}
.step-card{margin-bottom:22px}
.step-title{
  display:flex;align-items:center;gap:12px;
  font-size:20px;font-weight:900;margin-bottom:22px;
}
.step-title span{
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(139,92,246,.34);color:#d9ccff;
}
.amount-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-bottom:20px;
}
.amount-option{
  min-height:132px;
  border-radius:16px;
  border:1px solid rgba(190,165,255,.22);
  background:rgba(9,9,22,.76);
  color:white;
  font-size:21px;
  font-weight:900;
  cursor:pointer;
}
.amount-option small{
  display:block;
  margin-top:12px;
  color:#ff4fa0;
  font-size:13px;
}
.amount-option.popular{
  position:relative;
  border-color:#ff2dca;
  box-shadow:0 0 24px rgba(255,45,202,.25);
}
.amount-option.popular:before{
  content:attr(data-popular);
  position:absolute;top:-17px;left:50%;transform:translateX(-50%);
  background:linear-gradient(90deg,#8b5cf6,#ff2d75);
  color:white;padding:6px 12px;border-radius:8px;font-size:12px;
}
.money-input{
  display:flex;align-items:center;gap:10px;
  background:rgba(7,7,18,.85);
  border:1px solid rgba(190,165,255,.18);
  border-radius:14px;
  padding:0 16px;
  max-width:520px;
}
.money-input input{
  flex:1;border:0;background:transparent;color:white;
  min-height:48px;outline:none;
}
.payment-row{
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  border:1px solid rgba(190,165,255,.18);
  background:rgba(9,9,22,.76);
  color:white;
  border-radius:16px;
  padding:18px;
  margin-bottom:14px;
  cursor:pointer;
  text-align:left;
}
.payment-row b{font-size:18px}
.payment-row small{display:block;color:var(--muted);margin-top:5px}
.payment-row.recommended{
  border-color:#25d366;
  background:linear-gradient(90deg,rgba(37,211,102,.14),rgba(9,9,22,.76));
}
.payment-icon{
  width:48px;height:48px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:900;
}
.card-icon{background:#0ea5e9}
.pix-icon{background:#14b8a6}
.mp-icon{background:#2563eb}
.payment-brands,.mp-logo-small,.recommended-badge{
  margin-left:auto;
  color:#d9ccff;
  font-weight:900;
  font-size:13px;
}
.recommended-badge{
  background:#16a34a;color:white;
  padding:8px 10px;border-radius:8px;
}
.wallet-info-box{
  border:1px solid rgba(59,130,246,.62);
  background:rgba(15,43,90,.28);
  border-radius:18px;
  padding:20px;
  color:#dbeafe;
}
.wallet-info-box p{margin:8px 0;color:#dbeafe}
.wallet-side{display:flex;flex-direction:column;gap:16px}
.wallet-balance-card{
  position:relative;
  border-radius:16px;
  padding:20px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(190,165,255,.22);
}
.wallet-balance-card span{color:var(--muted)}
.wallet-balance-card b{display:block;font-size:30px;margin-top:8px}
.wallet-card-icon{
  position:absolute;right:18px;top:22px;
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,45,117,.18);
}
.benefit-item{
  display:flex;gap:14px;align-items:flex-start;margin:18px 0;
}
.benefit-item span{
  min-width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,45,117,.13);
}
.benefit-item b{display:block}
.benefit-item small{color:var(--muted);line-height:1.45}
.secure-card p,.whatsapp-help-card p{color:var(--muted)}
.secure-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.secure-tags span{
  background:rgba(37,211,102,.14);
  color:#b7ffd0;
  border-radius:10px;
  padding:8px 10px;
  font-size:12px;
  font-weight:900;
}
.real-whatsapp-btn{
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:62px;
  border-radius:14px;
  background:#25d366;
  color:#07130b;
  text-decoration:none;
  font-weight:900;
  font-size:18px;
}
.wa-logo{
  width:38px;height:38px;border-radius:50%;
  background:white;
  display:flex;align-items:center;justify-content:center;
}
.wa-logo svg{width:30px;height:30px;fill:#25d366}
.floating-whatsapp-real{
  position:fixed;
  right:22px;
  bottom:22px;
  width:62px;height:62px;
  border-radius:50%;
  background:#25d366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 18px 45px rgba(0,0,0,.42);
  z-index:9999;
}
.floating-whatsapp-real svg{width:42px;height:42px;fill:white}
@media(max-width:1100px){
  .wallet-layout{grid-template-columns:1fr}
  .amount-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .amount-grid{grid-template-columns:1fr}
  .payment-row{align-items:flex-start}
}
.lang-switcher{position:fixed;top:14px;right:14px;z-index:99999}.lang-switcher select{background:#07131f;color:#fff;border:1px solid #1d3a55;border-radius:10px;padding:9px 12px;font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.lang-switcher{position:fixed;top:14px;right:14px;z-index:99999;background:#07131f;border:1px solid #1d3954;border-radius:12px;padding:8px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.lang-switcher select{background:#0e1b2a;color:#fff;border:1px solid #2c5277;border-radius:8px;padding:8px 10px;font-weight:700;outline:none}
@media(max-width:700px){.lang-switcher{top:8px;right:8px}.lang-switcher select{max-width:150px}}

/* Ajuste do seletor de idioma: só bandeiras e fora do card de saldo */
.lang-switcher{position:fixed!important;top:18px!important;right:330px!important;z-index:99999!important;background:rgba(7,19,31,.96)!important;border:1px solid #1d3954!important;border-radius:12px!important;padding:6px!important;box-shadow:0 10px 30px rgba(0,0,0,.25)!important}
.lang-switcher select{background:#0e1b2a!important;color:#fff!important;border:1px solid #2c5277!important;border-radius:8px!important;padding:7px 8px!important;font-size:18px!important;font-weight:800!important;outline:none!important;width:62px!important}
@media(max-width:1100px){.lang-switcher{right:18px!important;top:76px!important}}
@media(max-width:700px){.lang-switcher{right:10px!important;top:70px!important}.lang-switcher select{width:58px!important}}
/* NexBoost audited language switcher position */
.lang-switcher{position:fixed!important;top:16px!important;right:520px!important;z-index:99999!important;background:rgba(7,19,31,.96)!important;border:1px solid #1d3954!important;border-radius:12px!important;padding:6px!important;box-shadow:0 10px 30px rgba(0,0,0,.25)!important}
.lang-switcher select{background:#0e1b2a!important;color:#fff!important;border:1px solid #2c5277!important;border-radius:8px!important;padding:7px 8px!important;font-size:18px!important;font-weight:800!important;outline:none!important;width:62px!important}
@media(max-width:1250px){.lang-switcher{top:72px!important;right:18px!important}}
@media(max-width:700px){.lang-switcher{top:70px!important;right:10px!important}.lang-switcher select{width:58px!important}}
