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

body {
  font-family: 'Kis Antiqua Now TH Pro', 'Times New Roman', Times, serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: #000;
  text-decoration: none;
}

/* Header */
header {
  padding: 24px 32px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.site-name {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: block;
}

.header-line {
  border: none;
  border-top: 1px solid #000;
  margin: 12px -32px;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

nav a {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #000;
}

nav a:hover {
  color: #666;
}

/* Aura background */
.aura-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

.aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  border-radius: 50%;
  filter: blur(80px);
  animation: aura-shift 14s linear infinite, breathe 10s ease-in-out infinite;
}

@keyframes aura-shift {
  0% {
    background: radial-gradient(circle,
      rgba(255, 0, 180, 1) 0%,
      rgba(255, 0, 220, 0.9) 10%,
      rgba(220, 0, 255, 0.78) 20%,
      rgba(140, 0, 255, 0.62) 32%,
      rgba(0, 200, 255, 0.45) 48%,
      rgba(0, 255, 200, 0.28) 62%,
      rgba(0, 255, 160, 0.14) 75%,
      transparent 88%
    );
  }
  16.6% {
    background: radial-gradient(circle,
      rgba(255, 80, 0, 1) 0%,
      rgba(255, 60, 40, 0.9) 10%,
      rgba(255, 40, 80, 0.78) 20%,
      rgba(255, 0, 120, 0.62) 32%,
      rgba(200, 0, 255, 0.45) 48%,
      rgba(80, 0, 255, 0.28) 62%,
      rgba(0, 160, 255, 0.14) 75%,
      transparent 88%
    );
  }
  33.3% {
    background: radial-gradient(circle,
      rgba(0, 220, 255, 1) 0%,
      rgba(0, 190, 255, 0.9) 10%,
      rgba(0, 160, 255, 0.78) 20%,
      rgba(0, 100, 255, 0.62) 32%,
      rgba(180, 0, 255, 0.45) 48%,
      rgba(255, 0, 240, 0.28) 62%,
      rgba(255, 0, 200, 0.14) 75%,
      transparent 88%
    );
  }
  50% {
    background: radial-gradient(circle,
      rgba(255, 220, 0, 1) 0%,
      rgba(255, 190, 0, 0.9) 10%,
      rgba(255, 160, 0, 0.78) 20%,
      rgba(255, 100, 0, 0.62) 32%,
      rgba(255, 0, 80, 0.45) 48%,
      rgba(220, 0, 180, 0.28) 62%,
      rgba(180, 0, 255, 0.14) 75%,
      transparent 88%
    );
  }
  66.6% {
    background: radial-gradient(circle,
      rgba(0, 255, 100, 1) 0%,
      rgba(0, 255, 140, 0.9) 10%,
      rgba(0, 255, 180, 0.78) 20%,
      rgba(0, 220, 255, 0.62) 32%,
      rgba(100, 0, 255, 0.45) 48%,
      rgba(200, 0, 220, 0.28) 62%,
      rgba(255, 0, 160, 0.14) 75%,
      transparent 88%
    );
  }
  83.3% {
    background: radial-gradient(circle,
      rgba(200, 0, 255, 1) 0%,
      rgba(240, 0, 220, 0.9) 10%,
      rgba(255, 0, 180, 0.78) 20%,
      rgba(255, 0, 100, 0.62) 32%,
      rgba(255, 160, 0, 0.45) 48%,
      rgba(100, 255, 100, 0.28) 62%,
      rgba(0, 255, 200, 0.14) 75%,
      transparent 88%
    );
  }
  100% {
    background: radial-gradient(circle,
      rgba(255, 0, 180, 1) 0%,
      rgba(255, 0, 220, 0.9) 10%,
      rgba(220, 0, 255, 0.78) 20%,
      rgba(140, 0, 255, 0.62) 32%,
      rgba(0, 200, 255, 0.45) 48%,
      rgba(0, 255, 200, 0.28) 62%,
      rgba(0, 255, 160, 0.14) 75%,
      transparent 88%
    );
  }
}

@keyframes breathe {
  0% { transform: translate(-50%, -50%) scale(1); }
  25% { transform: translate(-50%, -50%) scale(1.06); }
  50% { transform: translate(-50%, -50%) scale(1); }
  75% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Home screen */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}

/* Projects screen */
.projects-page {
  display: none;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 120px);
}

.projects-inner {
  padding: 4px 32px;
}

.back-btn {
  font-family: 'Kis Antiqua Now TH Pro', 'Times New Roman', Times, serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  margin-bottom: 6px;
  display: block;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: #000;
}

.project-list {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  display: inline-flex;
  flex-direction: column;
  border: 1px solid #000;
  padding: 3px 6px;
  color: #000;
  transition: background 0.3s ease;
}


.project-card:hover {
  background: #f5f5f5;
}

.card-title {
  font-size: 0.85rem;
  margin-bottom: 1px;
}

.card-desc {
  font-size: 0.85rem;
  color: #3a3a3a;
  margin-bottom: 1px;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.78rem;
  color: #3a3a3a;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Footer */
footer {
  padding: 24px 32px;
  border-top: 1px solid #000;
  font-size: 0.85rem;
  color: #999;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .project-list {
    flex-direction: column;
  }

  .project-card {
    max-width: 100%;
  }

  header, footer {
    padding: 20px;
  }

  .aura {
    width: 450px;
    height: 450px;
  }
}
