.heroCard {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.1), transparent 34%),
    radial-gradient(circle at bottom right, rgba(186, 230, 253, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.8));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.avatarFlip {
  perspective: 1200px;
}

.avatarChatTrigger {
  display: block;
  position: relative;
  cursor: pointer;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.avatarChatTrigger:hover {
  transform: translateY(-2px);
}

.avatarChatTrigger:focus-visible {
  border-radius: 999px;
  outline: 3px solid rgba(59, 130, 246, 0.3);
  outline-offset: 8px;
}

.avatarChatTrigger:active {
  transform: translateY(0);
}

.avatarChatBadge {
  position: absolute;
  top: 0.25rem;
  right: -0.35rem;
  z-index: 3;
  display: inline-flex;
  min-width: 7.6rem;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.72);
  background: rgba(8, 145, 178, 0.92);
  padding: 0.34rem 0.72rem;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: white;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.22);
}

.avatarChatHalo {
  position: absolute;
  inset: -0.55rem;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at bottom, rgba(96, 165, 250, 0.18), transparent 58%);
  opacity: 0;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  transform: scale(0.96);
}

.avatarChatTrigger:hover .avatarChatHalo,
.avatarChatTrigger:focus-visible .avatarChatHalo {
  opacity: 1;
  transform: scale(1);
}

.avatarFlipInner {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s ease;
}

@media (hover: hover) {
  .avatarFlip:hover .avatarFlipInner {
    transform: rotateY(180deg);
  }
}

.avatarFace {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.14), transparent 52%),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backface-visibility: hidden;
}

:global([data-theme='dark']) .avatarFace {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top, rgba(96, 165, 250, 0.18), transparent 52%),
    rgba(15, 23, 42, 0.9);
  box-shadow:
    0 24px 50px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:global([data-theme='dark']) .avatarChatBadge {
  border-color: rgba(186, 230, 253, 0.35);
  background: rgba(14, 165, 233, 0.8);
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.26);
}

:global([data-theme='dark']) .heroCard {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.8));
}

.avatarFaceBack {
  transform: rotateY(180deg);
}

.gradientCopy {
  background-image: linear-gradient(
    120deg,
    #0f172a 0%,
    #2563eb 34%,
    #0891b2 58%,
    #7c3aed 82%,
    #0f172a 100%
  );
  background-position: 0% 50%;
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition:
    background-position 0.4s ease,
    color 0.4s ease;
}

@media (hover: hover) {
  .gradientCopy:hover {
    background-position: 100% 50%;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

:global([data-theme='dark']) .gradientCopy {
  background-image: linear-gradient(
    120deg,
    #e2e8f0 0%,
    #93c5fd 32%,
    #67e8f9 56%,
    #c4b5fd 80%,
    #f8fafc 100%
  );
}

.contactItem {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.82);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contactItem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.16),
    rgba(8, 145, 178, 0.1),
    transparent 72%
  );
  opacity: 1;
  transform: translateX(-108%);
  transition: transform 0.34s ease;
}

.contactItem:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}

.contactItem:hover::before {
  transform: translateX(0);
}

:global([data-theme='dark']) .contactItem {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.contactItem > * {
  position: relative;
  z-index: 1;
}

.iconLinkChip {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tooltipTriggerInline {
  display: inline-flex;
  width: fit-content;
  height: fit-content;
  flex-shrink: 0;
  border-radius: 999px;
}

.iconLinkChip:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.iconLinkInner {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.16));
  color: #2563eb;
  font-size: 1rem;
}

.linkFallbackChip {
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.8);
  color: #475569;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.linkFallbackChip:hover {
  border-color: rgba(147, 197, 253, 0.9);
  color: #2563eb;
}

.interestCard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.interestCard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.09),
    rgba(56, 189, 248, 0.07),
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.24s ease;
}

.interestCard:hover::before {
  opacity: 1;
}

.interestCard:hover {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.08);
}

.interestCard > * {
  position: relative;
  z-index: 1;
}

.interestCardIcon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.interestCard:hover .interestCardIcon {
  transform: translateY(-1px) scale(1.08);
}

.interestCardLabel {
  position: relative;
  z-index: 1;
  min-width: 0;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.githubCard {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.35rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88),
    rgba(239, 246, 255, 0.9)
  );
  padding: 0.875rem 1rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.highlightCard {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.21),
    rgba(241, 245, 249, 0.17)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.57),
    rgba(239, 246, 255, 0.48),
    rgba(224, 242, 254, 0.47)
  );
  --highlight-card-border-hover: rgba(96, 165, 250, 0.55);
  --highlight-card-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.2rem;
  background: var(--highlight-card-bg);
  padding: 0.75rem 0.875rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.24s ease;
}

.highlightCard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--highlight-card-bg-hover);
  transition: opacity 0.24s ease;
}

.highlightCard:hover::before {
  opacity: 1;
}

.highlightCard > * {
  position: relative;
  z-index: 1;
}

.highlightCard:hover {
  transform: translateY(-2px);
  border-color: var(--highlight-card-border-hover);
  box-shadow: var(--highlight-card-shadow);
}

.highlightCardThemeSky {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.18),
    rgba(224, 242, 254, 0.14)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.57),
    rgba(219, 234, 254, 0.5),
    rgba(186, 230, 253, 0.45)
  );
  --highlight-card-border-hover: rgba(59, 130, 246, 0.56);
  --highlight-card-shadow: 0 16px 30px rgba(59, 130, 246, 0.14);
}

.highlightCardThemeEmerald {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(236, 253, 245, 0.18),
    rgba(204, 251, 241, 0.14)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.57),
    rgba(209, 250, 229, 0.48),
    rgba(153, 246, 228, 0.42)
  );
  --highlight-card-border-hover: rgba(16, 185, 129, 0.56);
  --highlight-card-shadow: 0 16px 30px rgba(16, 185, 129, 0.14);
}

.highlightCardThemeViolet {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(245, 243, 255, 0.18),
    rgba(233, 213, 255, 0.14)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.57),
    rgba(224, 231, 255, 0.47),
    rgba(216, 180, 254, 0.38)
  );
  --highlight-card-border-hover: rgba(139, 92, 246, 0.54);
  --highlight-card-shadow: 0 16px 30px rgba(139, 92, 246, 0.13);
}

.highlightCardThemeAmber {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(255, 251, 235, 0.18),
    rgba(254, 243, 199, 0.14)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.58),
    rgba(254, 240, 138, 0.42),
    rgba(253, 186, 116, 0.36)
  );
  --highlight-card-border-hover: rgba(245, 158, 11, 0.52);
  --highlight-card-shadow: 0 16px 30px rgba(245, 158, 11, 0.13);
}

.highlightCardThemeRose {
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(255, 241, 242, 0.18),
    rgba(254, 205, 211, 0.14)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.58),
    rgba(254, 205, 211, 0.45),
    rgba(251, 207, 232, 0.39)
  );
  --highlight-card-border-hover: rgba(244, 63, 94, 0.5);
  --highlight-card-shadow: 0 16px 30px rgba(244, 63, 94, 0.13);
}

.publishedMetaCard {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.2rem;
  background: rgba(248, 250, 252, 0.75);
  padding: 0.875rem 1rem;
}

:global([data-theme='dark']) .iconLinkChip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

:global([data-theme='dark']) .iconLinkInner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(56, 189, 248, 0.18));
  color: #bfdbfe;
}

:global([data-theme='dark']) .linkFallbackChip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

:global([data-theme='dark']) .linkFallbackChip:hover {
  border-color: rgba(147, 197, 253, 0.8);
  color: #bfdbfe;
}

:global([data-theme='dark']) .interestCard {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

:global([data-theme='dark']) .interestCardIcon {
  background: rgba(96, 165, 250, 0.15);
  color: #bfdbfe;
}

:global([data-theme='dark']) .interestCardLabel {
  color: #e2e8f0;
}

:global([data-theme='dark']) .githubCard {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(59, 130, 246, 0.12)
  );
}

:global([data-theme='dark']) .highlightCard {
  border-color: rgba(255, 255, 255, 0.1);
  --highlight-card-border-hover: rgba(125, 211, 252, 0.5);
  --highlight-card-shadow: 0 18px 34px rgba(2, 6, 23, 0.42);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.19),
    rgba(15, 23, 42, 0.16)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.15),
    rgba(56, 189, 248, 0.09),
    rgba(15, 23, 42, 0.27)
  );
}

:global([data-theme='dark']) .highlightCardThemeSky {
  --highlight-card-border-hover: rgba(125, 211, 252, 0.58);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1),
    rgba(12, 74, 110, 0.07)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.26),
    rgba(34, 211, 238, 0.15),
    rgba(15, 23, 42, 0.3)
  );
}

:global([data-theme='dark']) .highlightCardThemeEmerald {
  --highlight-card-border-hover: rgba(52, 211, 153, 0.54);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(6, 95, 70, 0.1),
    rgba(17, 94, 89, 0.07)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.24),
    rgba(45, 212, 191, 0.14),
    rgba(15, 23, 42, 0.29)
  );
}

:global([data-theme='dark']) .highlightCardThemeViolet {
  --highlight-card-border-hover: rgba(196, 181, 253, 0.55);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(76, 29, 149, 0.1),
    rgba(67, 56, 202, 0.07)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.23),
    rgba(167, 139, 250, 0.14),
    rgba(15, 23, 42, 0.29)
  );
}

:global([data-theme='dark']) .highlightCardThemeAmber {
  --highlight-card-border-hover: rgba(253, 186, 116, 0.54);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(120, 53, 15, 0.11),
    rgba(146, 64, 14, 0.07)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.21),
    rgba(251, 191, 36, 0.14),
    rgba(15, 23, 42, 0.27)
  );
}

:global([data-theme='dark']) .highlightCardThemeRose {
  --highlight-card-border-hover: rgba(251, 113, 133, 0.54);
  --highlight-card-bg: linear-gradient(
    135deg,
    rgba(136, 19, 55, 0.1),
    rgba(131, 24, 67, 0.07)
  );
  --highlight-card-bg-hover: linear-gradient(
    135deg,
    rgba(244, 63, 94, 0.21),
    rgba(244, 114, 182, 0.12),
    rgba(15, 23, 42, 0.27)
  );
}

:global([data-theme='dark']) .publishedMetaCard {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
