*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #080808;
  color: #e0e0e0;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 13px;
  min-height: 100vh;
  overflow-x: hidden;
}
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 20px 32px;
  z-index: 100;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
nav.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.nav-logo {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 4px 0;
}
.star {
  position: absolute;
  opacity: 0;
  color: white;
  font-size: 6px;
  animation: starBlink var(--d, 2s) var(--delay, 0s) ease-in-out infinite;
  pointer-events: none;
  line-height: 1;
  will-change: transform, opacity;
}
.star.top { top: -5px; }
.star.bot { bottom: -5px; }
@keyframes starBlink {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 0.8; transform: scale(1); }
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 110px 32px 20px;
  gap: 28px;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
}
.avatar-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  animation: frameFloat 4s ease-in-out infinite;
  will-change: transform;
}
@keyframes frameFloat {
  0%,100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-4px); }
}
.avatar-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  position: relative; z-index: 1;
  border: 2px solid #222;
  background: #111;
  margin-top: -8px;
}
.avatar-circle img { width:100%; height:100%; object-fit:cover; }
.hero-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
  margin-top: 43px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero-location, .hero-tele {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-tele:hover { opacity: 0.6; }
.hero-location i, .hero-tele i { font-size: 0.7rem; color: #fff; }
.hero-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #333;
}
.content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-section {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.08s both;
}
.section-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 8px;
}
.about-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #999;
}
.projects-section {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.14s both;
}
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
  width: 100%;
}
.project-card:hover { border-color: #333; }
.project-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
  border: 1px solid #222;
}
.project-icon-wrap img { width:100%; height:100%; object-fit:cover; }
.project-info { flex: 1; min-width: 0; }
.project-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.project-sub {
  font-size: 0.7rem;
  color: #555;
  text-decoration: none;
  margin-top: 3px;
  user-select: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hidden-val {
  filter: blur(5px);
  transition: filter 0.25s;
  display: inline-block;
  color: #888;
  text-decoration: none !important;
}
.hidden-val.revealed { filter: blur(0); }
.copy-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 2px;
  color: #555;
  font-size: 0.65rem;
  transition: color 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover { color: #aaa; }
.copy-btn.show { display: inline-flex; }
.project-qr-btn {
  background: none;
  border: 1px solid #222;
  border-radius: 6px;
  padding: 5px 9px;
  color: #555;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.03em;
}
.project-qr-btn:hover { border-color: #444; color: #aaa; }
.community-section {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.17s both;
}
.community-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.2s;
  width: 100%;
}
.community-card:hover { border-color: #333; }
.community-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #1a1a1a;
  flex-shrink: 0;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.community-info { flex: 1; min-width: 0; }
.community-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.community-arrow {
  color: #333;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.community-card:hover .community-arrow { color: #555; }
.contact-section {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-item {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-item:hover { border-color: #333; }
.contact-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #1a1a1a;
  flex-shrink: 0;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}
.contact-info { flex: 1; min-width: 0; }
.contact-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 3px;
}
.contact-val {
  font-size: 0.78rem;
  color: #ccc;
  font-weight: 500;
}
.contact-arrow {
  color: #333;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.contact-item:hover .contact-arrow { color: #555; }
.divider-wrap {
  display: flex;
  justify-content: center;
  padding: 0 32px;
}
.divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  background: #1a1a1a;
}
footer {
  padding: 16px 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.uptime-box {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 99px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.67rem;
  color: #555;
  letter-spacing: 0.02em;
}
.uptime-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px #00e676;
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 8px #00e676; }
  50% { opacity: 0.2; box-shadow: 0 0 2px #00e676; }
}
.copyright {
  font-size: 0.62rem;
  color: #555;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px 32px 44px;
}
.project-sub a, .project-sub span { color: inherit; text-decoration: none; }
.hidden-val { color: #888 !important; text-decoration: none !important; }
.toast {
  position: fixed;
  top: 32px; left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #1e1e1e;
  border: 1px solid #333;
  color: #aaa;
  font-size: 0.7rem;
  padding: 7px 16px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.qr-overlay.open { opacity: 1; pointer-events: all; }
.qr-modal {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 260px;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.qr-overlay.open .qr-modal { transform: translateY(0) scale(1); }
.qr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.qr-modal-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qr-modal-title img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }
.qr-close {
  background: none;
  border: none;
  color: #444;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 2px;
}
.qr-close:hover { color: #aaa; }
.qr-img-wrap {
  width: 190px; height: 190px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.qr-info { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.qr-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #161616;
  border-radius: 7px;
  padding: 7px 10px;
}
.qr-info-label { font-size: 0.65rem; color: #444; letter-spacing: 0.05em; }
.qr-info-val {
  font-size: 0.72rem;
  color: #ccc;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.qr-copy {
  background: none;
  border: none;
  color: #444;
  font-size: 0.65rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.qr-copy:hover { color: #aaa; }
@media (min-width: 768px) {
  main { padding: 120px 48px 28px; }
  .hero-name { font-size: 1.8rem; }
  .avatar-wrapper { width: 130px; height: 130px; }
  .avatar-circle { width: 130px; height: 130px; }
  .avatar-frame { width: 175px; height: 175px; }
  .content { max-width: 480px; }
  .divider { max-width: 480px; }
}
@media (min-width: 1024px) {
  main { padding: 120px 32px 20px; max-width: 480px; margin: 0 auto; }
  .content { max-width: 480px; }
  .divider-wrap { max-width: 480px; margin: 0 auto; padding: 0 32px; }
  .divider { max-width: 100%; }
  footer { max-width: 480px; margin: 0 auto; }
  .copyright { max-width: 480px; margin: 0 auto; width: 100%; }
}