:root {

  --profile-gradient-primary-color: #0b1f3a;
  --profile-gradient-secondary-color: #123765;
  --profile-gradient-overlay-color: rgba(0, 255, 241, 0.15);
  --custom-theme-base-color-light: #08192e;
  --custom-theme-text-color-light: #e0f2fe;

  --custom-display-name-styles-main-color: #5aafe7;
  --custom-display-name-styles-light-1-color: #92caef;
  --custom-display-name-styles-light-2-color: #ffffff;
  --custom-display-name-styles-dark-1-color: #186fa8;
  --custom-display-name-styles-dark-2-color: #082538;
  --custom-display-name-styles-toon-stroke-color: #104a70;
  --custom-display-name-styles-neon-stroke-color: #3eacf4;

  --card-width: 300px;
  --border-radius-card: 8px;

  --frame-overflow-horizontal: 14px;
  --frame-overflow-top: 76px;
  --frame-overflow-bottom: 53px;
  --frame-width: 328px;
  --frame-top-height: 179px;
  --frame-bottom-height: 106px;

  --discord-dnd: #da3e44;
  --sparkle-gold: #fff176;
  --sparkle-glow: rgba(255, 241, 118, 0.85);

  --font-display: 'Cherry Bomb One', 'Fredoka', cursive, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: #0c1222;
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.18) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(245, 147, 56, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, #090e1a 0px, transparent 100%);
  font-family: var(--font-body);
  color: var(--custom-theme-text-color-light);
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1rem;
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
  top: -100px;
  left: 15%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  bottom: -50px;
  right: 15%;
}

.page-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card-perspective-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 85px 25px 45px;
}

.discord-card {
  position: relative;
  width: var(--card-width);
  background: linear-gradient(
    180deg,
    var(--profile-gradient-primary-color) 0%,
    var(--profile-gradient-secondary-color) 100%
  );
  background-color: var(--custom-theme-base-color-light);
  border-radius: var(--border-radius-card);
  box-shadow: 
    0 16px 45px rgba(0, 14, 26, 0.45),
    0 0 30px rgba(160, 211, 252, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  overflow: visible;
  user-select: none;
}

.discord-card:hover {
  box-shadow: 
    0 24px 60px rgba(0, 14, 26, 0.6),
    0 0 45px rgba(245, 158, 11, 0.25);
}

.official-profile-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.official-profile-effect-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--border-radius-card);
  z-index: 1;
}

.profile-effect-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.profile-effect-layer.intro {
  animation: fadeOutIntro 4.92s forwards;
}

.profile-effect-layer.loop {
  opacity: 0;
  animation: fadeInLoop 1s 4.8s forwards;
}

@keyframes fadeOutIntro {
  0% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

@keyframes fadeInLoop {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.frame-layer.back-top,
.frame-layer.back-bottom {
  position: absolute;
  width: var(--frame-width);
  left: calc(-1 * var(--frame-overflow-horizontal));
  z-index: -1;
  pointer-events: none;
}

.frame-layer.back-top {
  top: calc(-1 * var(--frame-overflow-top));
  height: var(--frame-top-height);
  object-fit: fill;
}

.frame-layer.back-bottom {
  bottom: calc(-1 * var(--frame-overflow-bottom));
  height: var(--frame-bottom-height);
  object-fit: fill;
}

.frame-layer.front-top,
.frame-layer.front-bottom {
  position: absolute;
  width: var(--frame-width);
  left: calc(-1 * var(--frame-overflow-horizontal));
  z-index: 15;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 40, 90, 0.35));
}

.frame-layer.front-top {
  top: calc(-1 * var(--frame-overflow-top));
  height: var(--frame-top-height);
  object-fit: fill;
}

.frame-layer.front-bottom {
  bottom: calc(-1 * var(--frame-overflow-bottom));
  height: var(--frame-bottom-height);
  object-fit: fill;
}

.sparkle {
  position: absolute;
  color: var(--sparkle-gold);
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--sparkle-glow), 0 0 20px #f59e0b;
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
  z-index: 15;
}

.sp-1 { top: -65px; left: 10px; font-size: 1.5rem; animation-delay: 0.1s; }
.sp-2 { top: -70px; right: 20px; font-size: 1.2rem; animation-delay: 0.7s; }
.sp-3 { top: 60px; left: -14px; font-size: 1.3rem; animation-delay: 1.3s; }
.sp-4 { bottom: 10px; left: -10px; font-size: 1.5rem; animation-delay: 0.4s; }
.sp-5 { bottom: -15px; right: -8px; font-size: 1.4rem; animation-delay: 1.0s; }
.sp-6 { bottom: -30px; right: 65px; font-size: 1.15rem; animation-delay: 1.8s; }

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(0.75) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.3) rotate(20deg); opacity: 1; text-shadow: 0 0 16px #fff, 0 0 30px #fcd34d; }
}

.card-banner-wrapper {
  position: relative;
  width: 100%;
  height: 105px;
  overflow: hidden;
  border-radius: var(--border-radius-card) var(--border-radius-card) 0 0;
}

.card-banner {
  width: 100%;
  height: 100%;
  background-color: var(--profile-gradient-primary-color, #00fff1);
  background-image: linear-gradient(135deg, rgba(0, 255, 241, 0.45) 0%, rgba(10, 25, 47, 0.95) 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.banner-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(204, 232, 255, 0.5) 100%);
}

.card-avatar-section {
  position: relative;
  padding: 0 14px;
  margin-top: -46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
  transform: translateZ(25px);
}

.avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  z-index: 5;
}

.avatar-image-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #a0d3fc;
  box-shadow: 0 0 0 4px var(--custom-theme-base-color-light), 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: absolute;
  top: -0.5px;
  left: 1px;
  z-index: 2;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-decoration-wrap {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 96px;
  height: 96px;
  pointer-events: none;
  z-index: 6;
}

.avatar-decoration-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.status-badge {
  position: absolute;
  bottom: 5px;
  right: 0px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--discord-dnd);
  border: 3.5px solid var(--custom-theme-base-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 6px rgba(218, 62, 68, 0.6);
  z-index: 8;
}

.status-minus-bar {
  width: 9px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
}

.custom-status-container {
  position: absolute;
  top: 10px;
  left: 95px;
  right: 12px;
  z-index: 6;
}

.outer_ab8609 {
  position: relative;
  background: rgba(15, 33, 55, 0.92);
  border: 1px solid rgba(0, 255, 241, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: default;
  transition: transform 0.2s ease;
}

.outer_ab8609:hover {
  transform: scale(1.03);
}

.outer_ab8609::before,
.outer_ab8609::after {
  display: none;
}

.inner_ab8609 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.content_ab8609 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e0f2fe;
  line-height: 1.3;
}

#customStatusText {
  color: #bae6fd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.statusEmoji_ab8609 {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.card-identity {
  padding: 0.5rem 0.9rem 0.25rem;
  transform: translateZ(15px);
}

.display-name-wrap {
  display: flex;
  align-items: center;
}

.toon-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  -webkit-text-stroke: 3.5px var(--custom-display-name-styles-toon-stroke-color);
  paint-order: stroke fill;
  text-shadow: 
    0 2px 0 var(--custom-display-name-styles-toon-stroke-color),
    0 4px 8px rgba(16, 74, 112, 0.35);
  background: linear-gradient(
    180deg,
    var(--custom-display-name-styles-light-2-color) 0%,
    var(--custom-display-name-styles-light-1-color) 50%,
    var(--custom-display-name-styles-main-color) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #ffffff;
  display: inline-block;
}

.sub-identity-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
  font-size: 0.82rem;
  color: #7dd3fc;
}

.user-handle {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #bae6fd;
}

.dot-separator {
  color: #38bdf8;
}

.pronoun-tag {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.clan-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(16, 74, 112, 0.2);
  padding: 1px 6px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.clan-badge-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.clan-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #104a70;
}

.badges-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  width: fit-content;
}

.badge-item {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.badge-item:hover {
  transform: translateY(-2px) scale(1.15);
}

.badge-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.badge-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #082538;
  color: #f0f9ff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.15s ease;
  z-index: 100;
}

.badge-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.card-bio-section {
  padding: 0.4rem 0.9rem 0.5rem;
  transform: translateZ(10px);
}

.bio-content {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--custom-theme-text-color-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bio-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}

.bio-bold {
  font-weight: 700;
  color: #38bdf8;
}

.bio-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration 0.15s ease;
  word-break: break-all;
}

.bio-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.bio-emoji {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  object-fit: contain;
  display: inline-block;
}

.card-activities {
  padding: 0.2rem 0.9rem 0.5rem;
  transform: translateZ(15px);
}

.activity-card {
  background: rgba(15, 33, 55, 0.75);
  border: 1px solid rgba(0, 255, 241, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.activity-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-app-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.game-app-icon-wrap:hover {
  transform: translateY(-2px) scale(1.1);
}

.game-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-connections {
  padding: 0.2rem 0.9rem 2.2rem;
  transform: translateZ(15px);
}

.connections-card {
  background: rgba(15, 33, 55, 0.75);
  border: 1px solid rgba(0, 255, 241, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 100%;
  transition: all 0.25s ease;
}

.connections-header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.connections-compact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

.connections-horizontal-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connection-mini-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.connection-mini-wrap:hover {
  transform: translateY(-2px) scale(1.12);
  background: rgba(0, 255, 241, 0.15);
  border-color: rgba(0, 255, 241, 0.45);
  box-shadow: 0 4px 10px rgba(0, 255, 241, 0.25);
}

.connection-mini-wrap.roblox svg path {
  fill: #ffffff;
}

.connections-toggle-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 241, 0.25);
  color: #7dd3fc;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  margin-left: auto;
  outline: none;
}

.connections-toggle-btn:hover {
  background: rgba(0, 255, 241, 0.2);
  color: #00fff1;
  border-color: rgba(0, 255, 241, 0.6);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 255, 241, 0.25);
}

.connections-toggle-btn .chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.connections-card.is-expanded .connections-toggle-btn .chevron-icon {
  transform: rotate(180deg);
}

.connections-card.is-expanded .connections-toggle-btn {
  background: rgba(0, 255, 241, 0.25);
  color: #00fff1;
  border-color: #00fff1;
  box-shadow: 0 0 10px rgba(0, 255, 241, 0.35);
}

.connections-drawer {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.connections-card.is-expanded .connections-drawer {
  max-height: 250px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 10px;
}

.connections-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.connection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
}

.connection-item:hover {
  background: rgba(0, 255, 241, 0.1);
  border-color: rgba(0, 255, 241, 0.4);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 255, 241, 0.15);
}

.connection-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.connection-icon-wrap {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connection-icon-wrap.roblox svg path {
  fill: #ffffff;
}

.connection-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.connection-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f9ff;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.connection-item:hover .connection-name {
  color: #ffffff;
}

.connection-verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: help;
}

.connection-right {
  display: flex;
  align-items: center;
  color: #7dd3fc;
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.connection-item:hover .connection-right {
  opacity: 1;
  color: #00fff1;
  transform: translateX(1px);
}

.card-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-card);
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 12;
}

@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after, html, body {
    cursor: none !important;
  }

  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 9px;
    height: 9px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    box-shadow: 
      0 0 6px #ffffff,
      0 0 12px #38bdf8,
      0 0 22px #fff176;
    transition: opacity 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
  }

  .custom-cursor-dot.hovering {
    background: #fff176;
    box-shadow: 
      0 0 8px #ffffff,
      0 0 16px #fff176,
      0 0 28px #f59e0b;
    transform: translate(-50%, -50%) scale(1.6);
  }

  .custom-cursor-dot.clicking {
    transform: translate(-50%, -50%) scale(0.7);
  }

  .cursor-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 999998;
    font-size: 11px;
    font-weight: bold;
    color: #fff176;
    text-shadow: 0 0 6px #f59e0b, 0 0 14px #ffffff;
    user-select: none;
    transform: translate(-50%, -50%);
    animation: cursorSparkleAnim 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  @keyframes cursorSparkleAnim {
    0% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }
    100% {
      opacity: 0;
      transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.2) rotate(45deg);
    }
  }
}

.like-profile-container {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
}

#heart {
  display: none;
}

.like-button {
  position: relative;
  cursor: pointer;
  display: flex;
  height: 48px;
  width: 140px;
  border-radius: 16px;
  border: none;
  background-color: #1e1f22;
  overflow: hidden;
  box-shadow:
    inset -2px -2px 5px rgba(255, 255, 255, 0.08),
    inset 2px 2px 5px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  user-select: none;
}

.like-button:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow:
    inset -2px -2px 5px rgba(255, 255, 255, 0.12),
    inset 2px 2px 5px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(252, 78, 78, 0.25),
    0 0 0 1px rgba(252, 78, 78, 0.4);
}

.like-button:active {
  transform: scale(0.96);
}

.like {
  width: 70%;
  height: 100%;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-evenly;
  padding-left: 6px;
}

.like-icon {
  fill: #80848e;
  height: 24px;
  width: 24px;
  transition: fill 0.25s ease-out, transform 0.25s ease-out;
}

.like-button:hover .like-icon {
  transform: scale(1.15);
}

.like-text {
  color: #f2f3f5;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
}

.like-count {
  position: absolute;
  right: 0;
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #949ba4;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(0, 0, 0, 0.15);
}

.like-count.two {
  transform: translateY(48px);
}

.on:checked ~ .like .like-icon {
  fill: #fc4e4e;
  animation: enlarge 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1;
}

.on:checked ~ .like-count.two {
  transform: translateY(0);
  color: #f2f3f5;
}

.on:checked ~ .like-count.one {
  transform: translateY(-48px);
}

@keyframes enlarge {
  0% {
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

.heart-particle {
  position: fixed;
  pointer-events: none;
  font-size: 1.3rem;
  z-index: 9999;
  animation: floatHeart 1.1s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes floatHeart {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(1.5) rotate(var(--rot));
  }
}

.music-player-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.music-info-pill {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.music-info-pill:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 
    0 8px 28px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(56, 189, 248, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.music-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.music-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: #bae6fd;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.music-title::after {
  content: '♪';
  font-size: 11px;
  color: #38bdf8;
  opacity: 0.8;
}

.music-status {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.music-player-container.playing .music-status {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  padding-bottom: 2px;
}

.eq-bar {
  width: 3px;
  height: 4px;
  background-color: #64748b;
  border-radius: 2px;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.music-player-container.playing .eq-bar {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
  animation: bounceBar 0.9s infinite ease-in-out alternate;
}

.music-player-container.playing .bar-1 { animation-delay: 0.05s; }
.music-player-container.playing .bar-2 { animation-delay: 0.35s; }
.music-player-container.playing .bar-3 { animation-delay: 0.15s; }
.music-player-container.playing .bar-4 { animation-delay: 0.5s; }

@keyframes bounceBar {
  0% { height: 4px; }
  50% { height: 16px; }
  100% { height: 6px; }
}

.vinyl-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-tonearm {
  position: absolute;
  top: -6px;
  right: -2px;
  width: 22px;
  height: 28px;
  z-index: 10;
  transform-origin: 17px 5px;
  transform: rotate(-32deg);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.music-player-container.playing .vinyl-tonearm {
  transform: rotate(6deg);
}

.tonearm-base {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.tonearm-rod {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  transform-origin: top center;
  transform: rotate(20deg);
}

.tonearm-head {
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: 5px;
  height: 7px;
  background: #38bdf8;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

.vinyl-disc {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 50%, #020617 100%);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px rgba(255, 255, 255, 0.1),
    0 0 14px rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinVinyl 3.5s linear infinite;
  animation-play-state: paused;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  overflow: hidden;
}

.vinyl-wrap:hover .vinyl-disc {
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.7),
    0 0 0 1.5px rgba(56, 189, 248, 0.4),
    0 0 20px rgba(56, 189, 248, 0.4);
  transform: scale(1.05);
}

.music-player-container.playing .vinyl-disc {
  animation-play-state: running;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px rgba(56, 189, 248, 0.5),
    0 0 22px rgba(56, 189, 248, 0.45);
}

@keyframes spinVinyl {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ring-1 { width: 42px; height: 42px; }
.ring-2 { width: 34px; height: 34px; }
.ring-3 { width: 26px; height: 26px; }

.vinyl-reflection {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 45deg,
    rgba(255, 255, 255, 0.12) 0deg,
    transparent 60deg,
    rgba(255, 255, 255, 0.12) 180deg,
    transparent 240deg,
    rgba(255, 255, 255, 0.12) 360deg
  );
  pointer-events: none;
}

.vinyl-center-badge {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vinyl-avatar-center {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-center-hole {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #020617;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.9);
}

.floating-music-note {
  position: fixed;
  pointer-events: none;
  font-size: 14px;
  font-weight: bold;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.8), 0 0 14px #bae6fd;
  z-index: 9999;
  animation: floatNote 1.8s forwards cubic-bezier(0.2, 0.8, 0.4, 1);
}

@keyframes floatNote {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--ndx), var(--ndy)) scale(1.3) rotate(var(--nrot));
  }
}

@media (max-width: 640px) {
  .music-player-container {
    top: 16px;
    right: 16px;
  }
  .music-info-pill {
    display: none; 
  }
  .music-player-container:hover .music-info-pill,
  .music-player-container:active .music-info-pill {
    display: flex;
    position: absolute;
    right: 60px;
    white-space: nowrap;
  }
  .like-profile-container {
    top: 16px;
    left: 16px;
  }
}
