/* V2.8 — floating viewport cookie consent, matched to portfolio visual language */
.privacy-consent{
  position:fixed;
  z-index:9999;
  left:50%;
  bottom:22px;
  width:min(920px,calc(100vw - 36px));
  transform:translateX(-50%);
  margin:0;
  padding:19px 20px 18px 22px;
  border:1px solid rgba(104,215,210,.24);
  border-top-color:rgba(233,162,59,.58);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(8,13,18,.97),rgba(13,22,29,.95));
  -webkit-backdrop-filter:blur(20px) saturate(130%);
  backdrop-filter:blur(20px) saturate(130%);
  box-shadow:0 22px 70px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.025) inset,0 -1px 24px rgba(104,215,210,.04);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:18px;
  align-items:center;
  color:#dce5ea;
  font-family:Inter,Arial,sans-serif;
  overflow:hidden;
  animation:privacyConsentIn .42s cubic-bezier(.2,.8,.2,1) both;
}
.privacy-consent::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,#e9a23b 0%,#68d7d2 100%);
  box-shadow:0 0 18px rgba(104,215,210,.28);
}
.privacy-consent::after{
  content:"PRIVACY";
  position:absolute;
  right:20px;
  top:8px;
  font:600 8px/1 'Space Grotesk',Inter,sans-serif;
  letter-spacing:2.1px;
  color:rgba(104,215,210,.23);
  pointer-events:none;
}
.privacy-consent[hidden]{display:none!important}
.privacy-consent strong{
  display:flex;
  align-items:center;
  gap:9px;
  font:600 13px/1.25 'Space Grotesk',Inter,sans-serif;
  letter-spacing:.25px;
  color:#f5f8fa;
}
.privacy-consent strong::before{
  content:"";
  width:8px;height:8px;
  flex:0 0 8px;
  border:1px solid #68d7d2;
  border-radius:50%;
  box-shadow:0 0 10px rgba(104,215,210,.42);
}
.privacy-consent p{
  margin:6px 0 0;
  color:#93a2ac;
  font-size:11px;
  line-height:1.55;
  max-width:610px;
}
.privacy-consent>a{
  position:relative;
  z-index:1;
  color:#8998a2;
  font-size:10px;
  text-decoration:none;
  white-space:nowrap;
  transition:color .2s ease;
}
.privacy-consent>a:hover{color:#68d7d2}
.consent-actions{display:flex;gap:9px;position:relative;z-index:1}
.consent-actions button{
  min-height:40px;
  cursor:pointer;
  padding:10px 15px;
  border-radius:8px;
  font:600 10px/1 Inter,Arial,sans-serif;
  letter-spacing:.45px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
.consent-actions button:hover{transform:translateY(-1px)}
.consent-secondary{
  background:rgba(255,255,255,.025);
  color:#dce5ea;
  border:1px solid #344650;
}
.consent-secondary:hover{border-color:#68d7d2;color:#fff;background:rgba(104,215,210,.055)}
.consent-primary{
  background:linear-gradient(135deg,#e9a23b,#f0b04e);
  color:#10151a;
  border:1px solid #e9a23b;
  box-shadow:0 7px 22px rgba(233,162,59,.13);
}
.consent-primary:hover{box-shadow:0 9px 28px rgba(233,162,59,.23)}
.footer-link{color:inherit;text-decoration:none}.footer-link:hover{color:#e9a23b}
@keyframes privacyConsentIn{from{opacity:0;transform:translate(-50%,18px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px){
  .privacy-consent{
    bottom:12px;
    width:calc(100vw - 20px);
    padding:17px 16px 15px 18px;
    border-radius:14px;
    grid-template-columns:1fr;
    gap:12px;
  }
  .privacy-consent::after{display:none}
  .privacy-consent p{font-size:10.5px;line-height:1.5;padding-right:2px}
  .consent-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .consent-actions button{width:100%;padding:11px 8px}
  .privacy-consent>a{justify-self:start}
}
@media(max-width:390px){.consent-actions{grid-template-columns:1fr}.privacy-consent{bottom:8px;width:calc(100vw - 14px)}}
@media(prefers-reduced-motion:reduce){.privacy-consent{animation:none}.consent-actions button{transition:none}}
