:root{
  --bg1:#486fa8;
  --bg2:#1e3f68;
  --card:#ffffff;
  --text:#172033;
  --soft:#6b7280;
  --button:#ffffff;
  --button-text:#344054;
  --accent:#23c7d9;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(155deg, var(--bg1), var(--bg2));
  color:var(--text);
  overflow-x:hidden;
}

.page{
  width:100%;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px 14px;
}

.linkbio{
  width:100%;
  max-width:430px;
  display:flex;
  flex-direction:column;
  gap:17px;
}

.profile{
  text-align:center;
  padding:8px 12px 4px;
}

.avatar-frame{
  width:122px;
  height:122px;
  margin:0 auto 18px;
  border-radius:34px;
  padding:5px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.20)),
    linear-gradient(145deg, var(--accent), #ffffff);
  box-shadow:0 18px 40px rgba(0,0,0,.24);
  position:relative;
}

.avatar-frame::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.55);
  pointer-events:none;
}

.logo{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:29px;
  background:#fff;
  display:block;
}

h1{
  margin:0;
  color:#fff;
  font-size:25px;
  line-height:1.12;
  font-weight:950;
  letter-spacing:.4px;
  text-transform:uppercase;
  text-shadow:0 3px 16px rgba(0,0,0,.22);
}

.subtitle{
  max-width:360px;
  margin:10px auto 0;
  color:rgba(255,255,255,.94);
  font-size:14px;
  line-height:1.4;
  font-weight:850;
}

.description{
  max-width:350px;
  margin:8px auto 0;
  color:rgba(255,255,255,.80);
  font-size:13px;
  line-height:1.45;
}

.links{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.link-btn{
  width:100%;
  min-height:56px;
  padding:0 18px 0 15px;
  border-radius:21px;
  border:1px solid rgba(255,255,255,.82);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), var(--button));
  color:var(--button-text);
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:13px;
  text-align:left;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.18px;
  box-shadow:
    0 13px 26px rgba(15,23,42,.20),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
  position:relative;
}

.link-btn::before{
  content:"";
  width:34px;
  height:34px;
  flex:0 0 auto;
  border-radius:14px;
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0 12%, transparent 13%),
    linear-gradient(145deg, var(--accent), #13859b);
  box-shadow:0 7px 15px rgba(32,196,216,.32);
}

.link-btn::after{
  content:"›";
  margin-left:auto;
  color:var(--accent);
  font-size:26px;
  line-height:1;
  font-weight:700;
}

.link-btn:hover{
  transform:translateY(-2px);
  box-shadow:
    0 18px 34px rgba(15,23,42,.26),
    inset 0 1px 0 rgba(255,255,255,.95);
  border-color:#fff;
}

.link-btn:active{
  transform:scale(.99);
}

.skeleton{
  opacity:.6;
  pointer-events:none;
}

.footer{
  margin-top:2px;
  padding:16px 14px;
  border-radius:24px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  backdrop-filter:blur(9px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-align:center;
  color:rgba(255,255,255,.80);
  font-size:12px;
}

.footer a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:950;
}

.hidden{display:none!important}

@media(max-width:390px){
  .page{padding:18px 12px}
  .avatar-frame{width:112px;height:112px;border-radius:31px}
  .logo{border-radius:26px}
  h1{font-size:22px}
  .link-btn{min-height:53px;font-size:12px;border-radius:19px}
}

@media(min-width:760px){
  .linkbio{max-width:450px}
}

/* V8 - ícones alinhados, estilos de botões e WhatsApp flutuante */
.link-btn{
  justify-content:flex-start!important;
  display:grid!important;
  grid-template-columns:40px 1fr 22px;
  gap:12px;
  text-align:left!important;
}
.link-btn::before,
.link-btn::after{
  content:none!important;
}
.btn-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg, var(--accent), #13859b);
  color:#fff;
  font-size:18px;
  box-shadow:0 8px 16px rgba(32,196,216,.30);
}
.btn-label{
  display:flex;
  align-items:center;
  min-width:0;
}
.btn-arrow{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  color:var(--accent);
  font-size:27px;
  font-weight:800;
}

body.btn-style-1 .link-btn{
  background:linear-gradient(180deg, #fff, var(--button));
  border-color:rgba(255,255,255,.82);
}

body.btn-style-2 .link-btn{
  background:rgba(255,255,255,.18);
  color:#fff;
  border-color:rgba(255,255,255,.35);
  backdrop-filter:blur(10px);
}
body.btn-style-2 .btn-arrow{color:#fff}

body.btn-style-3 .link-btn{
  background:linear-gradient(145deg,#111827,#1f2937);
  color:#fff;
  border-color:rgba(255,255,255,.12);
}
body.btn-style-3 .btn-arrow{color:#fff}

body.btn-style-4 .link-btn{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid var(--accent);
  box-shadow:0 0 0 1px rgba(32,196,216,.18),0 14px 28px rgba(15,23,42,.24);
}
body.btn-style-4 .btn-arrow{color:var(--accent)}

body.btn-style-5 .link-btn{
  background:linear-gradient(135deg,#2563eb,var(--accent));
  color:#fff;
  border-color:rgba(255,255,255,.35);
}
body.btn-style-5 .btn-icon{
  background:rgba(255,255,255,.18);
}
body.btn-style-5 .btn-arrow{color:#fff}

body.btn-style-6 .link-btn{
  border-radius:999px;
  min-height:54px;
  background:#fff;
}
body.btn-style-6 .btn-icon{
  border-radius:50%;
}

body.btn-style-7 .link-btn{
  background:#fff;
  box-shadow:0 20px 38px rgba(0,0,0,.30);
  border-bottom:4px solid rgba(0,0,0,.14);
}

body.btn-style-8 .link-btn{
  background:#fff;
  padding-left:10px;
}
body.btn-style-8 .btn-icon{
  width:44px;
  height:44px;
  border-radius:17px;
  font-size:20px;
}

body.btn-style-9 .link-btn{
  min-height:46px;
  border-radius:15px;
  font-size:12px;
}
body.btn-style-9 .btn-icon{
  width:30px;
  height:30px;
  border-radius:11px;
  font-size:15px;
}

body.btn-style-10 .link-btn{
  background:linear-gradient(180deg,#ffffff,#eef8ff);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 18px 36px rgba(15,23,42,.28), inset 0 1px 0 #fff;
}
body.btn-style-10 .btn-icon{
  background:linear-gradient(145deg,#25d366,#128c7e);
}

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:linear-gradient(145deg,#25d366,#128c7e);
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  box-shadow:0 16px 34px rgba(0,0,0,.28);
  z-index:20;
  border:3px solid rgba(255,255,255,.75);
}
.whatsapp-float span{
  font-size:27px;
  transform:rotate(-12deg);
}
.whatsapp-float:hover{
  transform:translateY(-2px);
}
@media(max-width:390px){
  .link-btn{grid-template-columns:36px 1fr 18px;gap:10px}
  .btn-icon{width:34px;height:34px}
  .whatsapp-float{width:54px;height:54px;right:14px;bottom:14px}
}


/* V11 */
.hero-logo,
.login-logo,
.side-brand img{
  aspect-ratio:1/1;
  object-fit:cover;
}

.link-btn{
  display:grid!important;
  grid-template-columns:48px 1fr 20px!important;
  align-items:center!important;
  gap:14px!important;
}

.btn-icon{
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:0!important;
  position:relative!important;
  background:linear-gradient(145deg,#25d366,#128c7e)!important;
}

.btn-icon::before{
  content:"";
  width:22px;
  height:22px;
  display:block;
  background-image:url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  filter:brightness(0) invert(1);
}

.btn-label{
  display:flex!important;
  align-items:center!important;
  font-weight:900!important;
  line-height:1.2!important;
}

.btn-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

@media(max-width:480px){
  .link-btn{
    grid-template-columns:42px 1fr 18px!important;
    gap:12px!important;
  }

  .btn-icon{
    width:40px!important;
    height:40px!important;
  }
}


/* V14 - estilos extras de botões */
body.btn-style-11 .link-btn{
  background:linear-gradient(135deg,#25d366,#128c7e);
  color:#fff;
  border-color:rgba(255,255,255,.35);
}
body.btn-style-11 .btn-icon{background:rgba(255,255,255,.20)!important}
body.btn-style-11 .btn-arrow{color:#fff}

body.btn-style-12 .link-btn{
  background:linear-gradient(135deg,#7c3aed,#4c1d95);
  color:#fff;
}
body.btn-style-12 .btn-arrow{color:#fff}

body.btn-style-13 .link-btn{
  background:linear-gradient(135deg,#fff7cc,#d4af37);
  color:#3f2f00;
}
body.btn-style-13 .btn-arrow{color:#8a6400}

body.btn-style-14 .link-btn{
  background:linear-gradient(135deg,#ef4444,#991b1b);
  color:#fff;
}
body.btn-style-14 .btn-arrow{color:#fff}

body.btn-style-15 .link-btn{
  background:linear-gradient(135deg,#f3f4f6,#9ca3af);
  color:#111827;
}
body.btn-style-15 .btn-arrow{color:#374151}


/* V16 - Popup de cookies */
body.cookie-blocked .page,
body.cookie-blocked .whatsapp-float{
  filter:blur(6px);
  pointer-events:none;
  user-select:none;
}

.cookie-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(3,10,24,.42);
  backdrop-filter:blur(2px);
}

.cookie-overlay.hidden{
  display:none;
}

.cookie-modal{
  width:min(430px,100%);
  border-radius:26px;
  padding:26px;
  background:rgba(255,255,255,.96);
  color:#111827;
  text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.72);
}

.cookie-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  border-radius:20px;
  background:linear-gradient(135deg,#fff7ed,#fed7aa);
  font-size:30px;
}

.cookie-modal h2{
  color:#111827;
  margin:0 0 10px;
  text-shadow:none;
  font-size:22px;
}

.cookie-modal p{
  color:#4b5563;
  margin:0 0 18px;
  font-size:14px;
  line-height:1.55;
  text-transform:none;
  font-weight:700;
  max-width:100%;
}

.cookie-accept{
  width:100%;
  min-height:48px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#25d366,#128c7e);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(18,140,126,.24);
}


/* V17 - botões sem ícone WhatsApp */
.link-btn{
  display:flex!important;
  justify-content:center!important;
  text-align:center!important;
  padding:0 18px!important;
}
.btn-icon{
  display:none!important;
}
.btn-label{
  justify-content:center!important;
  width:100%!important;
  text-align:center!important;
}
.btn-arrow{
  display:none!important;
}


/* V24 - Ícone WhatsApp autêntico e alinhado */
.link-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  text-align:center!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
.link-btn::before,
.link-btn::after{
  content:none!important;
  display:none!important;
}
.btn-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  color:#25D366!important;
}
.btn-icon::before{
  content:none!important;
  display:none!important;
}
.btn-icon svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
  fill:currentColor!important;
}
.btn-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  line-height:1.2!important;
  text-align:center!important;
}
.btn-arrow{display:none!important}
.whatsapp-float{
  position:fixed!important;
  right:18px!important;
  bottom:18px!important;
  width:60px!important;
  height:60px!important;
  border-radius:50%!important;
  background:#25D366!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:50!important;
  box-shadow:0 16px 34px rgba(0,0,0,.28)!important;
  border:3px solid rgba(255,255,255,.75)!important;
}
.whatsapp-float svg{
  width:34px!important;
  height:34px!important;
  fill:currentColor!important;
}
body.btn-style-2 .btn-icon,
body.btn-style-3 .btn-icon,
body.btn-style-4 .btn-icon,
body.btn-style-5 .btn-icon,
body.btn-style-11 .btn-icon,
body.btn-style-12 .btn-icon,
body.btn-style-14 .btn-icon{
  color:#fff!important;
}
@media(max-width:390px){
  .btn-icon{width:22px!important;height:22px!important;min-width:22px!important}
  .btn-icon svg{width:22px!important;height:22px!important}
  .whatsapp-float{width:56px!important;height:56px!important;right:14px!important;bottom:14px!important}
}


/* V28 - WhatsApp original */
.btn-icon{
  color:#25D366!important;
}

.btn-icon svg{
  width:23px!important;
  height:23px!important;
  filter:none!important;
}

.whatsapp-float{
  background:#25D366!important;
}

.whatsapp-float svg{
  width:36px!important;
  height:36px!important;
  color:#fff!important;
  fill:#fff!important;
}


/* V32 - alinhamento definitivo do ícone WhatsApp dos botões */
.link-btn{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) 28px!important;
  align-items:center!important;
  justify-items:center!important;
  column-gap:10px!important;
  text-align:center!important;
}

.link-btn::before,
.link-btn::after{
  content:none!important;
  display:none!important;
}

.btn-icon{
  grid-column:1!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:center!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#25D366!important;
  line-height:0!important;
}

.btn-icon svg{
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  fill:currentColor!important;
  margin:0!important;
  padding:0!important;
}

.btn-label{
  grid-column:2!important;
  display:block!important;
  width:100%!important;
  text-align:center!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  margin:0!important;
}

.btn-arrow{
  display:none!important;
}

body.btn-style-2 .btn-icon,
body.btn-style-3 .btn-icon,
body.btn-style-4 .btn-icon,
body.btn-style-5 .btn-icon,
body.btn-style-11 .btn-icon,
body.btn-style-12 .btn-icon,
body.btn-style-14 .btn-icon{
  color:#fff!important;
}

@media(max-width:420px){
  .link-btn{
    grid-template-columns:26px minmax(0,1fr) 26px!important;
    column-gap:8px!important;
  }

  .btn-icon,
  .btn-icon svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
}
