:root{
  --text:#e8edf6;
  --muted:rgba(232,237,246,.75);

  --stroke:rgba(255,255,255,.10);
  --shellStroke:rgba(255,255,255,.12);
  --tileBorder:rgba(255,255,255,.20);

  --black:#000000;

  --neon:#ff0038;

  /* force the PNGs to your neon red (works best on monochrome/light icons) */
  --neonFilter: brightness(0) saturate(100%) invert(16%) sepia(98%) saturate(7500%)
                hue-rotate(345deg) brightness(105%) contrast(118%);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--text);
  background: var(--black);
}

.page{
  min-height:100%;
  display:flex;
  justify-content:center;
  padding: 18px 14px 40px;
  background: var(--black);
}

.shell{
  width:100%;
  max-width: 390px;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid var(--shellStroke);

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 30%,
      rgba(0,0,0,.78) 44%,
      rgba(0,0,0,.35) 58%,
      rgba(0,0,0,0) 70%
    ),

    radial-gradient(360px 300px at 18% 26%,
      rgba(255,0,0,.62) 0%,
      rgba(255,0,0,.26) 40%,
      rgba(255,0,0,0) 76%),
    radial-gradient(460px 360px at 86% 34%,
      rgba(255,0,0,.58) 0%,
      rgba(255,0,0,.24) 44%,
      rgba(255,0,0,0) 78%),
    radial-gradient(560px 460px at 52% 64%,
      rgba(255,0,0,.56) 0%,
      rgba(255,0,0,.22) 48%,
      rgba(255,0,0,0) 82%),

    radial-gradient(320px 270px at 28% 50%,
      rgba(255,40,40,.50) 0%,
      rgba(255,40,40,.18) 46%,
      rgba(255,40,40,0) 82%),
    radial-gradient(340px 290px at 78% 56%,
      rgba(255,20,20,.48) 0%,
      rgba(255,20,20,.16) 48%,
      rgba(255,20,20,0) 84%),
    radial-gradient(360px 300px at 18% 84%,
      rgba(255,0,0,.52) 0%,
      rgba(255,0,0,.20) 46%,
      rgba(255,0,0,0) 84%),
    radial-gradient(380px 320px at 88% 86%,
      rgba(255,0,0,.55) 0%,
      rgba(255,0,0,.22) 48%,
      rgba(255,0,0,0) 86%),

    radial-gradient(240px 200px at 10% 60%,
      rgba(255,0,0,.40) 0%,
      rgba(255,0,0,.14) 50%,
      rgba(255,0,0,0) 86%),
    radial-gradient(240px 200px at 92% 66%,
      rgba(255,0,0,.38) 0%,
      rgba(255,0,0,.12) 52%,
      rgba(255,0,0,0) 88%),

    #000000;

  box-shadow: 0 18px 70px rgba(0,0,0,.75);
  position: relative;
}

.shell::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 50% 45%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.14) 60%,
      rgba(0,0,0,.32) 100%);
  pointer-events:none;
}

.banner{
  height: 230px;
  background: #000;
  position: relative;
  overflow:hidden;
}

.banner img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.10) brightness(.85) saturate(.95);
  transform: scale(1.02);
}

.banner::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.18);
  pointer-events:none;
}

.banner::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 175px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.10) 18%,
    rgba(0,0,0,.28) 36%,
    rgba(0,0,0,.55) 52%,
    rgba(0,0,0,.78) 68%,
    rgba(0,0,0,.92) 84%,
    rgba(0,0,0,1) 100%
  );
  pointer-events:none;
}

.content{
  padding: 14px 16px 18px;
  position: relative;
  z-index: 1;
}

.profile{
  margin-top: -38px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.name{
  margin: 10px 0 14px;
  font-family: "Barrio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: .9px;
  text-shadow: 0 10px 28px rgba(0,0,0,.65);
}

/* Quick PNG neon row */
.quickLinks{
  width: 100%;
  margin-top: 14px;
  margin-bottom: 14px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 14px;              /* un poil moins pour petits boutons */
  flex-wrap: wrap;
}

/* Taille contrôlée via variables (propre et scalable) */
.qLink{
  --s: 30px;              /* taille du bouton */
  --i: 18px;              /* taille de l'icône */
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  display:grid;
  place-items:center;
  text-decoration:none;

  background: rgba(0,0,0,.40);
  border: none;
  backdrop-filter: blur(10px);

  /* glow adapté à la petite taille */
  filter:
    drop-shadow(0 0 3px rgba(255,0,56,.55))
    drop-shadow(0 0 8px rgba(255,0,56,.22));

  transition: transform .08s ease, background .15s ease, filter .15s ease;
}

.qLink:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  filter:
    drop-shadow(0 0 4px rgba(255,0,56,.75))
    drop-shadow(0 0 10px rgba(255,0,56,.30));
}

.qLink img{
  width: var(--i);
  height: var(--i);
  object-fit: contain;
  display:block;

  /* force vivid neon red */
  filter: var(--neonFilter);
}

/* Dividers */
.divider{
  width: 100%;
  margin: 28px 0 16px;
  display:flex;
  align-items:center;
  gap: 12px;
  opacity: .95;
}

.dividerLine{
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.14);
}

.dividerText{
  font-family: "Barrio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 20px;
  letter-spacing: .5px;
  text-shadow: 0 10px 28px rgba(0,0,0,.65);
  color: rgba(232,237,246,.92);
  padding: 0 2px;
  white-space: nowrap;
}

/* Spotify (no border) + scaled */
.spotify{
  width: 100%;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: none !important;
}

/* wrapper: enlève le padding qui crée du vide */
.spotify--scaled{
  display:flex;
  justify-content:center;
  padding: 0;              /* IMPORTANT */
}

/* scale + compensation de hauteur */
.spotifyInner{
  width: 100%;
  transform: scale(0.92);
  transform-origin: center top;

  /* compensation de l'espace vertical laissé par le scale */
  margin-bottom: -28px;    /* 352 * (1 - 0.92) ≈ 28px */
}

.spotify iframe{
  display:block;
  width:100%;
  border:0;
}

/* Tiles grid */
.tiles{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 6px;
}

.tile{
  text-decoration:none;
  color: var(--text);
  border-radius: 18px;
  border: none;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);

  padding: 14px 10px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;

  transition: transform .08s ease, background .15s ease;
  min-height: 96px;
}

.tile:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}

.tileIcon{
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  border: none;
}

.tileIcon img{
  width: 38px;
  height: 38px;
  object-fit: cover;
  display:block;
  border-radius: 12px;
  background: transparent;
}

.tileLabel{
  font-size: 12px;
  font-weight: 850;
  text-align:center;
  line-height: 1.1;
  max-width: 100%;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bioBottom{
  margin: 10px auto 0;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  color: rgba(232,237,246,.80);
  max-width: 330px;
  text-wrap: pretty;
}

.smallNote{
  padding: 10px 16px 16px;
  text-align:center;
  color: rgba(232,237,246,.55);
  font-size: 12px;
}

.footerLink{
  color: rgba(232,237,246,.55);
  text-decoration: none;
  letter-spacing: .4px;
  transition: color .15s ease;
}

.footerLink:hover{
  color: rgba(232,237,246,.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 360px){
  .name{ font-size: 40px; }
  .divider{ margin: 24px 0 14px; }
  .dividerText{ font-size: 18px; }

  .qLink{ width: 42px; height: 42px; }
  .qLink img{ width: 21px; height: 21px; }

  .spotifyInner{ transform: scale(0.90); }

  .tiles{ gap: 10px; }
  .tile{ min-height: 92px; padding: 12px 8px 10px; }
  .tileIcon{ width: 44px; height: 44px; border-radius: 13px; }
  .tileIcon img{ width: 36px; height: 36px; border-radius: 11px; }
}
