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

html, body {
  height: 100%;
}

body {
  font-family: 'Lexend', sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
  min-height: 100vh;
}

#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.1rem 1rem;
  z-index: 10;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #f5f5f5;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #ffffff;
}

main {
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  min-height: 100vh;
  padding: 6rem 1.5rem 3rem;
  animation: fadeIn 0.4s ease;
}

.page.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  margin-bottom: 1.4rem;
}

.name {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.clock {
  margin-top: 0.7rem;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: #a3a3a3;
  font-variant-numeric: tabular-nums;
}

.card {
  max-width: 720px;
  width: 100%;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 2.4rem 2.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.3rem;
  color: #ffffff;
}

.card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #c9c9c9;
  margin-bottom: 1.1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.98rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .label {
  color: #8a8a8a;
  min-width: 5.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.contact-list a {
  color: #f5f5f5;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease;
}

.contact-list a:hover {
  border-color: #ffffff;
}

.contact-list .handle {
  color: #c9c9c9;
}

@media (max-width: 600px) {
  .topbar {
    gap: 1.1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .name {
    font-size: 1.8rem;
  }

  .card {
    padding: 1.8rem 1.4rem;
  }
}
