* {
  margin: 0;
  padding: 0;
}

html { transition: background-color .3s ease; }

body {
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
  "Microsoft YaHei", Helvetica, Arial, sans-serif,
  "Apple Color Emoji", "Segoe UI Emoji";
  text-align: center;
  position: relative;
  min-height: 100vh;
}

p { margin: 20px 0; }

ul, ol { list-style: none; }


/* Fonts
/* ================================================= */
@font-face {
  font-family: 'icomoon';
  src:
    url('../fonts/icomoon.ttf?mrs7x8') format('truetype'),
    url('../fonts/icomoon.woff?mrs7x8') format('woff'),
    url('../fonts/icomoon.svg?mrs7x8#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-map-pin:before {
  content: "\e902";
}
.icon-moon:before {
  content: "\e900";
}
.icon-sun:before {
  content: "\e901";
}
.icon-quotes-left:before {
  content: "\e977";
}
.icon-quotes-right:before {
  content: "\e978";
}


/* Animation
/* ================================================= */
.animate-slide-in-down,
.animate-slide-in-up {
  position: relative;
  opacity: 0;
}

.animate-slide-in-down { top: -10px; }

.animate-slide-in-up { bottom: -10px; }

.no-js .animate-slide-in-down,
.no-js .animate-slide-in-up { opacity: 1; }

.no-js .animate-slide-in-down { top: 0; }

.no-js .animate-slide-in-up { bottom: 0; }

.animate-slide-in-left { left: -100%; }
.no-js .animate-slide-in-left { left: 0; }

.animate-slide-in-right { right: -100%; }
.no-js .animate-slide-in-right { right: 0; }


/* Headline
/* ================================================= */
.vi {
  margin: 0 auto;
  max-width: 780px;
  padding-bottom: 80px;
}

@media (max-width: 767px) {
  .vi { 
    margin-top: 0;
    padding-bottom: 45px;
  }
}


/* Quote
/* ================================================= */
.quote {
  position: relative;
  overflow: hidden;
  margin: 40px 20px;
}

.quote-line {
  display: block;
  position: relative;
  height: 1px;
  transition: all .3s ease;
}

.quote cite::before {
  content: "-";
  padding: 0 5px;
}

.quote-icon { position: absolute; }

.quote-icon.animate-slide-in-down,
.quote-icon.animate-slide-in-up { opacity: 0; }
.no-js .quote-icon.animate-slide-in-down,
.no-js .quote-icon.animate-slide-in-up { opacity: 1; }

.quote-icon-start { left: 0; }
.quote-icon-start.animate-slide-in-down { top: -10px; }
.no-js .quote-icon-start.animate-slide-in-down { top: 0; }

.quote-icon-end { right: 0; }
.quote-icon-end.animate-slide-in-up { bottom: -10px; }
.no-js .quote-icon-end.animate-slide-in-up { bottom: 0; }

.quote-content { margin: 30px auto 0; }

.quote-author { margin: 10px auto 30px; }


/* Links
/* ================================================= */
.links {
  margin-top: 40px;
  font-size: 14px;
}

.links a {
  display: inline-block;
  position: relative;
  margin-left: 10px;
  text-decoration: none;
  border-bottom: 1px dotted;
  transition: border .3s ease, color .3s ease;
}

.links a:hover { border-bottom: 1px solid; }

.links a:active { top: 1px !important; }

.links a:first-child { margin-left: 0; }


/* Location
/* ================================================= */
.location {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.location-icon { font-size: 14px; }

.location-text {
  margin-left: 6px;
  font-size: 13px;
}

.relocating {
  opacity: 0;
  font-size: 13px;
  transition: all .3s ease;
}


/* Footer
/* ================================================= */
.footer {
  background: none;
  height: auto;
  position: relative;
  bottom: auto;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}


/* LIGHT MODE
/* ================================================= */
html { background-color: white; }
body { color: #333; }
::selection { background: #222; color: white; }
h1 { color: #222; }
.quote { color: #666; }
.quote-icon { color: #ccc; }
.quote-line { background: #eee; }
a { color: #333; }
.links a { border-bottom-color: #999; }
.links a:hover { border-bottom-color: #333; }
.location { color: #666; }
.relocating { color: #ccc; }


/* DARK MODE
/* ================================================= */
@media (prefers-color-scheme: dark) {
  html { background: #121621; }
  body { color: #6C7486; }
  ::selection { background: #222; color: #99A3BA; }
  h1 { color: #E4ECFA; }
  .quote { color: #6C7486; }
  .quote-icon { color: #3F4656; }
  .quote-line { background: #242836; }
  a { color: #99A3BA; }
  .links a { border-bottom-color: #6C7486; }
  .links a:hover { color: #E4ECFA; border-bottom-color: #99A3BA; }
  .location { color: #6C7486; }
  .footer {
    border-top-color: #242836;
  }
}


/* LOGO样式
/* ================================================= */
.logo-container {
  position: relative;
  height: 188px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  /* 添加渐显动画 */
  opacity: 0;
  animation: fadeInLogo 0.5s ease-in-out forwards;
  animation-delay: 0.2s; /* 延迟0.2秒开始，让页面先加载 */
}

/* 定义LOGO渐显动画 */
@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(-10px); /* 轻微向上移动效果 */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.logo-circle:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.logo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.5s ease;
}

.logo-default {
  opacity: 1;
}

.logo-hover {
  opacity: 0;
}

.logo-circle:hover .logo-default {
  opacity: 0;
}

.logo-circle:hover .logo-hover {
  opacity: 1;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .logo-container {
    height: 150px;
  }
}

/* 深色模式下的LOGO样式 */
@media (prefers-color-scheme: dark) {
  .logo-circle {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .logo-circle:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
}