@charset "UTF-8";
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  background: #0d1117;
  color: #f0f6fc;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #f0f6fc;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #a371f7 0%, #58a6ff 50%, #3fb950 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid #30363d;
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.25rem;
  color: #8b949e;
}

p {
  margin-bottom: 1em;
  color: #8b949e;
}

a {
  color: #58a6ff;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #a371f7;
  text-decoration: underline;
}

strong {
  color: #f0f6fc;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 27, 34, 0.95);
  border-bottom: 1px solid #30363d;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(163, 113, 247, 0.15) 0%, rgba(88, 166, 255, 0.1) 40%, transparent 100%);
  pointer-events: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a371f7 0%, #58a6ff 50%, #3fb950 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.site-title:hover {
  text-decoration: none;
  opacity: 0.9;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  color: #8b949e;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: #f0f6fc;
  text-decoration: none;
}
.site-nav a.active {
  color: #f0f6fc;
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #a371f7 0%, #58a6ff 50%, #3fb950 100%);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f0f6fc;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #161b22;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid #30363d;
  }
  .site-nav.active {
    display: flex;
  }
  .site-nav a {
    padding: 0.75rem 0;
  }
}
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 200px);
}

.hero-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #30363d;
}
.hero-compact .hero-info h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}
.hero-compact .hero-info .tagline {
  font-size: 1rem;
  color: #8b949e;
  margin: 0;
}
.hero-compact .hero-badges {
  display: flex;
  gap: 0.75rem;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.home-main {
  min-width: 0;
}

.home-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-section {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.25rem;
}
.sidebar-section h2 {
  font-size: 1rem;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  color: #f0f6fc;
}

.sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-posts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #30363d;
  margin: 0;
}
.sidebar-posts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-posts li:first-child {
  padding-top: 0;
}
.sidebar-posts li a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f0f6fc;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.sidebar-posts li a:hover {
  color: #a371f7;
}
.sidebar-posts li .post-date {
  font-size: 0.8125rem;
  color: #6e7681;
}

.view-all {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #58a6ff;
  font-weight: 500;
}
.view-all:hover {
  color: #a371f7;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    position: static;
  }
  .hero-compact {
    flex-direction: column;
    text-align: center;
  }
  .hero-compact .hero-info {
    text-align: center;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 2rem;
  font-size: 0.875rem;
  color: #8b949e;
  transition: all 0.2s ease;
}
.badge:hover {
  border-color: #a371f7;
  color: #f0f6fc;
  text-decoration: none;
}
.badge svg {
  width: 16px;
  height: 16px;
}

.card {
  background: #1c2128;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: #484f58;
  transform: translateY(-2px);
}
.card h3, .card h4 {
  margin-top: 0;
  color: #f0f6fc;
}
.card h3 a, .card h4 a {
  color: inherit;
}
.card h3 a:hover, .card h4 a:hover {
  color: #58a6ff;
  text-decoration: none;
}
.card .card-meta {
  font-size: 0.875rem;
  color: #6e7681;
  margin-bottom: 0.5rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list li {
  margin-bottom: 0;
}

.post-meta {
  font-size: 0.875rem;
  color: #6e7681;
}

.section {
  margin-bottom: 3rem;
}

pre, code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
}

code {
  background: #21262d;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  color: #a371f7;
}

pre {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}
pre code {
  background: none;
  padding: 0;
  color: #f0f6fc;
}

.highlighter-rouge,
.highlight {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  margin: 1rem 0;
  overflow-x: auto;
}
.highlighter-rouge .highlight,
.highlight .highlight {
  background: transparent;
  border: none;
  margin: 0;
}
.highlighter-rouge pre,
.highlighter-rouge pre.highlight,
.highlight pre,
.highlight pre.highlight {
  margin: 0;
  padding: 1rem;
  border: none;
  background: transparent;
  overflow-x: auto;
}
.highlighter-rouge code,
.highlight code {
  background: transparent;
  padding: 0;
}
.highlighter-rouge .c, .highlighter-rouge .c1, .highlighter-rouge .cm, .highlighter-rouge .cs, .highlighter-rouge .cp,
.highlight .c,
.highlight .c1,
.highlight .cm,
.highlight .cs,
.highlight .cp {
  color: #8b949e;
  font-style: italic;
}
.highlighter-rouge .k, .highlighter-rouge .kc, .highlighter-rouge .kd, .highlighter-rouge .kn, .highlighter-rouge .kp, .highlighter-rouge .kr, .highlighter-rouge .kt,
.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt {
  color: #ff7b72;
}
.highlighter-rouge .s, .highlighter-rouge .s1, .highlighter-rouge .s2, .highlighter-rouge .sb, .highlighter-rouge .sc, .highlighter-rouge .sd, .highlighter-rouge .se, .highlighter-rouge .sh, .highlighter-rouge .si, .highlighter-rouge .sr, .highlighter-rouge .ss, .highlighter-rouge .sx,
.highlight .s,
.highlight .s1,
.highlight .s2,
.highlight .sb,
.highlight .sc,
.highlight .sd,
.highlight .se,
.highlight .sh,
.highlight .si,
.highlight .sr,
.highlight .ss,
.highlight .sx {
  color: #a5d6ff;
}
.highlighter-rouge .m, .highlighter-rouge .mf, .highlighter-rouge .mh, .highlighter-rouge .mi, .highlighter-rouge .mo, .highlighter-rouge .il,
.highlight .m,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo,
.highlight .il {
  color: #79c0ff;
}
.highlighter-rouge .n, .highlighter-rouge .nb, .highlighter-rouge .nd, .highlighter-rouge .ni, .highlighter-rouge .nn, .highlighter-rouge .no, .highlighter-rouge .nv, .highlighter-rouge .vc, .highlighter-rouge .vg, .highlighter-rouge .vi,
.highlight .n,
.highlight .nb,
.highlight .nd,
.highlight .ni,
.highlight .nn,
.highlight .no,
.highlight .nv,
.highlight .vc,
.highlight .vg,
.highlight .vi {
  color: #c9d1d9;
}
.highlighter-rouge .nf, .highlighter-rouge .fm,
.highlight .nf,
.highlight .fm {
  color: #d2a8ff;
}
.highlighter-rouge .nc, .highlighter-rouge .ne,
.highlight .nc,
.highlight .ne {
  color: #ffa657;
}
.highlighter-rouge .o, .highlighter-rouge .ow,
.highlight .o,
.highlight .ow {
  color: #ff7b72;
}
.highlighter-rouge .p,
.highlight .p {
  color: #c9d1d9;
}
.highlighter-rouge .na,
.highlight .na {
  color: #79c0ff;
}
.highlighter-rouge .nt,
.highlight .nt {
  color: #7ee787;
}
.highlighter-rouge .err,
.highlight .err {
  color: #f85149;
  background: transparent;
}

ul, ol {
  padding-left: 1.5rem;
}
ul li, ol li {
  margin-bottom: 0.5rem;
  color: #8b949e;
}

blockquote {
  border-left: 4px solid #a371f7;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background: #21262d;
  border-radius: 0 8px 8px 0;
}
blockquote p {
  margin: 0;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
table th, table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #30363d;
}
table th {
  color: #f0f6fc;
  font-weight: 600;
  background: #21262d;
}
table td {
  color: #8b949e;
}
table tr:hover td {
  background: #161b22;
}

hr {
  border: none;
  height: 1px;
  background: #30363d;
  margin: 2rem 0;
}

.site-footer {
  background: #161b22;
  border-top: 1px solid #30363d;
  padding: 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.social-links a {
  color: #6e7681;
  transition: color 0.2s ease;
}
.social-links a:hover {
  color: #a371f7;
}
.social-links a svg {
  width: 24px;
  height: 24px;
}

.footer-text {
  color: #6e7681;
  font-size: 0.875rem;
  margin: 0;
}

.copilot-sparkle {
  position: relative;
  display: inline-block;
}
.copilot-sparkle::before {
  content: "✨";
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  font-size: 0.75rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}
.gradient-text {
  background: linear-gradient(135deg, #a371f7 0%, #58a6ff 50%, #3fb950 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-header {
  margin-bottom: 2rem;
}
.post-header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.post-header .post-meta {
  margin-top: 0.5rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.post-footer {
  margin-top: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(163, 113, 247, 0.3);
  color: #f0f6fc;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0d1117;
}

::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #484f58;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid #30363d;
}

.lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e7681;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  user-select: none;
}
.lang-label.active {
  color: #f0f6fc;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background: #a371f7;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 4px rgba(163, 113, 247, 0.4);
}

.toggle-switch input:checked + .toggle-slider {
  border-color: #a371f7;
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
  background: #3fb950;
  box-shadow: 0 0 4px rgba(63, 185, 80, 0.4);
}

.toggle-switch input:focus + .toggle-slider {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .lang-toggle {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    padding: 0.5rem 0;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .site-header,
  .site-footer {
    display: none;
  }
}

/*# sourceMappingURL=style.css.map */