* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #233;
  position: relative;
  padding: 20px;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(1.2rem, 5vw, 2rem);
  text-align: center;
  font-style: italic;
  margin: 0 auto;
  padding: 0 15px;
  word-break: break-word;
}

footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 15px;
}

footer a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}

footer a {
  min-height: 44px;
  line-height: 28px;
}

@media (hover: hover) {
  footer a:hover {
    color: #666;
    text-decoration: underline;
    background-color: rgba(0, 0, 0, 0.05);
  }
}

footer a:active {
  transform: scale(0.98);
  background-color: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }

  footer a {
    color: #999;
  }

  footer a:hover {
    color: #bbb;
    background-color: rgba(255, 255, 255, 0.05);
  }

  footer a:active {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  body {
    padding-top: 10px;
    padding-bottom: 60px;
  }

  footer {
    position: relative;
    margin-top: 20px;
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


.logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
  perspective: 1000px;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s;
  transform-style: preserve-3d;
  animation: float 3s ease-in-out infinite;
}

.logo:hover {
  transform: rotateY(180deg);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}