@font-face {
  font-family: 'Shantell Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/shantell-sans-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Ndot55Caps Regular';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Ndot55Caps-Regular.woff2') format('woff2');
}
:root{
   --bg:#000;--bg2:#111;--bg3:#222;--bg4:#333;
   --border:#444;--border2:#555;
   --blue:#00d4ff;--blue2:#0099cc;
   --blue-dim:rgba(0,212,255,0.08);--blue-glow:rgba(0,212,255,0.15);
   --light:#fff;--light2:#eee;--light3:#ccc;--light4:#aaa;
   --purple:#8b5cf6;
   --surface:#fff;--surface2:#f9f9f9;--surface3:#f0f0f0;
   --border-hi:#ddd;
   --text:#fff;--text-2:#eee;--text-3:#ccc;
   --cyan:#06b6d4;
   --gold:var(--purple);--gold-dim:rgba(139,92,246,0.08);
   --r:16px;--r-lg:24px;
 }
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
   background: linear-gradient(135deg,rgba(14, 25, 43, 1) 0%, rgb(5, 77, 65) 100%);
   color:var(--text);
   font-family:'Shantell Sans', sans-serif;
   font-size:16px;
   line-height:1.6;
   overflow-x:hidden;
   min-height:100vh;
   position:relative;
 }
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--bg2)}
::-webkit-scrollbar-thumb{background:rgba(48,148,242,0.35);border-radius:2px}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 30%;
    filter: blur(50px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 2;
}

/* ── LAYOUT ── */
.site{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;
  padding:60px 20px 80px;
  min-height:100vh;
}

/* Overlay "tech" (scanlines + rejilla) como en dprojects */
.site::before{
  display:none;
}
.site::after{
  display:none;
}

/* ── CARD CONTAINER ── */
.card{
   width:100%;max-width:520px;
   position:relative;
   background: rgba(0, 0, 0, 0.04);
   border:1px solid rgba(255, 255, 255, 0.2);
   border-radius:24px;
   overflow:hidden;
   box-shadow:
     0 4px 10px rgba(255, 255, 255, 0.1),
     inset 0 1px 0 rgba(255, 255, 255, 0.1);
 }
.card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(48, 148, 242, 0.03) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-radius:24px;
  z-index:0;
  pointer-events:none;
}
.card > *{position:relative;z-index:1}

/* ── HEADER BAND ── */
.card-header{
  position:relative;
  padding:24px 32px 16px;
  background:rgba(17, 19, 25, 0.08);
  border-bottom:1px solid rgba(255, 255, 255, 0.08);
  text-align:center;
}
.card-header::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  z-index:0;
  pointer-events:none;
}

/* corner tag */
.card-header::after{
  display:none;
}

.avatar-ring{
  display:inline-flex;align-items:center;justify-content:center;
  width:90px;height:90px;
  border-radius:50%;
  background:conic-gradient(from 180deg, #3094f2, #00c8ff, #9b6dff, #3094f2);
  padding:2px;
  margin-bottom:10px;
}
@keyframes spinSlow{to{filter:hue-rotate(360deg)}}
.avatar-inner{
  width:100%;height:100%;border-radius:50%;
  background:rgba(26, 29, 38, 0.2);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255, 255, 255, 0.08);
}
.avatar-inner img{
   width:64px;height:64px;
   filter: brightness(1);
 }

/* Avatar (sin anillo) */
.avatar-img{
  width:120px;
  height:120px;
  display:block;
  margin:0 auto 12px;
  border-radius:50%;
  background:rgba(26, 29, 38, 0.15);
  padding:4px;
  border:1px solid rgba(255, 255, 255, 0.08);
}

.profile-name{
  font-family:'Ndot55Caps Regular', sans-serif;
  font-size:40px;
  letter-spacing:-0.02em;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:2px;
}
.badge-verified{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;
  overflow:hidden;
}
.verified-icon{
  width:18px;
  height:18px;
  display:block;
}
@keyframes avatarScan{
  0%,100%{transform:translateY(0);opacity:0.72}
  50%{transform:translateY(2px);opacity:0.82}
}
@keyframes avatarGlitchBand{
  0%,100%{transform:translate(0,0);opacity:0.16}
  20%{transform:translate(-2px,1px);opacity:0.24}
  21%{transform:translate(2px,-1px);opacity:0.08}
  46%{transform:translate(0,0);opacity:0.16}
  47%{transform:translate(1px,0);opacity:0.26}
  48%{transform:translate(-1px,0);opacity:0.10}
}
@keyframes avatarGlitch{
  0%,100%{transform:translate(0,0);opacity:1}
  18%{transform:translate(0,0)}
  19%{transform:translate(-1px,0)}
  20%{transform:translate(1px,0);opacity:0.92}
  21%{transform:translate(0,0)}
  64%{transform:translate(0,0)}
  65%{transform:translate(1px,-1px);opacity:0.90}
  66%{transform:translate(-1px,1px)}
  67%{transform:translate(0,0);opacity:1}
}
.profile-handle{
  font-family:'Shantell Sans', 'Segoe UI', sans-serif;
  font-size:20px;
  color:var(--text-3);
  letter-spacing:0.05em;
  font-weight:500;
  margin-bottom:8px;
}
.profile-bio{
  font-size:20px;color:var(--text-3);
  max-width:320px;margin:0 auto;
  line-height:1.4;
  font-weight:300;
  font-style:normal;
  margin-top:-2px;
  opacity:0.7;
}
.profile-bio:empty{display:none}

/* ── SOCIAL STATS ── */
.social-stats{
  display:flex;align-items:center;justify-content:center;
  gap:20px;margin-top:12px;
}
.stat-item{
  display:flex;flex-direction:column;align-items:center;
  text-decoration:none;color:var(--text);
  transition:all .2s ease;
  padding:8px 12px;
  border-radius:12px;
}
.stat-icon{
  width:14px;
  height:14px;
  margin-bottom:4px;
  filter:invert(1) brightness(1);
}
.stat-item:hover{
  background:rgba(57, 60, 70, 0.49);
  transform:translateY(-2px);
}
.stat-number{
  font-size:18px;font-weight:700;color:var(--text);
  line-height:1;
  margin-bottom:4px;
}
.stat-label{
  font-size:11px;color:var(--text);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.05em;
}

/* ── SOCIAL ROW ── */
.social-row{
  display:flex;align-items:center;justify-content:center;
  gap:16px;padding:20px 32px;
  border-bottom:1px solid rgba(255, 255, 255, 0.1);
  background:rgba(17, 19, 25, 0.12);
}
.soc-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;height:48px;border-radius:12px;
  text-decoration:none;
  background:rgba(26, 29, 38, 0.15);
  border:1px solid rgba(255, 255, 255, 0.08);
  transition:all .2s ease;
  position:relative;overflow:hidden;
}
.soc-btn::before{
  display:none;
}
.soc-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(59,130,246,0.15);
  background:rgba(26, 29, 38, 0.25);
}
.soc-btn:hover img{
  filter:invert(1) brightness(1);
}
.soc-btn img{
  width:20px;
  height:20px;
  display:block;
  filter:invert(1) brightness(1);
}

/* Platform-specific hover colors */
.soc-btn.tw:hover{
  background:#000000;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  transform:translateY(-2px);
}
.soc-btn.ig:hover{
  background:#E1306C;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(225,48,108,0.3);
  transform:translateY(-2px);
}
.soc-btn.yt:hover{
  background:#FF0000;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(255,0,0,0.3);
  transform:translateY(-2px);
}
.soc-btn.kk:hover{
  background:#00A846;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(0,168,70,0.3);
  transform:translateY(-2px);
}
.soc-btn.tt:hover{
  background:#00C4B4;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(0,196,180,0.3);
  transform:translateY(-2px);
}
.soc-btn.twitch:hover{
  background:#6f00ff;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(0,196,180,0.3);
  transform:translateY(-2px);
}

/* ── LINKS BODY ── */
.links-body{
  padding:24px 32px 32px;
  display:flex;flex-direction:column;gap:8px;
  background:rgba(17, 19, 25, 0.08);
}

/* section label */
.sec-label{
  font-family:'Shantell Sans', 'Segoe UI', sans-serif;
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--text-3);
  font-weight:600;
  padding:0 4px;
  margin-top:16px;
  margin-bottom:8px;
}
.sec-label:first-child{margin-top:0}

/* FEATURED LINK */
.link-featured{
  display:flex;align-items:flex-start;gap:14px;
  padding:16px 20px;
  background:rgba(17, 19, 25, 0.15);
  border:1px solid rgba(255, 255, 255, 0.12);
  border-radius:var(--r);
  text-decoration:none;color:var(--text);
  font-size:15px;font-weight:500;
  transition:all .2s ease;
  box-shadow:0 4px 16px rgba(0,0,0,0.08);
  position:relative;overflow:hidden;
}
.link-featured::before{
  display:none;
}
@keyframes sheen{0%,100%{left:-60%}50%{left:110%}}
.link-featured:hover{
  transform:translateX(4px) scale(1.02);
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  border-color:var(--blue);
  color:var(--text);
}
.link-featured-icon{
  width:40px;height:40px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(26, 29, 38, 0.25);
  border:1px solid rgba(255, 255, 255, 0.08);
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  margin-top:0;
  margin-left:0;
}
.link-featured-icon img{
  height:20px;
  filter:none;
}
.link-featured-text{flex:1;min-width:0; padding-top:2px;}
.link-featured-text strong{
  display:block;font-family:'Shantell Sans', 'Segoe UI', sans-serif;
  font-size:15px;font-weight:600;
  letter-spacing:0.01em;
  color:var(--text);
}
.link-featured-text span{
  display:block;font-size:13px;color:var(--text-3);
  margin-top:2px;
}
.link-featured-arrow{
  font-size:18px;
  opacity:0.3;
  flex-shrink:0;
  color:var(--text-3);
  transition:all .2s ease;
}
.link-featured:hover .link-featured-arrow{opacity:1;color:var(--blue)}

/* STANDARD LINK */
.link-item{
  display:flex;align-items:flex-start;gap:14px;
  padding:16px 20px;
  background:rgba(17, 19, 25, 0.12);
  border:1px solid rgba(255, 255, 255, 0.1);
  border-radius:var(--r);
  text-decoration:none;color:var(--text);
  font-size:15px;font-weight:500;
  transition:all .2s ease;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 10px;
}
.link-item:hover{
  background:rgba(26, 29, 38, 0.35);
  border-color:rgba(59, 130, 246, 0.4);
  transform:translateX(4px) scale(1.02);
  box-shadow:0 8px 24px rgba(0,0,0,0.2);
  color:var(--text);
}
.link-item-icon{
  width:40px;height:40px;flex-shrink:0;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(26, 29, 38, 0.2);
  border:1px solid rgba(255, 255, 255, 0.06);
  font-size:18px;
  margin-top:0;
  margin-left:0;
}
.link-item-icon img{
  width:18px;
  height:18px;
  filter:invert(1) brightness(1);
}
.link-item-icon.no-invert img {
  filter: none !important;
}
.link-item-label{flex:1;min-width:0; padding-top:2px;}
.link-item-label strong{display:block;font-size:15px;font-weight:600;color:var(--text)}
.link-item-label small{display:block;font-size:13px;color:var(--text-3);margin-top:2px}
.link-item-arrow{opacity:0.3;font-size:18px;font-family:'Shantell Sans', 'Segoe UI', sans-serif;flex-shrink:0;transition:all .2s ease;color:var(--text-3)}
.link-item:hover .link-item-arrow{opacity:1;color:var(--blue)}

/* VIP special */
.link-item.vip{
  background:linear-gradient(135deg,rgba(139,92,246,0.05),var(--bg2));
  border-color:rgba(139,92,246,0.2);
}
.link-item.vip:hover{
  border-color:var(--purple);
  box-shadow:0 2px 8px rgba(139,92,246,0.15);
}
.link-item.vip .link-item-icon{
  background:rgba(139,92,246,0.1);
  border-color:rgba(139,92,246,0.2);
}

/* ── FOOTER ── */
.card-footer{
  padding:20px 32px;
  border-top:1px solid rgba(255, 255, 255, 0.1);
  text-align:center;
  font-family:'Shantell Sans', 'Segoe UI', sans-serif;
  font-size:12px;color:var(--text-3);
  font-weight:500;
  background:rgba(17, 19, 25, 0.12);
}

/* ── ANIMATIONS ── */
.anim-in{
  opacity:0;transform:translateY(12px);
  animation:fadeUp 0.5s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes fadeUp{to{opacity:1;transform:none}}
.d1{animation-delay:.05s}.d2{animation-delay:.1s}.d3{animation-delay:.15s}
.d4{animation-delay:.2s}.d5{animation-delay:.25s}.d6{animation-delay:.3s}
.d7{animation-delay:.35s}.d8{animation-delay:.4s}.d9{animation-delay:.45s}
.d10{animation-delay:.5s}.d11{animation-delay:.55s}.d12{animation-delay:.6s}

@media(max-width:640px){
  .site{padding:40px 16px 60px}
  .card{border-radius:20px;max-width:100%}
  .card-header{padding:32px 24px 20px}
  .links-body{padding:20px 24px 28px}
  .link-featured{padding:18px 20px}
  .link-item{padding:14px 16px}
  .social-stats{gap:16px;margin-top:16px}
  .stat-number{font-size:16px}
  .stat-label{font-size:10px}
  .profile-name{font-size:24px}
  .profile-bio{font-size:14px}
  .social-row{padding:16px 24px}
  .card-footer{padding:16px 24px}
}

/* Instagram Feed */
.ig-widget-card {
  background: rgba(255, 239, 239, 0);
  border-radius: 15px;
  padding: 20px;
  max-width: 100%;
  font-family: "Shantell Sans", BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.ig-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.ig-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid transparent; 
  background-image: linear-gradient(white, white), 
                    linear-gradient(225deg, #ffb600 0%, #ff4a00 20%, #e1306c 50%, #bc1888 80%, #410091 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.ig-stats {
  display: flex;
  gap: 15px;
}

.stat-item {
  text-align: center;
  font-size: 14px;
}

.stat-item strong {
  display: block;
  font-size: 16px;
}

.ig-bio h3 {
  font-size: 16px;
  margin: 0 0 5px 0;
}

.ig-bio p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.4;
  margin-bottom: 15px;
}

.ig-btn {
  display: inline-block;
  text-align: center;
  background: #005463;
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.ig-btn:hover {
  background: #e7e7e7;
  color: rgb(0, 0, 0);
}.ig-story-ring { width: 80px; height: 80px; border-radius: 50%; cursor: pointer; padding: 3px; background: linear-gradient(225deg, #ffb600 0%, #ff4a00 20%, #e1306c 50%, #bc1888 80%, #410091 100%); }.ig-story-ring.animating { animation: storyRing 1s linear infinite; } .ig-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #111; display: block; } @keyframes storyRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.ig-story-ring { width: 80px; height: 80px; border-radius: 50%; cursor: pointer; padding: 3px; background: linear-gradient(225deg, #ffb600 0%, #ff4a00 20%, #e1306c 50%, #bc1888 80%, #410091 100%); }.ig-story-ring.animating { animation: storyRing 1s linear infinite; }.ig-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #111; display: block; }@keyframes storyRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.ig-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 9999; justify-content: center; align-items: center; }
.ig-modal.active { display: flex; }
.ig-modal-content { position: relative; width: 90%; max-width: 400px; height: 80vh; max-height: 700px; background: #000; border-radius: 12px; overflow: hidden; }
.ig-modal-close { 
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig-modal iframe { width: 100%; height: 100%; border: none; }

