:root {
  --wlx-bg: #f6f7f3;
  --wlx-surface: rgba(255, 255, 255, 0.86);
  --wlx-surface-strong: #ffffff;
  --wlx-text: #23303d;
  --wlx-muted: #65758a;
  --wlx-line: rgba(44, 62, 80, 0.1);
  --wlx-blue: #2f80ed;
  --wlx-teal: #14b8a6;
  --wlx-coral: #f9735b;
  --wlx-gold: #d6a536;
  --wlx-shadow: 0 18px 48px rgba(37, 49, 64, 0.12);
  --wlx-card-radius: 8px;
}

[data-theme='dark'] {
  --wlx-bg: #111418;
  --wlx-surface: rgba(25, 30, 36, 0.86);
  --wlx-surface-strong: #1b2128;
  --wlx-text: #e8edf2;
  --wlx-muted: #a8b3c2;
  --wlx-line: rgba(232, 237, 242, 0.1);
  --wlx-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

html {
  background: var(--wlx-bg);
}

body {
  color: var(--wlx-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 12%, rgba(249, 115, 91, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 247, 243, 0.96));
  letter-spacing: 0;
}

[data-theme='dark'] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 12%, rgba(47, 128, 237, 0.12), transparent 24rem),
    linear-gradient(180deg, #12161b, #0f1216);
}

#page-header.full_page,
#page-header.not-top-img {
  background-position: center;
}

#page-header:before {
  background: linear-gradient(180deg, rgba(15, 20, 26, 0.24), rgba(15, 20, 26, 0.58));
}

#site-title,
#site-subtitle,
#post-info .post-title {
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
}

#site-title {
  font-weight: 800;
  letter-spacing: 0;
}

#site-subtitle {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
}

#page-header.nav-fixed #nav,
#nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(35, 48, 61, 0.08);
  box-shadow: 0 6px 20px rgba(22, 30, 40, 0.05);
  backdrop-filter: blur(12px) saturate(130%);
}

#nav.show {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(35, 48, 61, 0.08);
  box-shadow: 0 6px 20px rgba(22, 30, 40, 0.06);
  backdrop-filter: blur(12px) saturate(130%);
}

#nav.show a,
#nav.show #site-name,
#nav.show .site-name {
  color: #23303d;
  text-shadow: none;
}

[data-theme='dark'] #nav.show {
  background: rgba(24, 29, 35, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] #page-header.nav-fixed #nav,
[data-theme='dark'] #nav {
  background: rgba(24, 29, 35, 0.9) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] #nav.show a,
[data-theme='dark'] #nav.show #site-name,
[data-theme='dark'] #nav.show .site-name {
  color: #e8edf2;
}

[data-theme='dark'] #page-header.full_page:not(.nav-fixed) #nav {
  background: rgba(7, 12, 20, 0.28) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

#page-header.full_page:not(.nav-fixed) #nav {
  background: rgba(7, 12, 20, 0.18) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(150%);
}

#page-header.full_page:not(.nav-fixed) #nav a,
#page-header.full_page:not(.nav-fixed) #nav #site-name,
#page-header.full_page:not(.nav-fixed) #nav .site-name,
#page-header.full_page:not(.nav-fixed) #nav .site-page {
  color: #fff !important;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.36);
}

.nav-theme-toggle {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: 0.25rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #23303d;
  background: rgba(35, 48, 61, 0.08);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-theme-toggle:hover {
  background: rgba(47, 128, 237, 0.16);
  transform: translateY(-1px);
}

[data-theme='dark'] .nav-theme-toggle {
  color: #e8edf2;
  background: rgba(255, 255, 255, 0.1);
}

#page-header.full_page:not(.nav-fixed) #nav .nav-theme-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

[data-theme='dark'] #recent-posts > .recent-post-item,
[data-theme='dark'] .card-widget,
[data-theme='dark'] #post,
[data-theme='dark'] #page,
[data-theme='dark'] #archive,
[data-theme='dark'] #tag,
[data-theme='dark'] #category,
[data-theme='dark'] #post-comment {
  background: var(--wlx-surface);
  border-color: var(--wlx-line);
}

[data-theme='dark'] #recent-posts > .recent-post-item .recent-post-info .article-title,
[data-theme='dark'] .card-widget .item-headline,
[data-theme='dark'] .card-info .author-info-name {
  color: var(--wlx-text);
}

#recent-posts > .recent-post-item,
.card-widget,
#post,
#page,
#archive,
#tag,
#category,
#post-comment {
  border: 1px solid var(--wlx-line);
  border-radius: var(--wlx-card-radius);
  background: var(--wlx-surface);
  box-shadow: var(--wlx-shadow);
  backdrop-filter: blur(18px) saturate(135%);
}

#recent-posts > .recent-post-item {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#recent-posts > .recent-post-item:hover {
  border-color: rgba(47, 128, 237, 0.28);
  box-shadow: 0 24px 58px rgba(37, 49, 64, 0.18);
  transform: translateY(-4px);
}

#recent-posts > .recent-post-item .post_cover img,
.aside-list-item .thumbnail img {
  filter: saturate(1.04) contrast(1.02);
}

#recent-posts > .recent-post-item .recent-post-info .article-title {
  color: var(--wlx-text);
  font-weight: 750;
  line-height: 1.35;
}

#recent-posts > .recent-post-item .recent-post-info .article-meta-wrap,
#recent-posts > .recent-post-item .content {
  color: var(--wlx-muted);
}

.card-widget {
  padding: 1.1rem;
}

.card-widget .item-headline {
  color: var(--wlx-text);
  font-weight: 700;
}

.card-info .avatar-img img {
  border: 3px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(37, 49, 64, 0.2);
}

.card-info .author-info-name {
  color: var(--wlx-text);
  font-weight: 800;
}

.card-info .author-info-description,
.announcement_content,
.aside-list .content time {
  color: var(--wlx-muted);
}

#card-info-btn {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--wlx-blue), var(--wlx-teal));
  box-shadow: 0 12px 26px rgba(47, 128, 237, 0.25);
  font-weight: 700;
}

#article-container {
  color: var(--wlx-text);
  line-height: 1.9;
}

#article-container h1,
#article-container h2,
#article-container h3,
#article-container h4 {
  color: var(--wlx-text);
  font-weight: 800;
  letter-spacing: 0;
}

#article-container h2 {
  margin-top: 2.1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--wlx-teal);
}

#article-container h3 {
  color: #2b6fb8;
}

[data-theme='dark'] #article-container h3 {
  color: #78b7ff;
}

#article-container p,
#article-container li,
#article-container table {
  color: var(--wlx-text);
}

#article-container a {
  color: var(--wlx-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

#article-container blockquote {
  border-left-color: var(--wlx-coral);
  background: rgba(249, 115, 91, 0.08);
  border-radius: 0 8px 8px 0;
}

#article-container table {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--wlx-line);
}

#article-container th {
  background: rgba(20, 184, 166, 0.12);
  color: var(--wlx-text);
}

#article-container code {
  border-radius: 5px;
  background: rgba(47, 128, 237, 0.1);
  color: #1f6bc1;
}

[data-theme='dark'] #article-container code {
  color: #8ec5ff;
}

#article-container figure.highlight,
#article-container pre {
  border-radius: 8px;
  border: 1px solid var(--wlx-line);
}

.post-meta__tags {
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--wlx-teal);
}

.post-copyright {
  border: 1px solid var(--wlx-line);
  border-radius: 8px;
  background: rgba(47, 128, 237, 0.06);
}

#post-comment {
  margin-top: 1.25rem;
  padding: 1.25rem;
}

#post-comment .comment-headline {
  color: var(--wlx-text);
  font-weight: 800;
}

#waline-wrap {
  --waline-theme-color: var(--wlx-blue);
  --waline-active-color: var(--wlx-teal);
  --waline-border: 1px solid var(--wlx-line);
  --waline-border-radius: 8px;
}

#rightside > div > button,
#rightside > div > a {
  border-radius: 8px;
  background: var(--wlx-surface-strong);
  box-shadow: 0 10px 28px rgba(37, 49, 64, 0.16);
}

#footer {
  color: #4f5f70;
  background: #ffffff;
  border-top: 1px solid var(--wlx-line);
}

#footer:before {
  display: none;
}

#footer a,
#footer .footer-copyright,
#footer .framework-info,
#footer .footer_custom_text {
  color: #4f5f70;
  text-shadow: none;
}

[data-theme='dark'] #footer {
  color: #c5ced8;
  background: #171c22;
}

[data-theme='dark'] #footer a,
[data-theme='dark'] #footer .footer-copyright,
[data-theme='dark'] #footer .framework-info,
[data-theme='dark'] #footer .footer_custom_text {
  color: #c5ced8;
}

.about-lab {
  position: relative;
  overflow: hidden;
  margin: -1rem;
  padding: 1rem;
}

.about-lab,
.about-lab * {
  box-sizing: border-box;
}

.about-hero,
.about-panel,
.about-stack,
.about-timeline,
.about-quote {
  position: relative;
  z-index: 1;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 16, 24, 0.88), rgba(16, 35, 54, 0.76)),
    url('/images/image.png') center / cover;
  color: #fff;
}

.about-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 184, 166, 0.18), transparent 44%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.about-kicker,
.about-section-label {
  margin: 0 0 0.75rem;
  color: var(--wlx-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.about-lead {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.9;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.about-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.about-actions a:first-child {
  background: linear-gradient(135deg, var(--wlx-blue), var(--wlx-teal));
  border-color: transparent;
}

.about-actions a:hover {
  transform: translateY(-2px);
}

.about-orbit {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 1;
  justify-self: center;
}

.about-avatar {
  position: absolute;
  inset: 50%;
  z-index: 3;
  width: 42%;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.orbit-ring--two {
  inset: 22%;
  border-style: dashed;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 3.8rem;
  min-height: 3.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  backdrop-filter: blur(14px);
  animation: about-float 4.8s ease-in-out infinite;
}

.orbit-dot--ai {
  top: 8%;
  right: 18%;
}

.orbit-dot--web {
  left: 2%;
  bottom: 28%;
  animation-delay: -1.4s;
}

.orbit-dot--app {
  right: 3%;
  bottom: 16%;
  animation-delay: -2.6s;
}

.about-panel,
.about-timeline,
.about-quote {
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--wlx-line);
  border-radius: 8px;
  background: var(--wlx-surface);
  box-shadow: var(--wlx-shadow);
}

.about-panel h2,
.about-stack h2,
.about-timeline h2 {
  margin: 0 0 1.25rem;
  color: var(--wlx-text);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
}

.about-now__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-now__grid article,
.stack-card,
.timeline-track article {
  border: 1px solid var(--wlx-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

[data-theme='dark'] .about-now__grid article,
[data-theme='dark'] .stack-card,
[data-theme='dark'] .timeline-track article {
  background: rgba(255, 255, 255, 0.04);
}

.about-now__grid article {
  padding: 1.25rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.about-now__grid article:hover,
.timeline-track article:hover {
  border-color: rgba(20, 184, 166, 0.34);
  transform: translateY(-4px);
}

.about-now__grid span {
  color: var(--wlx-coral);
  font-weight: 900;
}

.about-now__grid h3,
.timeline-track b {
  display: block;
  margin: 0.7rem 0 0.4rem;
  color: var(--wlx-text);
  font-size: 1.05rem;
  font-weight: 900;
}

.about-now__grid p,
.timeline-track p {
  margin: 0;
  color: var(--wlx-muted);
  line-height: 1.75;
}

.about-stack {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.stack-card {
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--wlx-shadow);
}

.stack-card--image {
  min-height: 340px;
  padding: 0;
}

.stack-card--image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.stack-tags span {
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(47, 128, 237, 0.22);
  border-radius: 999px;
  color: var(--wlx-text);
  background: rgba(47, 128, 237, 0.08);
  font-weight: 750;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.timeline-track article {
  padding: 1.1rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.about-quote {
  background:
    linear-gradient(135deg, rgba(47, 128, 237, 0.12), rgba(20, 184, 166, 0.12)),
    var(--wlx-surface);
}

.about-quote p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--wlx-text);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  body {
    background: var(--wlx-bg);
  }

  #recent-posts > .recent-post-item,
  .card-widget,
  #post,
  #page,
  #archive,
  #tag,
  #category,
  #post-comment {
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(37, 49, 64, 0.1);
  }

  #article-container {
    line-height: 1.82;
  }

  #article-container h2 {
    margin-top: 1.7rem;
  }

  .about-lab {
    margin: -0.65rem;
    padding: 0.65rem;
  }

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

  .about-hero {
    min-height: auto;
    padding: 2rem 1.2rem;
  }

  .about-orbit {
    width: min(86vw, 300px);
  }

  .about-now__grid,
  .timeline-track {
    grid-template-columns: 1fr;
  }
}
