
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: black;
  color: white;
}

/* 通用导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0px;
  right: 0px;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3em 8em 3em 8em;
  z-index: 100;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}



.logo-img {
  height: 150px;      /* 你可以根据需要调整大小 */
  width: auto;
  display: block;
  margin-top: 15px;
}

.logo {
  flex-shrink: 0;
  width: 150px;   /* 或你希望留给 logo 的空间 */
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  
  position: relative;
  gap: 1.5em;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-family: 'Helvetica Now Display', 'Avenir Next', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 0.2em;
  font-size: 1em;
}

.nav-underline {
  position: absolute;
  bottom: -3px;
  height: 1px;
  background: white;
  transition: left 0.2s ease-in-out, width 0.2s ease-in-out;
  pointer-events: none;
}

.nav-links a.active {
  color: #fff;
}

.site-footer {
  background-color: black;
  color: white;
  padding: 9em clamp(24px, 5vw, 80px);
  margin-top: 20em;
  font-size: 0.85em;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}
.footer-right-columns { display: contents; }

.footer-column h4 {
  font-size: 1.5em;
  margin-bottom: 1.5em;
  font-family: 'Helvetica Now Display', 'Avenir Next', sans-serif;
  color: white;
  font-weight: 500;       /* 字重 */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  line-height: 2.4em;
  color: #ccc;
}


.footer-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  flex: 0 0 200px;
  width: 200px;
  max-width: 100%;
  gap: 12px;
  min-width: 0;
  transform: none;
}

.footer-logo {
  position: absolute;
  width: 247.2397%;
  max-width: none;
  height: auto;
  display: block;
  left: -69.8812%;
  top: -111.5865%;
  transform: none;
  margin: 0;
  padding: 0;
}

.footer-icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.footer-icon {
  width: 39px;
  height: 39px;
  background-color: #2a2a2a;   /* 灰色背景 */
  padding: 0.4em;
  border-radius: 8px;
  display: inline-block;
}
.footer-icon:hover {
  background-color: #444;
  cursor: pointer;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 8px;
}

.icon-tooltip {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}



.icon-wrapper:hover .icon-tooltip,
.icon-tooltip:hover {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* 显示时恢复鼠标事件 */
}

.icon-tooltip img {
  width: 160px; /* 可根据你的图片尺寸调整 */
  border-radius: 6px;
  display: block;
}

.copy-button {
  position: absolute;
  bottom: 120px;
  right: 100px;
  padding: 5px 10px;
  font-size: 0.8em;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(3px);
  pointer-events: auto; /* 确保按钮始终可点击 */
  z-index: 30; /* 高于工具提示的z-index */
}

.copy-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


.site-footer {
  width: 100%;
  margin-left: 0;
}

.site-footer .footer-column ul li a {
  color: #ccc; /* ✅ 默认是浅灰，不是白色 */
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-column ul li a:hover {
  color: gray !important;
}

.site-footer .footer-column ul li a:visited {
  color: #ccc; /* ✅ 访问过的链接还是浅灰 */
}

.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1em 2em;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 1em;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}
.copy-toast.show {
  opacity: 1;
  visibility: visible;
}


/* The existing logo PNG includes transparent margins; the frame aligns its visible mark. */
.footer-logo-frame { position:relative; width:100%; aspect-ratio:1431 / 561; overflow:hidden; }
.footer-icon-row .icon-wrapper { margin:0; }
.footer-column { flex:0 0 auto; width:max-content; min-width:0; max-width:200px; }
.footer-column h4 { white-space:nowrap; }
.footer-column li, .footer-column a { overflow-wrap:anywhere; }
@media (max-width:1000px) {
  .footer-column h4 { font-size:1.15em; }
  .footer-logo-group { flex-basis:150px; width:150px; }
  .footer-icon-row { gap:8px; }
  .footer-icon { width:32px; height:32px; }
}
@media (max-width:800px) {
  .footer-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
  .footer-column { width:auto; max-width:none; }
  .footer-logo-group { grid-column:1 / -1; justify-self:center; }
}
