html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: linear-gradient(135deg, #3fd885 0%, #3fd8b5 100%);
  min-height: 100vh;
  color: #222;
  /* overflow: hidden; */
}
#app {
  width: 100vw;
  min-height: 100vh;
  background: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}
.title {
  font-size: 2.6rem;
  font-weight: bold;
  color: #3fd885;
  text-shadow: 0 2px 8px #fff, 0 1px 4px #3fd88544;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.subtitle {
  font-size: 1.1rem;
  color: #eafff5;
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-weight: 500;
}
.smile-box {
  margin-bottom: 18px;
}
.smile-face {
  font-size: 4.2rem;
  background: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  margin: 0 auto 24px auto;
}
.card {
  background: #f6fffa;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 28px 24px 18px 24px;
  margin-bottom: 24px;
  text-align: center;
  max-width: 340px;
  min-height: 90px;
  box-sizing: border-box;
}
.card-text {
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card-btns {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.btn {
  border: none;
  outline: none;
  font-size: 1.1rem;
  border-radius: 32px;
  padding: 10px 28px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn.yellow {
  background: #ffe600;
  color: #fff;
}
.btn.white {
  background: #fff;
  color: #222;
}
.author-tag {
  margin-top: 12px;
  font-size: 1.1rem;
  color: #3fd885;
  background: rgba(63,216,133,0.10);
  border-radius: 18px;
  padding: 6px 22px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px #3fd88522;
  display: inline-block;
}
.cute-tip {
  margin-top: 28px;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #3fd88544;
  font-weight: 500;
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 0;
  max-width: 260px;
}
.grid-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 1.2rem;
  color: #222;
  font-weight: 500;
  margin: 0 auto;
  transition: transform 0.2s;
}
.grid-item:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.icon {
  font-size: 1.8rem;
  margin-bottom: 0;
}
.tip {
  margin-top: 16px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #3fd88544;
  font-weight: 400;
}
.footer {
  margin-top: 24px;
  color: #eafff5;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-align: center;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .main-bg {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 98vw;
    gap: 10px;
  }
  .grid-item {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .card {
    padding: 10px 2vw 8px 2vw;
    max-width: 98vw;
    border-radius: 10px;
  }
  .title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .smile-face {
    width: 54px;
    height: 54px;
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .footer {
    font-size: 0.8rem;
    margin-top: 12px;
  }
}
.dropin {
  opacity: 0;
  transform: translateY(-60px);
  animation: dropin 0.7s cubic-bezier(.23,1.02,.64,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes dropin {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0;
}
.main-content {
  background: rgba(255,255,255,0.95);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 48px 40px 32px 40px;
  min-width: 340px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1000px) {
  .main-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
  }
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}
.contact-card {
  background: #eafff5;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-card:hover {
  background: #d2fff0;
}
.contact-icon {
  font-size: 1.3rem;
}
.contact-title {
  font-weight: bold;
  color: #3fd885;
}
.contact-info {
  font-size: 1rem;
  color: #222;
}
.copy-tip {
  margin-top: 10px;
  color: #3fd885;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
  display: none;
}
@media (max-width: 600px) {
  .main-content, .side-func {
    min-width: 98vw;
    max-width: 100vw;
    padding: 18px 2vw 12px 2vw;
    border-radius: 12px;
  }
  .main-flex {
    padding: 8px 0;
    gap: 10px;
  }
  .title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .smile-face {
    width: 54px;
    height: 54px;
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .card {
    padding: 10px 2vw 8px 2vw;
    max-width: 98vw;
    border-radius: 10px;
  }
  .card-text {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .btn {
    font-size: 0.95rem;
    padding: 7px 16px;
  }
  .author-tag {
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 8px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    max-width: 98vw;
  }
  .grid-item {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  .contact-cards {
    gap: 6px;
  }
  .contact-card {
    padding: 6px 8px;
    border-radius: 6px;
  }
  .contact-icon {
    font-size: 1rem;
  }
}
.side-func {
  background: rgba(255,255,255,0.85);
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
  max-width: 420px;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}
@media (max-width: 1200px) {
  .side-func {
    min-width: 0;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 98vw;
  }
}
@media (max-width: 1000px) {
  .main-flex {
    flex-direction: column;
    gap: 32px;
    min-height: 100vh;
  }
  .side-func {
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 24px;
  }
  .contact-cards {
    flex-direction: row;
    gap: 12px;
    margin-top: 10px;
  }
}
@media (max-width: 700px) {
  .side-func {
    min-width: 0;
    gap: 12px;
  }
  .contact-cards {
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 98vw;
  }
}