@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg-a: #f8faff;
  --bg-b: #eef4ff;
  --ink: #2d3f67;
  --muted: #6f84b0;
  --line: rgba(130, 157, 214, 0.35);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 38px rgba(101, 135, 201, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, #f2f7ff 0%, transparent 42%),
    radial-gradient(circle at 80% 20%, #edf3ff 0%, transparent 40%),
    linear-gradient(160deg, var(--bg-a) 0%, var(--bg-b) 100%);
}

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #f3f7ff;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-gate.is-fading {
  opacity: 0;
  pointer-events: none;
}

.intro-gate.is-hidden {
  display: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease;
}

.intro-gate.is-fading .intro-video {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(1px);
}

.intro-click-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.intro-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(245, 248, 255, 0.34), rgba(245, 248, 255, 0.08));
}

.intro-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.btn {
  border-radius: 11px;
  padding: 9px 14px;
  border: 1px solid rgba(126, 153, 214, 0.52);
  font-weight: 700;
  cursor: pointer;
  color: #2f477a;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
}

.site {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  isolation: isolate;
}

.layout-stage {
  position: relative;
  z-index: 1;
  width: min(1240px, 96vw);
  height: min(760px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.info-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(232, 241, 255, 0.2));
  box-shadow: 0 24px 60px rgba(136, 168, 211, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px) saturate(130%);
}

.hero-visual {
  position: relative;
  overflow: visible;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  min-height: 0;
}

.hero-visual-media {
  position: absolute;
  inset: 0;
  width: calc(150% + 820px);
  height: calc(150% + 820px);
  object-fit: contain;
  object-position: left top;
  padding: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  --hero-base-x: calc(-28% - 400px);
  --hero-base-y: calc(-14% - 300px);
  --hero-float-x: 0px;
  --hero-float-y: 0px;
  transform: translate3d(calc(var(--hero-base-x) + var(--hero-float-x)), calc(var(--hero-base-y) + var(--hero-float-y)), 0);
  transform-origin: 32% 42%;
  transition: none;
  will-change: transform;
  filter: none;
  backface-visibility: hidden;
}

.hero-visual::after {
  content: none;
}


.info-column {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(120px, 0.54fr) minmax(220px, 0.86fr) minmax(150px, 0.52fr);
  gap: 20px;
}

.info-card {
  position: relative;
  border-radius: 26px;
  padding: 20px 24px;
  overflow: hidden;
}

.card-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #6d84b4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.clock-card h2,
.profile-card blockquote {
  margin: 0;
}

.clock-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

.clock-card h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.2;
  color: #2e4674;
}

.clock-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

.clock-digital-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clock-time {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #4a6fb0;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.9), 0 6px 16px rgba(148, 175, 228, 0.18);
}

.clock-date {
  margin: 8px 0 0;
  color: #7c92be;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #2e4674;
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.2;
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #2f4b74;
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.45;
}

.support-button {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(210,228,255,0.32));
  color: #43648f;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(140, 172, 214, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.support-button:hover,
.support-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(123, 160, 207, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255,255,255,0.62), rgba(201,223,255,0.4));
  color: #355983;
}

.site.is-hidden,
.music-toggle.is-hidden {
  display: none;
}

.site::before,
.site::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site::before {
  background-image:
    radial-gradient(2px 2px at 8% 20%, rgba(160, 188, 255, 0.75) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 22% 78%, rgba(140, 176, 255, 0.65) 50%, transparent 52%),
    radial-gradient(2px 2px at 33% 35%, rgba(158, 198, 255, 0.72) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 46% 18%, rgba(152, 184, 255, 0.6) 50%, transparent 52%),
    radial-gradient(2px 2px at 59% 68%, rgba(162, 194, 255, 0.68) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 72% 26%, rgba(143, 172, 246, 0.7) 50%, transparent 52%),
    radial-gradient(2px 2px at 84% 56%, rgba(157, 191, 255, 0.7) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 93% 30%, rgba(133, 166, 244, 0.65) 50%, transparent 52%);
  animation: twinkleA 4.6s ease-in-out infinite alternate;
}

.site::after {
  background-image:
    radial-gradient(1.5px 1.5px at 14% 62%, rgba(138, 170, 246, 0.55) 50%, transparent 52%),
    radial-gradient(2px 2px at 28% 24%, rgba(167, 199, 255, 0.62) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 41% 82%, rgba(140, 174, 250, 0.55) 50%, transparent 52%),
    radial-gradient(2px 2px at 57% 42%, rgba(165, 202, 255, 0.62) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 70% 76%, rgba(145, 178, 250, 0.56) 50%, transparent 52%),
    radial-gradient(2px 2px at 87% 16%, rgba(167, 201, 255, 0.64) 50%, transparent 52%);
  animation: twinkleB 5.5s ease-in-out infinite alternate;
}

@keyframes twinkleA {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.95;
  }
}

@keyframes twinkleB {
  from {
    opacity: 0.35;
    transform: translateY(0px);
  }
  to {
    opacity: 0.8;
    transform: translateY(-4px);
  }
}


.music-toggle {
  opacity: 1;
  visibility: visible;
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  opacity: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(213,229,255,0.28));
  border: 1px solid rgba(255,255,255,0.56);
  box-shadow: 0 18px 42px rgba(127, 168, 207, 0.24), inset 0 1px 0 rgba(255,255,255,0.74);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #385992;
  box-shadow: var(--shadow);
  cursor: pointer;
}

@media (max-width: 980px) {
  html,
  body {
    overflow: auto;
  }

  .site {
    min-height: 100%;
    height: auto;
    padding: 18px;
  }

  .layout-stage {
    width: min(100%, 760px);
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(320px, 52vh) auto auto;
  }

  .hero-visual {
    min-height: 320px;
    overflow: hidden;
  }

  .info-column {
    grid-template-rows: auto auto;
  }

  .hero-visual-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .info-card {
    padding: 22px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .site {
    padding: 14px;
  }

  .layout-stage {
    gap: 14px;
    grid-template-rows: minmax(260px, 44vh) auto auto;
  }

  .hero-visual {
    min-height: 260px;
    overflow: hidden;
  }

  .hero-visual-media {
    width: 128%;
    height: 128%;
    transform: translate(-18%, -10%);
  }

  .hero-visual h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .clock-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .clock-face {
    width: 120px;
    height: 120px;
    flex-basis: 120px;
  }

  .clock-hand.hour {
    height: 31px;
  }

  .clock-hand.minute {
    height: 42px;
  }

  .clock-hand.second {
    height: 46px;
  }

  .clock-time {
    font-size: clamp(32px, 10vw, 48px);
  }

  .clock-date {
    font-size: 13px;
  }

  .profile-card blockquote {
    font-size: clamp(18px, 5.4vw, 24px);
    line-height: 1.7;
  }
}



@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Orbitron:wght@500;700&family=Press+Start+2P&family=ZCOOL+QingKe+HuangYou&display=swap');

.top-nav {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: fit-content;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(225,239,255,0.22));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 54px rgba(127, 168, 207, 0.18), inset 0 1px 0 rgba(255,255,255,0.62);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  overflow: hidden;
  z-index: 3;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.top-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent 24%, transparent 76%, rgba(255,255,255,0.12));
  pointer-events: none;
}

.top-nav.is-hidden {
  transform: translateX(-50%) translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

.top-nav__welcome {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(1.16rem, 1.3vw, 1.52rem);
  letter-spacing: 0.2em;
  color: #4d6a8d;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(255,255,255,0.4);
}

.clock-time {
  font-family: 'Orbitron', 'Press Start 2P', 'DotGothic16', monospace;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.12;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #4f78ac;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.24), 0 0 30px rgba(143, 192, 255, 0.22), 0 0 40px rgba(104, 170, 255, 0.16);
}

.clock-date {
  margin-top: 10px;
  letter-spacing: 0.16em;
}

.profile-list {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(71, 90, 118, 0.92);
  line-height: 1.7;
}

.profile-list strong {
  color: #4d6a8d;
}

.intro-bottom {
  position: absolute;
  left: 50%;
  bottom: 10vh;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.intro-skip {
  pointer-events: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  letter-spacing: 0.18em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.intro-skip:hover,
.intro-skip:focus-visible {
  border: none;
  box-shadow: none;
  color: #ffffff;
  transform: none;
}

@media (max-width: 980px) {
  .top-nav {
    top: 14px;
    padding: 14px 16px;
    max-width: calc(100vw - 24px);
  }

  .top-nav__welcome {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .intro-bottom {
    bottom: 8vh;
    padding: 0 20px;
  }

  .intro-skip {
    text-align: center;
    letter-spacing: 0.12em;
  }
}

.support-button.is-active {
  color: #2f5787;
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(193,219,255,0.54));
  box-shadow: 0 18px 40px rgba(123, 160, 207, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.music-toggle__art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(120, 166, 221, 0.22));
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.music-toggle:hover,
.music-toggle:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 46px rgba(127, 168, 207, 0.3), inset 0 1px 0 rgba(255,255,255,0.82);
}

.music-toggle:hover .music-toggle__art,
.music-toggle:focus-visible .music-toggle__art {
  transform: scale(1.04);
}

.music-toggle.is-muted .music-toggle__art {
  opacity: 0.55;
  filter: grayscale(0.18) saturate(0.7) drop-shadow(0 6px 12px rgba(120, 166, 221, 0.14));
}

.music-toggle.is-playing .music-toggle__art {
  animation: music-disc-spin 2.8s linear infinite;
}

@keyframes music-disc-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
