*,
::after,
::before {
  box-sizing: border-box;
}
body,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, PingFangSC-Regular, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #111111;
  background-color: var(--color0);
  font-weight: 300;
}
img {
  vertical-align: bottom;
}
ul {
  list-style-type: none;
}
a {
  color: #111111;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
:root {
  --color0: #DEDEDE;
  --color-black: #111111;
  --color-white: #FBFBFB;
  --color1: #1E5EFF;
  --color2: #0CFD00;
  --color3: #FFED25;
  --color-secondary-text: #898989;
  --color5-secondary-green: #E1FCDF;
  --color6-secondary-blue: #80D0FF;
  --color7-selecting-blue: #5485FF;
  --color4: #FF40B9;
}
.aboutwrapper {
  width: 922px;
  margin: 0 auto;
}
.content {
  margin-top: 100px;
  padding: 0 20px;
  width: 922px;
}
.content .top {
  height: 28px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.content .top h2 {
  font-weight: normal;
  white-space: nowrap;
}
.content .top .musicButton {
  padding: 0;
  border: none;
  background: transparent;
  cursor: url("../assets/cursor/cursor-pointer.svg") 6 2, pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content .top .musicBars {
  width: auto;
  height: 16px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.content .top .bar {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--color1);
  transform-origin: bottom center;
}
.content .top .musicButton.isPaused .bar {
  height: 8px;
  transform: scaleY(1);
}
.content .top .musicButton.isPlaying .bar:nth-child(1) {
  animation: musicBounce1 0.9s ease-in-out infinite;
}
.content .top .musicButton.isPlaying .bar:nth-child(2) {
  animation: musicBounce2 0.7s ease-in-out infinite;
}
.content .top .musicButton.isPlaying .bar:nth-child(3) {
  animation: musicBounce3 1s ease-in-out infinite;
}
.content .top .musicButton.isPlaying .bar:nth-child(4) {
  animation: musicBounce2 0.8s ease-in-out infinite;
}
.content .top .musicButton.isPlaying .bar:nth-child(5) {
  animation: musicBounce1 0.6s ease-in-out infinite;
}
.content .top .empty {
  width: 20px;
  color: transparent;
}
.content .bottom {
  margin-top: 44px;
  display: flex;
  justify-content: space-between;
  /* 右侧整体 */
  /* 地球容器 */
  /* ===============================
       music animation
    ================================= */
}
.content .bottom .left {
  padding-right: 114px;
  /* skill */
}
.content .bottom .left .introduction {
  display: flex;
  align-items: flex-start;
  padding-bottom: 22px;
}
.content .bottom .left .introduction .profilePhoto {
  width: 125px;
  flex-shrink: 0;
  margin-right: 12px;
}
.content .bottom .left .introduction .profilePhoto img {
  display: block;
  width: 100%;
  height: auto;
}
.content .bottom .left .introduction .introText {
  max-width: 328px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content .bottom .left .introduction .introText p {
  font-size: 12px;
  line-height: 14.4px;
  margin: 0;
}
.content .bottom .left .skill {
  padding-bottom: 29px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content .bottom .left .title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 5px;
}
.content .bottom .left .innerTitle {
  font-size: 9px;
  line-height: 9px;
  color: var(--color-secondary-text);
}
.content .bottom .left .List {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.content .bottom .left .List li {
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-secondary-text);
  padding: 6px 10px;
  border: 1px solid var(--color-secondary-text);
  border-radius: 999px;
  white-space: nowrap;
}
.content .bottom .left .email {
  display: flex;
  align-items: center;
  gap: 8px;
}
.content .bottom .left .email .emailIcon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content .bottom .left .email .emailIcon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.content .bottom .left .email p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--color1);
}
.emailCopyBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: var(--color1);
  line-height: 1;
}
.emailCopyBtn .iconfont {
  font-size: 16px;
}
.emailCopiedTip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color3);
  color: var(--color1);
  font-size: 10px;
  font-weight: 400;
  padding: 3px 7px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.emailCopyBtn.copied .emailCopiedTip {
  opacity: 1;
}
.content .bottom .rightContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content .bottom .rightContent .globalTitle {
  margin-top: 12px;
  text-align: center;
}
.content .bottom .rightContent .timeMain {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.content .bottom .rightContent .timeSub {
  font-weight: 400;
  color: var(--color-secondary-text);
  margin-left: 4px;
}
.content .bottom .global {
  width: 342px;
  height: 342px;
  position: relative;
  overflow: visible;
  cursor: none;
}
.content .bottom .global:active {
  cursor: none;
}
.content .bottom .global canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.content .bottom .global .globeCursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color1);
  border-radius: 999px;
  background: rgba(251, 251, 251, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: width 0.18s ease, height 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.content .bottom .global .globeRippleLayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}
.content .bottom .global .globeRipple {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--color2);
  background: rgba(12, 253, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(251, 251, 251, 0.35);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
}
.content .bottom .global .globeRipple--growth {
  border-color: var(--color2);
  width: 22px;
  height: 22px;
}
.content .bottom .global .globeRipple--travel {
  border-color: var(--color3);
  transform: translate(-50%, -50%) scale(0.45);
  width: 14px;
  height: 14px;
}
.content .bottom .global .globeRipple.isPlaying {
  animation: globeRippleExpand 1s ease-out forwards;
}
@keyframes globeRippleExpand {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.6);
  }
  60% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(2.6);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.4);
  }
}
.content .bottom .global .globeCursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--color1);
  transform: translate(-50%, -50%);
}
.content .bottom .global .globeCursor.isVisible {
  opacity: 1;
}
.content .bottom .global .globeCursor.isHoveringMarker {
  width: 34px;
  height: 34px;
  border-color: var(--color2);
  background: rgba(12, 253, 0, 0.08);
}
.content .bottom .global .globeCursor.isHoveringTravel {
  width: 34px;
  height: 34px;
  border-color: var(--color3);
  background: rgba(255, 237, 37, 0.08);
}
.content .bottom .global .globeTooltip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, calc(-100% - 12px));
  pointer-events: none;
  display: none;
  z-index: 30;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.content .bottom .global .globeTooltip.isVisible {
  display: block;
}
.content .bottom .global .globeTooltip--growth {
  padding: 14px;
  background: rgba(251, 251, 251, 0.7);
  border: 1px solid var(--color1);
  border-radius: 0;
  min-width: 160px;
}
.content .bottom .global .globeTooltip--travel {
  padding: 14px;
  background: rgba(251, 251, 251, 0.7);
  border: 1px solid var(--color3);
  border-radius: 0;
}
.content .bottom .global .globeTooltipTitle {
  margin: 0;
  font-size: 14px;
  line-height: 1;
}
.content .bottom .global .globeTooltipTitle--growth {
  color: var(--color1);
}
.content .bottom .global .globeTooltipTitle--travel {
  color: var(--color-black);
}
.content .bottom .global .globeTooltipDesc {
  margin: 0;
  margin-top: 0;
  font-size: 9px;
  line-height: 1;
  color: var(--color-secondary-text);
}
.content .bottom .global .globeTooltipTime {
  margin: 0;
  margin-top: 8px;
  font-size: 9px;
  line-height: 1;
  color: var(--color-black);
}
@keyframes musicBounce1 {
  0%,
  100% {
    transform: scaleY(1);
  }
  25% {
    transform: scaleY(1.8);
  }
  50% {
    transform: scaleY(0.9);
  }
  75% {
    transform: scaleY(1.4);
  }
}
@keyframes musicBounce2 {
  0%,
  100% {
    transform: scaleY(1.2);
  }
  25% {
    transform: scaleY(0.8);
  }
  50% {
    transform: scaleY(1.9);
  }
  75% {
    transform: scaleY(1.1);
  }
}
@keyframes musicBounce3 {
  0%,
  100% {
    transform: scaleY(0.9);
  }
  20% {
    transform: scaleY(1.6);
  }
  40% {
    transform: scaleY(1.1);
  }
  60% {
    transform: scaleY(2);
  }
  80% {
    transform: scaleY(1.3);
  }
}
/* ===============================
   Responsive - about
   只在小屏改上下，>=768 保持原样
================================= */
@media (max-width: 1200px) {
  .aboutwrapper {
    width: min(100%, 1000px);
    padding: 0 24px;
    box-sizing: border-box;
  }
  .content {
    width: 100%;
    max-width: none;
  }
  .content .bottom .left {
    padding-right: 48px;
  }
  .content .bottom .rightContent .global {
    width: clamp(280px, 34vw, 342px);
    height: clamp(280px, 34vw, 342px);
  }
}
@media (max-width: 768px) {
  .aboutwrapper {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .content {
    width: 100%;
    margin-top: 84px;
    padding: 0;
  }
  .content .top {
    height: auto;
    display: grid;
    grid-template-columns: 20px 1fr 20px;
    align-items: center;
    column-gap: 12px;
  }
  .content .top .name {
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
  }
  .content .bottom {
    margin-top: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }
  .content .bottom .left {
    width: 100%;
    padding-right: 0;
  }
  .content .bottom .left .introduction .introText p {
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
  }
  .content .bottom .left .skill {
    padding-bottom: 24px;
    gap: 10px;
  }
  .content .bottom .left .title {
    gap: 6px;
    padding-bottom: 4px;
  }
  .content .bottom .left .List {
    gap: 8px;
  }
  .content .bottom .left .email {
    justify-content: flex-start;
  }
  /* 地球放到下面 */
  .content .bottom .rightContent {
    width: 100%;
    margin-top: 0;
  }
  .content .bottom .rightContent .global {
    width: min(78vw, 342px);
    height: min(78vw, 342px);
    margin: 0 auto;
  }
  .content .bottom .rightContent .globalTitle {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.3;
  }
  .content .bottom .rightContent .global .globeTooltip {
    max-width: 180px;
  }
  .content .bottom .rightContent .global .globeTooltip--growth,
  .content .bottom .rightContent .global .globeTooltip--travel {
    padding: 12px;
  }
  .content .bottom .rightContent .global .globeTooltipTitle {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .content {
    margin-top: 80px;
  }
  .content .top .name {
    font-size: 16px;
  }
  .content .bottom {
    margin-top: 24px;
    gap: 28px;
  }
  .content .bottom .rightContent .global {
    width: min(84vw, 320px);
    height: min(84vw, 320px);
  }
  .content .bottom .left .List li {
    font-size: 8px;
    padding: 5px 8px;
  }
  .content .bottom .left .email .emailIcon {
    width: 38px;
    height: 38px;
  }
  .content .bottom .left .email p {
    font-size: 11px;
  }
}
@media (max-width: 768px) {
  .content {
    padding-bottom: 100px;
  }

  .content .bottom .left {
    padding-right: 0;
  }
  /* ⭐ 核心：允许文字缩+换行 */
  .content .bottom .left .introduction {
    display: flex;
    align-items: flex-start;
  }
  .content .bottom .left .introduction .profilePhoto {
    width: 100px;
    flex-shrink: 0;
  }
  .content .bottom .left .introduction .introText {
    max-width: none;
    flex: 1;
  }
  .content .bottom .left .introduction .introText p {
    line-height: 1.45;
    word-break: break-word;
  }
}
