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

:root {
  --pink: #ff6eb4;
  --pink-light: #ffb3d9;
  --pink-pale: #ffe0f0;
  --purple: #c77dff;
  --purple-deep: #7b2cbf;
  --lavender: #e0aaff;
  --bg-dark: #1a0a14;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --text: #fce4ec;
  --text-muted: #c9a0b8;
  --border: rgba(255, 110, 180, 0.2);
  --shadow: 0 8px 32px rgba(255, 110, 180, 0.15);
  --radius: 16px;
  --font: 'Noto Sans SC', system-ui, sans-serif;
  --font-display: 'ZCOOL KuaiLe', cursive;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(199, 125, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 110, 180, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(123, 44, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-sparkles {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 182, 217, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255, 182, 217, 0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 182, 217, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(255, 182, 217, 0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 85%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 90%, rgba(255, 182, 217, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, rgba(255, 182, 217, 0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: sparkle 8s ease-in-out infinite alternate;
}

@keyframes sparkle {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(26, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pink-light);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-logo span {
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s;
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--pink-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pink-light);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}

.hero-content {
  max-width: 640px;
}

.hero-avatar-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 28px;
}

.hero-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--purple), var(--lavender), var(--pink));
  animation: ring-spin 6s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero-avatar {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-dark);
  z-index: 1;
}

.hero-heart {
  position: absolute;
  top: -4px;
  right: 8px;
  font-size: 1.8rem;
  z-index: 2;
  animation: heart-bounce 2s ease-in-out infinite;
}

@keyframes heart-bounce {
  0%, 100% { transform: scale(1) rotate(-10deg); }
  50% { transform: scale(1.2) rotate(10deg); }
}

.hero-greeting {
  font-size: 0.95rem;
  color: var(--lavender);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--pink-light), var(--purple), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-title-en {
  font-weight: 300;
  opacity: 0.8;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--pink);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.tag {
  padding: 6px 14px;
  background: rgba(255, 110, 180, 0.12);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--pink-light);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple-deep));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 110, 180, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(255, 110, 180, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-arrow {
  font-size: 1.2rem;
  color: var(--pink);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-alt {
  background: rgba(255, 110, 180, 0.03);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--pink-light);
}

.section-icon {
  margin-right: 8px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s;
}

.about-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.about-card h3 {
  font-size: 1.1rem;
  color: var(--pink);
  margin-bottom: 16px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

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

.about-card strong {
  color: var(--pink-light);
}

.about-quote {
  grid-column: 1 / -1;
  text-align: center;
  position: relative;
  padding: 40px 32px;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--pink);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -16px;
}

.about-quote blockquote {
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 16px;
}

.about-quote cite {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: normal;
}

.persona-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.persona-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.persona-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.persona-list strong {
  display: block;
  color: var(--pink-light);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.persona-list p {
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
}

/* Interests */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.interest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.interest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.interest-card[data-color="pink"]:hover { border-color: rgba(255, 110, 180, 0.5); }
.interest-card[data-color="purple"]:hover { border-color: rgba(199, 125, 255, 0.5); }
.interest-card[data-color="rose"]:hover { border-color: rgba(255, 100, 150, 0.5); }
.interest-card[data-color="lavender"]:hover { border-color: rgba(224, 170, 255, 0.5); }
.interest-card[data-color="magenta"]:hover { border-color: rgba(255, 50, 150, 0.5); }
.interest-card[data-color="coral"]:hover { border-color: rgba(255, 130, 120, 0.5); }

.interest-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.interest-card h3 {
  font-size: 1.05rem;
  color: var(--pink-light);
  margin-bottom: 10px;
}

.interest-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.interest-tags span {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: rgba(255, 110, 180, 0.1);
  border-radius: 12px;
  color: var(--lavender);
}

/* Journal */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}

.journal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 110, 180, 0.4);
}

.journal-card time {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 500;
  letter-spacing: 1px;
}

.journal-card h3 {
  font-size: 1.05rem;
  color: var(--pink-light);
  margin: 8px 0 12px;
}

.journal-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.journal-mood {
  font-size: 0.78rem;
  color: var(--lavender);
  padding: 6px 12px;
  background: rgba(199, 125, 255, 0.1);
  border-radius: 12px;
  display: inline-block;
}

.journal-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.journal-card-link:hover {
  border-color: rgba(255, 110, 180, 0.5);
  box-shadow: var(--shadow);
}

.journal-read-more {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--pink);
  font-weight: 500;
}

.section-link {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

.section-link:hover {
  text-decoration: underline;
}

/* Journal list & article pages */
.journal-list-page,
.journal-article-page {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
  min-height: 100vh;
}

.journal-list-header {
  text-align: center;
  margin-bottom: 48px;
}

.journal-list-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--pink-light);
  margin-bottom: 12px;
}

.journal-list-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--pink-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.journal-article {
  max-width: 720px;
}

.journal-article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.journal-article-header time {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 500;
  letter-spacing: 1px;
}

.journal-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--pink-light);
  margin: 12px 0 16px;
  line-height: 1.4;
}

.journal-article-body {
  margin-bottom: 32px;
}

.journal-article-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

.journal-article-body strong {
  color: var(--pink-light);
}

.journal-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.journal-article-tags span {
  font-size: 0.78rem;
  padding: 5px 12px;
  background: rgba(255, 110, 180, 0.1);
  border-radius: 14px;
  color: var(--lavender);
}

.journal-article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.journal-article-nav a {
  color: var(--pink-light);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.journal-article-nav a:hover {
  color: var(--pink);
}

.journal-nav-end {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--pink-light);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1;
}

.gallery-featured img {
  aspect-ratio: 1;
}

.gallery-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  text-align: center;
  color: var(--text-muted);
}

.placeholder-content span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.placeholder-content p {
  font-size: 0.8rem;
}

.gallery-placeholder .placeholder-content {
  background: linear-gradient(
    135deg,
    hsl(var(--hue, 320) 60% 15%),
    hsl(calc(var(--hue, 320) + 30) 50% 10%)
  );
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.gallery-item figcaption {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Connect */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.connect-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.connect-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.connect-x:hover { border-color: rgba(255, 255, 255, 0.3); }
.connect-tg:hover { border-color: rgba(42, 171, 238, 0.4); }

.connect-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connect-x .connect-icon {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.connect-tg .connect-icon {
  background: rgba(42, 171, 238, 0.2);
  color: #2aabee;
}

.connect-info h3 {
  font-size: 1rem;
  color: var(--pink-light);
  margin-bottom: 4px;
}

.connect-info p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}

.connect-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.connect-note {
  text-align: center;
  padding: 20px;
  background: rgba(255, 110, 180, 0.08);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.connect-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pink-light);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(26, 10, 20, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 14px 20px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-avatar-wrap,
  .hero-avatar {
    width: 160px;
    height: 160px;
  }

  .section {
    padding: 72px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-featured {
    grid-column: span 2;
  }
}