/* =============================================================
   MrLimeGrass — buttons
   All buttons share the mint style; known platforms get their
   own glow colour on hover.
   ============================================================= */

/* Avatar shape */
.rounded-avatar { border-radius: 50%; }

/* Social icon row (LinkStack "icons" block) */
.social-icon-div { padding-bottom: 26px; }
.social-icon {
  font-size: 30px;
  padding: 10px;
  color: var(--mint, #3EE6A8);
  transition: transform .2s ease, color .2s ease, filter .2s ease;
}
.social-hover:hover .social-icon {
  color: var(--mint-light, #A8F5D3);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(62,230,168,.6));
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  --glow: var(--mint, #3EE6A8);
  position: relative;
  overflow: hidden;
  background: var(--surface, rgba(14,34,28,.72));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text, #EAFBF3);
  border: 2px solid rgba(62,230,168,.55);
  border-radius: 16px;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-align: center;
  display: block;
  margin: 0 6px 14px;
  padding: 14px 18px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.35), inset 0 1px 0 rgba(168,245,211,.08);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* light sweep on hover */
.button::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .button:hover {
    background: var(--mint, #3EE6A8);
    color: #052018;
    border-color: var(--mint-light, #A8F5D3);
    box-shadow: 0 4px 0 var(--mint-deep, #12A574), 0 0 26px var(--glow);
    transform: translateY(-2px);
  }
  .button:hover::after { animation: sweep .7s ease forwards; }
}
.button:active {
  background: var(--mint, #3EE6A8);
  color: #052018;
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--mint-deep, #12A574), 0 0 18px var(--glow);
}
.button:focus-visible { outline: 3px solid var(--mint-light, #A8F5D3); outline-offset: 3px; }

@keyframes sweep { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 1; } }

/* Platform glow colours */
.button-twitch          { --glow: #9146FF; }
.button-tiktok          { --glow: #25F4EE; }
.button-discord         { --glow: #5865F2; }
.button-youtube,
.button-youtube-music   { --glow: #FF3B3B; }
.button-instagram       { --glow: #E1306C; }
.button-steam           { --glow: #66C0F4; }
.button-xbox            { --glow: #3FBF3F; }
.button-twitter,
.button-x               { --glow: #E7E9EA; }

/* Icons — white on dark, dark on mint
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.icon {
  padding: 0 10px 3px 0;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  transition: filter .2s ease;
}
.button:hover .icon,
.button:active .icon {
  -webkit-filter: brightness(0);
  filter: brightness(0);
}

/* Font Awesome icons on custom buttons */
.button i.icon, .button .fa { filter: none; color: var(--mint, #3EE6A8); width: auto; height: auto; font-size: 1.1em; }
.button:hover i.icon, .button:hover .fa { color: #052018; }
