@charset "UTF-8";
:root {
  --primary-color: #7611a6;
  --primary-color-light: #c561f6;
  --primary-color-dark: #1c0056;
  --secondary-color: #9d27b0;
  --secondary-color-light: #a78bfa;
  --secondary-color-dark: #7c3aed;
  --gradient-primary: linear-gradient(135deg, #7611a6 0%, #9d27b0 50%, #c561f6 100%);
  --gradient-accent: linear-gradient(135deg, #7611a6 0%, #1c0056 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-shine: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  --text-color: #0f172a;
  --text-secondary: #334155;
  --light-text: #64748b;
  --muted-text: #94a3b8;
  --background-color: #f8fafc;
  --background-alt: #f1f5f9;
  --card-background: #ffffff;
  --card-background-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-color-light: #f1f5f9;
  --divider-color: #e2e8f0;
  --hover-color: #f3e8ff;
  --hover-color-light: #faf5ff;
  --hover-color-dark: #e9d5ff;
  --focus-ring: 0 0 0 3px rgba(118, 17, 166, 0.3);
  --code-background: #f1f5f9;
  --code-text: #7611a6;
  --blockquote-background: #faf5ff;
  --blockquote-border: #7611a6;
  --success-color: #10b981;
  --success-color-light: #34d399;
  --success-color-dark: #059669;
  --warning-color: #f59e0b;
  --warning-color-light: #fbbf24;
  --warning-color-dark: #d97706;
  --error-color: #ef4444;
  --error-color-light: #f87171;
  --error-color-dark: #dc2626;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 40px rgba(118, 17, 166, 0.15);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
  --glass-background: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(20px);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --syntax-comment: #6a8759;
  --syntax-keyword: #7611a6;
  --syntax-operator: #1f2937;
  --syntax-preprocessor: #9d27b0;
  --syntax-number: #0891b2;
  --syntax-string: #059669;
  --syntax-name: #c026d3;
  --syntax-builtin: #7611a6;
  --syntax-class: #0891b2;
  --syntax-function: #7611a6;
  --syntax-tag: #7611a6;
  --syntax-variable: #c026d3;
}

body.dark-theme {
  --primary-color: #c561f6;
  --primary-color-light: #d98ef9;
  --primary-color-dark: #7611a6;
  --secondary-color: #a78bfa;
  --secondary-color-light: #c4b5fd;
  --secondary-color-dark: #7611a6;
  --gradient-primary: linear-gradient(135deg, #c561f6 0%, #9d27b0 50%, #7611a6 100%);
  --gradient-accent: linear-gradient(135deg, #c561f6 0%, #7611a6 100%);
  --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  --text-color: #f1f5f9;
  --text-secondary: #e2e8f0;
  --light-text: #94a3b8;
  --muted-text: #64748b;
  --background-color: #0f172a;
  --background-alt: #1e293b;
  --card-background: #1e293b;
  --card-background-hover: #334155;
  --border-color: #334155;
  --border-color-light: #1e293b;
  --divider-color: #334155;
  --hover-color: #3b0764;
  --hover-color-light: #2e1065;
  --hover-color-dark: #581c87;
  --code-background: #1e293b;
  --code-text: #a5b4fc;
  --blockquote-background: #1e1b4b;
  --blockquote-border: #c561f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(197, 97, 246, 0.2);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.4);
  --glass-background: rgba(30, 41, 59, 0.8);
  --glass-border: rgba(51, 65, 85, 0.5);
  --syntax-comment: #6a9955;
  --syntax-keyword: #a5b4fc;
  --syntax-operator: #d4d4d4;
  --syntax-preprocessor: #c4b5fd;
  --syntax-number: #67e8f9;
  --syntax-string: #6ee7b7;
  --syntax-name: #f0abfc;
  --syntax-builtin: #a5b4fc;
  --syntax-class: #67e8f9;
  --syntax-function: #c4b5fd;
  --syntax-tag: #a5b4fc;
  --syntax-variable: #f0abfc;
}

/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling - Modern Design
 */
body {
  font: 400 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text-color);
  background-color: var(--background-color);
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1, "liga" 1;
  -moz-font-feature-settings: "kern" 1, "liga" 1;
  -o-font-feature-settings: "kern" 1, "liga" 1;
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color var(--transition-base), color var(--transition-base);
}

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

::selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-color);
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 16px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
  flex: 1;
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
  border-radius: var(--radius-md);
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
  color: var(--muted-text);
  margin-top: 0.5rem;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 32px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings - Modern Typography
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

/**
 * Links
 */
a {
  color: #7611a6;
  text-decoration: none;
}
a:visited {
  color: rgb(68.6721311475, 9.893442623, 96.606557377);
}
a:hover {
  color: #0f172a;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #64748b;
  border-left: 4px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
  padding-left: 16px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(1200px - (32px * 2));
  max-width: calc(1200px - 32px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 32px;
  padding-left: 32px;
}
.wrapper.post-wrapper {
  padding: 0;
  max-width: none;
}
@media screen and (max-width: 1200px) {
  .wrapper {
    max-width: -webkit-calc(1200px - (32px));
    max-width: calc(1200px - (32px));
    padding-right: 16px;
    padding-left: 16px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #64748b;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 32px;
  width: 100%;
  text-align: left;
  color: rgb(39.1578947368, 60.0421052632, 109.6421052632);
  border-collapse: collapse;
  border: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
}
table tr:nth-child(even) {
  background-color: rgb(218.99958159, 223.1435146444, 229.10041841);
}
table th, table td {
  padding: 10.6666666656px 16px;
}
table th {
  background-color: rgb(210.1012552301, 215.2694560669, 222.6987447699);
  border: 1px solid rgb(189.3384937238, 196.8966527197, 207.7615062762);
  border-bottom-color: rgb(165.609623431, 175.8991631799, 190.690376569);
}
table td {
  border: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(57.3221757322, 66.4937238494, 79.6778242678);
  border-bottom: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
  min-height: 59.68px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 57.6px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(57.3221757322, 66.4937238494, 79.6778242678);
}

.site-nav {
  float: right;
  line-height: 57.6px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #0f172a;
  line-height: 1.6;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 16px;
    background-color: #f8fafc;
    border: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(57.3221757322, 66.4937238494, 79.6778242678);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid rgb(201.2029288703, 207.3953974895, 216.2970711297);
  padding: 32px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 16px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #64748b;
  margin-left: -16px;
}

.footer-col {
  float: left;
  margin-bottom: 16px;
  padding-left: 16px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (32px / 2));
  width: calc(35% - 32px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (32px / 2));
  width: calc(20% - 32px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (32px / 2));
  width: calc(45% - 32px / 2);
}

@media screen and (max-width: 1200px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (32px / 2));
    width: calc(50% - 32px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (32px / 2));
    width: calc(100% - 32px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (32px / 2));
    width: calc(100% - 32px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 32px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 32px;
}

.post-meta {
  font-size: 14px;
  color: #64748b;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 32px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 1200px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 32px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 1200px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 1200px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 1200px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

.site-header {
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-background);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}
.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.site-header .site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.site-header .site-title {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition-fast);
}
.site-header .site-title:hover {
  text-decoration: none;
  opacity: 0.85;
}
.site-header .site-tagline {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-header .site-nav {
  display: flex;
  align-items: center;
}
.site-header .site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header .site-nav .page-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-lg);
  letter-spacing: 0.01em;
}
.site-header .site-nav .page-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}
.site-header .site-nav .page-link:hover {
  color: var(--primary-color);
  text-decoration: none;
  background: var(--hover-color-light);
}
.site-header .site-nav .page-link:active {
  transform: scale(0.98);
}
.site-header .site-nav .page-link--portfolio {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.4rem 1rem;
}
.site-header .site-nav .page-link--portfolio:hover {
  background: var(--primary-color);
  color: #fff;
}
.site-header .nav-trigger {
  display: none;
}
.site-header .menu-icon {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.site-header .menu-icon:hover {
  background: var(--hover-color-light);
}
.site-header .menu-icon-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background-color: var(--text-color);
  margin: 4px 0;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
@media (min-width: 1200px) {
  .site-header .wrapper {
    max-width: 1140px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .wrapper {
    max-width: 960px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .site-header .wrapper {
    max-width: 720px;
    padding: 0 20px;
  }
  .site-header .site-title {
    font-size: 1.25rem;
  }
  .site-header .site-nav .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .site-header .wrapper {
    max-width: 540px;
    padding: 0 16px;
  }
  .site-header .site-tagline {
    display: none;
  }
  .site-header .site-title {
    font-size: 1.125rem;
  }
}
@media (max-width: 768px) {
  .site-header .site-tagline {
    display: none;
  }
  .site-header .wrapper {
    justify-content: space-between;
  }
  .site-header .site-branding {
    flex: 1;
  }
  .site-header .site-nav {
    position: relative;
    margin-left: 20px;
    background-color: var(--background);
    border: none;
  }
  .site-header .site-nav .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
  }
  .site-header .site-nav .menu-icon-bar {
    width: 18px;
    margin: 2px 0;
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(2) {
    opacity: 0;
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
  }
  .site-header .site-nav .nav-trigger:checked ~ .nav-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .site-header .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--background);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
  }
  .site-header .site-nav .nav-links .page-link {
    margin: 0.5rem 0;
    margin-left: 0;
    width: 100%;
  }
}

.site-footer {
  background: var(--card-background);
  padding: 0;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.site-footer .footer-top {
  padding: 3rem 0 2rem;
  position: relative;
}
.site-footer .footer-top .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .footer-top .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
.site-footer .footer-heading {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.site-footer .footer-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}
.site-footer .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.site-footer .author-info .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  margin-right: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--card-background);
  transition: transform var(--transition-base);
}
.site-footer .author-info .author-avatar:hover {
  transform: scale(1.05);
}
.site-footer .author-info .author-details {
  flex: 1;
}
.site-footer .author-info .author-details .author-name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-color);
}
.site-footer .author-info .author-details .author-bio {
  margin: 0;
  font-size: 0.875rem;
  color: var(--light-text);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}
.site-footer .author-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.site-footer .author-social-links a {
  color: var(--light-text);
  font-size: 1rem;
  transition: all var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--background-alt);
  border: 1px solid var(--border-color);
}
.site-footer .author-social-links a:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.site-footer .footer-bottom {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.site-footer .footer-bottom .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.site-footer .footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.site-footer .footer-bottom .footer-links a {
  color: var(--light-text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-bottom .footer-links a:hover {
  color: var(--primary-color);
}
.site-footer .footer-bottom .footer-divider {
  color: var(--light-text);
  opacity: 0.5;
  font-size: 0.85rem;
}
.site-footer .footer-bottom .copyright {
  font-size: 0.85rem;
  color: var(--light-text);
}
.site-footer #back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.site-footer #back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.site-footer #back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-footer .footer-top {
    padding: 1.8rem 0 1.2rem;
  }
  .site-footer .author-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .author-info .author-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .site-footer .author-info .author-social-links {
    justify-content: center;
  }
  .site-footer .footer-bottom {
    padding: 0.7rem 0;
  }
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}
@media (max-width: 768px) {
  .post-title {
    font-size: 1.875rem;
  }
}

.post-meta-top {
  margin-bottom: 1rem;
}

.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-category {
  background: var(--gradient-primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.post-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  color: white;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}
.post-meta .post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-meta .post-meta-item i {
  color: var(--primary-color);
  font-size: 0.9em;
  opacity: 0.8;
}
.post-meta .post-meta-divider {
  color: var(--border-color);
}

.post-description {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 720px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
  }
}

.post-toc {
  position: sticky;
  top: 100px;
  background: var(--card-background);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}
@media (max-width: 1024px) {
  .post-toc {
    display: none;
  }
}
.post-toc .toc-container {
  margin-bottom: 2rem;
  font-size: 0.8125rem;
}
.post-toc .toc-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.post-toc .toc-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}
.post-toc #toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.post-toc #toc ul ul {
  padding-left: 1rem;
  margin-top: 0.25rem;
}
.post-toc #toc li {
  margin-bottom: 0.5rem;
}
.post-toc #toc a {
  color: var(--light-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}
.post-toc #toc a:hover {
  color: var(--primary-color);
}
.post-toc #toc a.active {
  color: var(--primary-color);
  font-weight: 600;
  border-left-color: var(--primary-color);
}

.post-taxonomy {
  margin-bottom: 2rem;
}
.post-taxonomy .taxonomy-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.post-taxonomy .taxonomy-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post-taxonomy .taxonomy-item {
  background: var(--background-alt);
  color: var(--text-secondary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}
.post-taxonomy .taxonomy-item:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.post-share-container .share-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.post-share-container .share-buttons {
  display: flex;
  gap: 0.75rem;
}
.post-share-container .share-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.post-share-container .share-button.twitter {
  background: linear-gradient(135deg, #1DA1F2, #0d8ecf);
}
.post-share-container .share-button.twitter:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}
.post-share-container .share-button.facebook {
  background: linear-gradient(135deg, #4267B2, #3b5998);
}
.post-share-container .share-button.facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(66, 103, 178, 0.4);
}
.post-share-container .share-button.linkedin {
  background: linear-gradient(135deg, #0077B5, #006097);
}
.post-share-container .share-button.linkedin:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.post-navigation {
  margin: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}
.post-navigation .post-navigation-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .post-navigation .post-navigation-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.post-navigation a {
  text-decoration: none;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  background: var(--card-background);
  border: 1px solid var(--border-color);
}
.post-navigation a:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.post-navigation a.next-post {
  text-align: right;
}
.post-navigation a .nav-label {
  display: block;
  color: var(--muted-text);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-navigation a .post-title {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.post-author-bio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--background-alt);
}
.post-author-bio__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.post-author-bio__name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}
.post-author-bio__blurb {
  font-size: 0.9rem;
  color: var(--light-text);
  margin: 0;
}
.post-author-bio__link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}
.post-author-bio__link:hover {
  text-decoration: underline;
}

.related-posts {
  margin-top: 3rem;
}
.related-posts .related-posts-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}
.related-posts .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .related-posts .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .related-posts .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
.related-posts .related-post-card {
  text-decoration: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--card-background);
}
.related-posts .related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.related-posts .related-post-card .related-post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-posts .related-post-card .related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-posts .related-post-card .related-post-content {
  padding: 1rem;
}
.related-posts .related-post-card .related-post-content .related-post-title {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.related-posts .related-post-card .related-post-content .related-post-date {
  font-size: 0.85rem;
  color: var(--light-text);
}

.mobile-only {
  display: none;
}
@media (max-width: 1024px) {
  .mobile-only {
    display: block;
    margin-top: 2rem;
  }
}

.post-tags.mobile-only {
  margin-bottom: 1rem;
}
.post-tags .post-tags-title {
  font-weight: 500;
  margin-right: 0.5rem;
}
.post-tags .post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  border-radius: 9999px;
  background: var(--card-background);
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.post-tags .post-tag:hover {
  background: var(--primary-color);
  color: white;
}

.post-share.mobile-only {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.post-share .post-share-title {
  font-weight: 500;
}

.post {
  width: 100%;
  margin: 0;
  padding: 0;
}
.post .post-header {
  margin-bottom: 3rem;
  text-align: center;
}
.post .post-header .post-title {
  font-size: 2.5rem;
  color: var(--text-color);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  font-weight: 800;
}
.post .post-header .post-meta {
  color: var(--light-text);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.post .post-header .post-meta time {
  margin-right: 0.5rem;
}
.post .post-header .post-meta .categories:before {
  content: "•";
  margin: 0 0.5rem;
}
.post .post-header .post-meta .categories a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.post .post-header .post-meta .categories a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.post .post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: -0.003em;
}
.post .post-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}
.post .post-content h3 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.3;
}
.post .post-content p {
  margin-bottom: 1.5rem;
}
.post .post-content code {
  background: var(--card-background);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.post .post-content pre {
  background: var(--card-background);
  padding: 1.5rem !important;
  border-radius: 12px !important;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  font-size: 0.95rem;
}
.post .post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.post .post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--card-background);
  border-radius: 0 8px 8px 0;
  color: var(--muted-text);
  font-style: normal;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.post .post-content blockquote p {
  margin-bottom: 0;
}
.post .post-content ul, .post .post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}
.post .post-content ul li, .post .post-content ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.post .post-content ul li::marker, .post .post-content ol li::marker {
  color: var(--primary-color);
}
.post .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.post .post-content table th, .post .post-content table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}
.post .post-content table th {
  background: var(--card-background);
  font-weight: 600;
}
.post .post-content table tr:nth-child(even) {
  background: var(--card-background);
}
.post .post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.post .post-nav .prev, .post .post-nav .next {
  max-width: 45%;
}
.post .post-nav a {
  font-weight: 500;
}
.post .post-nav a:hover {
  color: var(--secondary-color);
}
.post .post-nav .nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-heading {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.post-list-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.post-list-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.post-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
  border-radius: var(--radius-xl);
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.post-card:hover::before {
  opacity: 0.03;
}
.post-card:hover .post-card-image img {
  transform: scale(1.08);
}
.post-card:hover .read-more {
  gap: 0.75rem;
}
.post-card:hover .read-more i {
  transform: translateX(4px);
}

.post-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.post-card:hover .post-card-image::after {
  opacity: 1;
}

.post-categories {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.post-category {
  background: var(--gradient-primary);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  display: inline-block;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
.post-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  color: white;
  text-decoration: none;
}

.post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.post-meta {
  color: var(--muted-text);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.post-meta i {
  margin-right: 0.375rem;
  color: var(--primary-color);
  font-size: 0.875rem;
  opacity: 0.8;
}
.post-meta .post-date,
.post-meta .post-author,
.post-meta .post-reading-time {
  display: inline-flex;
  align-items: center;
}
.post-meta .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.post-meta .categories a {
  color: var(--primary-color);
  font-weight: 500;
}

.post-title {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.post-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.post-link:hover {
  color: var(--primary-color);
}

.post-excerpt {
  color: var(--light-text);
  margin: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: auto;
  padding-top: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}
.read-more i {
  transition: transform var(--transition-fast);
  font-size: 0.75rem;
}
.read-more:hover {
  color: var(--secondary-color);
}
.read-more:hover i {
  transform: translateX(3px);
}

@media (min-width: 1200px) {
  .post-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
}
@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-card-image {
    height: 200px;
  }
}
.category-list {
  list-style: none;
  padding: 0;
}
.category-list li {
  margin-bottom: 0.75rem;
}
.category-list li a {
  color: var(--primary-color);
  font-weight: 600;
  transition: all var(--transition-fast);
}
.category-list li a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.categories-page {
  margin: 2rem auto 4rem;
  max-width: 1200px;
  padding: 0 1.5rem;
  /* Dark mode enhancements */
  /* Responsive adjustments */
}
.categories-page .categories-header {
  text-align: center;
  margin-bottom: 3rem;
}
.categories-page .categories-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.categories-page .categories-description {
  color: var(--light-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.categories-page .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.categories-page .category-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  background: var(--card-background);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  min-height: 200px;
  position: relative;
}
.categories-page .category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl);
}
.categories-page .category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.categories-page .category-card:hover::before {
  opacity: 0.05;
}
.categories-page .category-card .category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  position: relative;
  z-index: 1;
}
.categories-page .category-card:hover .category-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}
.categories-page .category-card .category-name {
  margin: 0 0 0.875rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.categories-page .category-card .category-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  position: relative;
  z-index: 1;
}
.categories-page .category-card .post-count {
  color: var(--muted-text);
  background: var(--background-alt);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-block;
  border: 1px solid var(--border-color);
}
.categories-page .category-card:hover .post-count {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
body.dark-theme .categories-page .category-card {
  border-color: var(--border-color);
}
body.dark-theme .categories-page .category-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}
@media (min-width: 1400px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .categories-page .categories-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .categories-page .category-card {
    padding: 1.25rem 0.875rem;
    height: 160px;
  }
  .categories-page .category-card .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .categories-page .category-card .category-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .categories-page .category-card .post-count {
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
  }
}

.category {
  padding: 2rem 0;
}
.category .category-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.category .category-description {
  color: var(--light-text);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.category .post-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color, #eee);
}
.category .post-item:last-child {
  border-bottom: none;
}
.category .post-item .post-title {
  margin: 0 0 0.5rem;
}
.category .post-item .post-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
}
.category .post-item .post-title a:hover {
  color: var(--secondary-color);
}
.category .post-item .post-meta {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.category .post-item .post-meta .categories {
  margin-left: 0.5rem;
}
.category .post-item .post-meta .categories a {
  color: var(--primary-color);
  text-decoration: none;
}
.category .post-item .post-meta .categories a:hover {
  color: var(--secondary-color);
}
.category .post-item .post-excerpt {
  color: var(--text-color);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}
.btn:hover, .btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:hover::before, .btn:focus::before {
  transform: translateX(100%);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-color);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--hover-color-light);
  color: var(--primary-color);
}

.btn-soft {
  background: var(--hover-color-light);
  color: var(--primary-color);
}
.btn-soft:hover, .btn-soft:focus {
  background: var(--hover-color);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-xl);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
}
.btn-group .btn {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.btn-group .btn:last-child {
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}
.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: white;
}
.btn-success:hover, .btn-success:focus {
  background-color: var(--success-color-dark);
  border-color: var(--success-color-dark);
}

.btn-warning {
  background-color: var(--warning-color);
  border-color: var(--warning-color);
  color: white;
}
.btn-warning:hover, .btn-warning:focus {
  background-color: var(--warning-color-dark);
  border-color: var(--warning-color-dark);
}

.btn-danger {
  background-color: var(--error-color);
  border-color: var(--error-color);
  color: white;
}
.btn-danger:hover, .btn-danger:focus {
  background-color: var(--error-color-dark);
  border-color: var(--error-color-dark);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon svg, .btn-icon i {
  margin-right: 0.5rem;
}
.btn-icon.icon-right svg, .btn-icon.icon-right i {
  margin-right: 0;
  margin-left: 0.5rem;
}

.btn.disabled, .btn:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.card {
  background: var(--card-background);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.card:hover::before {
  opacity: 0.03;
}

.card-img-top {
  width: 100%;
  border-radius: 0;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--text-color);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-text {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.card-footer {
  padding: 1.25rem 1.75rem;
  background: var(--background-alt);
  border-top: 1px solid var(--border-color);
}

.card-hover:hover {
  border-color: var(--primary-color);
}
.card-hover:hover .card-title {
  color: var(--primary-color);
}

.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted-text);
  font-size: 0.875rem;
  gap: 0.5rem;
}
.card-meta svg, .card-meta i {
  color: var(--primary-color);
  opacity: 0.8;
}

.card-horizontal {
  display: flex;
  flex-direction: row;
}
.card-horizontal .card-img {
  width: 35%;
  min-width: 35%;
  height: auto;
  object-fit: cover;
}
.card-horizontal .card-body {
  flex: 1;
}
@media (max-width: 768px) {
  .card-horizontal {
    flex-direction: column;
  }
  .card-horizontal .card-img {
    width: 100%;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}
.feature-card .feature-icon {
  margin: 0 auto 1.5rem;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hover-color);
  color: var(--primary-color);
  font-size: 2rem;
}

.card-overlay {
  position: relative;
}
.card-overlay .card-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.card-overlay .card-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}
.card-overlay .card-overlay-content .card-title {
  color: white;
  margin-bottom: 0.5rem;
}
.card-overlay .card-overlay-content .card-text {
  color: rgba(255, 255, 255, 0.8);
}

.search-container {
  position: relative;
  margin: 0;
}
.search-container.is-loading .search-spinner {
  display: block;
}

.search-trigger {
  background: var(--background-alt);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--muted-text);
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-trigger:hover {
  background: var(--hover-color-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.search-overlay.active {
  display: flex;
  opacity: 1;
}
.search-overlay.active .search-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-modal {
  position: relative;
  width: 90%;
  max-width: 720px;
  margin: 100px auto;
  background: var(--card-background);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  transform: translateY(-20px) scale(0.98);
  opacity: 0;
  transition: all var(--transition-base);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.search-icon {
  position: absolute;
  left: 18px;
  color: var(--muted-text);
  font-size: 1.125rem;
  pointer-events: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-spinner {
  position: absolute;
  right: 56px;
  color: var(--primary-color);
  font-size: 0.9rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.search-close {
  position: absolute;
  right: 16px;
  background: var(--background-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #718096;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  border-radius: 50%;
}
.search-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
}

#search-input {
  width: 100%;
  padding: 0.8rem 3.5rem;
  font-size: 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s ease;
  background-color: var(--background);
  color: var(--text-color);
}
#search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.search-results {
  max-height: calc(90vh - 200px);
  overflow-y: auto;
  border-radius: 0.75rem;
  background: var(--background);
  margin-top: 0.5rem;
}

.search-result-item {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background-color: #f7fafc;
  transform: translateX(4px);
}

.search-result-title {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.search-result-date {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 0.5rem;
}

.search-result-snippet {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-highlight {
  background-color: rgba(255, 213, 86, 0.4);
  padding: 0.1rem 0.2rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.no-results {
  padding: 1rem;
  text-align: center;
  color: #718096;
}

.dark-theme .search-overlay {
  background: rgba(0, 0, 0, 0.7);
}
.dark-theme .search-result-item {
  border-color: #2d3748;
}
.dark-theme .search-result-item:hover {
  background-color: #2d3748;
}
.dark-theme .search-result-snippet {
  color: #a0aec0;
}
.dark-theme #search-input {
  border-color: #2d3748;
}
.dark-theme #search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.25);
}
.dark-theme .search-result-highlight {
  background-color: rgba(255, 213, 86, 0.2);
}
.dark-theme .search-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #c561f6;
    --primary-color-light: #d98ef9;
    --primary-color-dark: #7611a6;
    --secondary-color: #9d27b0;
    --secondary-color-light: #ba68c8;
    --secondary-color-dark: #7611a6;
    --gradient-primary: linear-gradient(135deg, #c561f6 0%, #9d27b0 50%, #7611a6 100%);
    --gradient-accent: linear-gradient(135deg, #c561f6 0%, #7611a6 100%);
    --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --text-color: #f1f5f9;
    --text-secondary: #e2e8f0;
    --light-text: #94a3b8;
    --muted-text: #64748b;
    --background-color: #0f172a;
    --background-alt: #1e293b;
    --background: #0f172a;
    --card-background: #1e293b;
    --light-background: #1e293b;
    --border-color: #334155;
    --border-color-light: #1e293b;
    --divider-color: #334155;
    --hover-color: #3b0764;
    --hover-color-light: #2e1065;
    --hover-color-dark: #581c87;
    --code-background: #1e293b;
    --code-text: #d98ef9;
    --blockquote-background: #2e1065;
    --blockquote-border: #c561f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(197, 97, 246, 0.15);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.35);
    --glass-background: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(51, 65, 85, 0.5);
    --success-color: #34d399;
    --success-color-dark: #10b981;
    --warning-color: #fbbf24;
    --warning-color-dark: #f59e0b;
    --error-color: #f87171;
    --error-color-dark: #ef4444;
    --accent-color: #fbbf24;
    --transition: all 0.3s ease;
  }
  body {
    color: var(--text-color);
    background-color: var(--background-color);
  }
  .site-header {
    background: var(--glass-background);
    border-bottom-color: var(--border-color);
  }
  .post-list li {
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
  }
  .post-list .post-link {
    color: var(--text-color);
  }
  .post-content pre, .post-content code {
    background-color: var(--code-background) !important;
    border-color: var(--border-color);
  }
  .post-content pre {
    box-shadow: var(--shadow-md);
  }
  .post-content blockquote {
    background-color: var(--blockquote-background);
    border-left-color: var(--blockquote-border);
  }
  .post-content p > code, .post-content li > code, .post-content h2 > code, .post-content h3 > code, .post-content h4 > code {
    color: var(--code-text);
    border: 1px solid var(--border-color);
    background-color: var(--code-background);
  }
  .site-footer {
    background-color: var(--card-background);
  }
  .highlight {
    background: var(--code-background);
  }
  .toc-container,
  .post-taxonomy,
  .post-share-container {
    background-color: var(--card-background);
  }
  #toc a {
    color: var(--light-text);
  }
  #toc a:hover, #toc a.active {
    color: var(--primary-color);
  }
  .post-navigation-links a {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
  }
  .post-navigation-links a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
  }
  .related-post-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
  }
  .post-card,
  .card,
  .category-card {
    border-color: var(--border-color);
  }
  .post-card:hover,
  .card:hover,
  .category-card:hover {
    box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  }
  .related-post-title {
    color: var(--text-color);
  }
  .post-description {
    border-left-color: var(--primary-color);
  }
  .share-button {
    background-color: var(--card-background);
    color: var(--text-color);
  }
  .share-button:hover {
    background-color: var(--primary-color);
    color: white;
  }
}
body.dark-theme {
  --primary-color: #4f9ef7;
  --secondary-color: #357ae8;
  --secondary-color-light: #64b5f6;
  --text-color: #e0e0e0;
  --light-text: #c0c0c0;
  --background-color: #0d1117;
  --background: #0d1117;
  --card-background: #19212c;
  --light-background: #19212c;
  --border-color: #2d333b;
  --hover-color: #1e40af;
  --hover-color-light: #1e293b;
  --code-background: #161b22;
  --blockquote-background: #161b22;
  --muted-text: #a0a0a0;
  --blockquote-border: #444;
  --success-color: #66bb6a;
  --success-color-dark: #43a047;
  --warning-color: #ffa726;
  --warning-color-dark: #fb8c00;
  --error-color: #ef5350;
  --error-color-dark: #e53935;
  --accent-color: #ffc107;
  --transition: all 0.3s ease;
  color: var(--text-color);
  background-color: var(--background-color);
}
body.dark-theme .site-header {
  background-color: #1e293b;
  border-bottom-color: var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.dark-theme .post-list li {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-color: #2d333b;
}
body.dark-theme .post-list .post-link {
  color: #ffffff;
}
body.dark-theme .post-content pre, body.dark-theme .post-content code {
  background-color: var(--code-background) !important;
  border-color: var(--border-color);
}
body.dark-theme .post-content pre {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
body.dark-theme .post-content blockquote {
  background-color: var(--blockquote-background);
}
body.dark-theme .post-content p > code, body.dark-theme .post-content li > code, body.dark-theme .post-content h2 > code, body.dark-theme .post-content h3 > code, body.dark-theme .post-content h4 > code {
  color: #d4d4d4;
  border: 1px solid var(--border-color);
  background-color: var(--code-background);
}
body.dark-theme .site-footer {
  background-color: var(--card-background);
}
body.dark-theme .highlight {
  background: #0d1117;
}
body.dark-theme .toc-container,
body.dark-theme .post-taxonomy,
body.dark-theme .post-share-container {
  background-color: var(--card-background);
}
body.dark-theme #toc a {
  color: var(--text-color);
}
body.dark-theme .post-navigation-links a {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}
body.dark-theme .related-post-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}
body.dark-theme .related-post-title {
  color: var(--text-color);
}
body.dark-theme .post-description {
  border-left-color: var(--primary-color);
}
body.dark-theme .share-button {
  background-color: var(--card-background);
  color: var(--text-color);
}
body.dark-theme .share-button:hover {
  background-color: var(--primary-color);
  color: white;
}

body.light-theme {
  --primary-color: #0553B1;
  --secondary-color: #0175C2;
  --secondary-color-light: #42A5F5;
  --text-color: #212121;
  --light-text: #424242;
  --background-color: #ffffff;
  --background: #ffffff;
  --card-background: #ffffff;
  --light-background: #fafafa;
  --border-color: #e0e0e0;
  --hover-color: #0553B1;
  --hover-color-light: #e3f2fd;
  --code-background: #f5f5f5;
  --blockquote-background: #f5f5f5;
  --muted-text: #757575;
  --blockquote-border: #ddd;
  --success-color: #4caf50;
  --success-color-dark: #388e3c;
  --warning-color: #ff9800;
  --warning-color-dark: #f57c00;
  --error-color: #f44336;
  --error-color-dark: #d32f2f;
  --accent-color: #FFC107;
  --transition: all 0.3s ease;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  margin: 10px auto;
  max-width: 600px;
  text-align: center;
}
.container h1 {
  margin: 30px 0;
  font-size: 4em;
  line-height: 1;
  letter-spacing: -1px;
}

:root {
  --primary-color: #7611a6;
  --primary-color-light: #c561f6;
  --primary-color-dark: #1c0056;
  --secondary-color: #9d27b0;
  --secondary-color-light: #a78bfa;
  --secondary-color-dark: #7c3aed;
  --gradient-primary: linear-gradient(135deg, #7611a6 0%, #9d27b0 50%, #c561f6 100%);
  --gradient-accent: linear-gradient(135deg, #7611a6 0%, #1c0056 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-shine: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  --text-color: #0f172a;
  --text-secondary: #334155;
  --light-text: #64748b;
  --muted-text: #94a3b8;
  --background-color: #f8fafc;
  --background-alt: #f1f5f9;
  --card-background: #ffffff;
  --card-background-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-color-light: #f1f5f9;
  --divider-color: #e2e8f0;
  --hover-color: #f3e8ff;
  --hover-color-light: #faf5ff;
  --hover-color-dark: #e9d5ff;
  --focus-ring: 0 0 0 3px rgba(118, 17, 166, 0.3);
  --code-background: #f1f5f9;
  --code-text: #7611a6;
  --blockquote-background: #faf5ff;
  --blockquote-border: #7611a6;
  --success-color: #10b981;
  --success-color-light: #34d399;
  --success-color-dark: #059669;
  --warning-color: #f59e0b;
  --warning-color-light: #fbbf24;
  --warning-color-dark: #d97706;
  --error-color: #ef4444;
  --error-color-light: #f87171;
  --error-color-dark: #dc2626;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 40px rgba(118, 17, 166, 0.15);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
  --glass-background: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(20px);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --syntax-comment: #6a8759;
  --syntax-keyword: #7611a6;
  --syntax-operator: #1f2937;
  --syntax-preprocessor: #9d27b0;
  --syntax-number: #0891b2;
  --syntax-string: #059669;
  --syntax-name: #c026d3;
  --syntax-builtin: #7611a6;
  --syntax-class: #0891b2;
  --syntax-function: #7611a6;
  --syntax-tag: #7611a6;
  --syntax-variable: #c026d3;
}

body.dark-theme {
  --primary-color: #c561f6;
  --primary-color-light: #d98ef9;
  --primary-color-dark: #7611a6;
  --secondary-color: #a78bfa;
  --secondary-color-light: #c4b5fd;
  --secondary-color-dark: #7611a6;
  --gradient-primary: linear-gradient(135deg, #c561f6 0%, #9d27b0 50%, #7611a6 100%);
  --gradient-accent: linear-gradient(135deg, #c561f6 0%, #7611a6 100%);
  --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  --text-color: #f1f5f9;
  --text-secondary: #e2e8f0;
  --light-text: #94a3b8;
  --muted-text: #64748b;
  --background-color: #0f172a;
  --background-alt: #1e293b;
  --card-background: #1e293b;
  --card-background-hover: #334155;
  --border-color: #334155;
  --border-color-light: #1e293b;
  --divider-color: #334155;
  --hover-color: #3b0764;
  --hover-color-light: #2e1065;
  --hover-color-dark: #581c87;
  --code-background: #1e293b;
  --code-text: #a5b4fc;
  --blockquote-background: #1e1b4b;
  --blockquote-border: #c561f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(197, 97, 246, 0.2);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.4);
  --glass-background: rgba(30, 41, 59, 0.8);
  --glass-border: rgba(51, 65, 85, 0.5);
  --syntax-comment: #6a9955;
  --syntax-keyword: #a5b4fc;
  --syntax-operator: #d4d4d4;
  --syntax-preprocessor: #c4b5fd;
  --syntax-number: #67e8f9;
  --syntax-string: #6ee7b7;
  --syntax-name: #f0abfc;
  --syntax-builtin: #a5b4fc;
  --syntax-class: #67e8f9;
  --syntax-function: #c4b5fd;
  --syntax-tag: #a5b4fc;
  --syntax-variable: #f0abfc;
}

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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul[class], ol[class] {
  list-style: none;
  padding: 0;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  line-height: 1.5;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
  font-size: 1.125rem;
  color: var(--text-color);
  background-color: var(--background-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: var(--text-color);
}

h1 {
  font-size: 2.75rem;
  margin-top: 0;
}

h2 {
  font-size: 2.125rem;
  position: relative;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin-top: 0.75rem;
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.375rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}
a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

code {
  font-family: "Fira Code", "Roboto Mono", monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  background-color: var(--code-background, #f5f5f5);
}

pre {
  padding: 1rem;
  overflow-x: auto;
  border-radius: 8px;
  background-color: var(--code-background, #f5f5f5);
}
pre code {
  padding: 0;
  background-color: transparent;
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.p-5 {
  padding: 3rem;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-light {
  color: var(--light-text);
}

.text-muted {
  color: var(--muted-text);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-light {
  background-color: var(--card-background);
}

.border {
  border: 1px solid var(--border-color);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.rounded {
  border-radius: 8px;
}

.rounded-circle {
  border-radius: 50%;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 576px) {
  .hide-sm {
    display: none;
  }
}
@media (max-width: 768px) {
  .hide-md {
    display: none;
  }
}
@media (min-width: 992px) {
  .hide-lg {
    display: none;
  }
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.site-header {
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-background);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}
.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.site-header .site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.site-header .site-title {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition-fast);
}
.site-header .site-title:hover {
  text-decoration: none;
  opacity: 0.85;
}
.site-header .site-tagline {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-header .site-nav {
  display: flex;
  align-items: center;
}
.site-header .site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header .site-nav .page-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-lg);
  letter-spacing: 0.01em;
}
.site-header .site-nav .page-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}
.site-header .site-nav .page-link:hover {
  color: var(--primary-color);
  text-decoration: none;
  background: var(--hover-color-light);
}
.site-header .site-nav .page-link:active {
  transform: scale(0.98);
}
.site-header .site-nav .page-link--portfolio {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.4rem 1rem;
}
.site-header .site-nav .page-link--portfolio:hover {
  background: var(--primary-color);
  color: #fff;
}
.site-header .nav-trigger {
  display: none;
}
.site-header .menu-icon {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.site-header .menu-icon:hover {
  background: var(--hover-color-light);
}
.site-header .menu-icon-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background-color: var(--text-color);
  margin: 4px 0;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
@media (min-width: 1200px) {
  .site-header .wrapper {
    max-width: 1140px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .wrapper {
    max-width: 960px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .site-header .wrapper {
    max-width: 720px;
    padding: 0 20px;
  }
  .site-header .site-title {
    font-size: 1.25rem;
  }
  .site-header .site-nav .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .site-header .wrapper {
    max-width: 540px;
    padding: 0 16px;
  }
  .site-header .site-tagline {
    display: none;
  }
  .site-header .site-title {
    font-size: 1.125rem;
  }
}
@media (max-width: 768px) {
  .site-header .site-tagline {
    display: none;
  }
  .site-header .wrapper {
    justify-content: space-between;
  }
  .site-header .site-branding {
    flex: 1;
  }
  .site-header .site-nav {
    position: relative;
    margin-left: 20px;
    background-color: var(--background);
    border: none;
  }
  .site-header .site-nav .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
  }
  .site-header .site-nav .menu-icon-bar {
    width: 18px;
    margin: 2px 0;
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(2) {
    opacity: 0;
  }
  .site-header .site-nav .nav-trigger:checked ~ .menu-icon .menu-icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
  }
  .site-header .site-nav .nav-trigger:checked ~ .nav-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .site-header .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--background);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
  }
  .site-header .site-nav .nav-links .page-link {
    margin: 0.5rem 0;
    margin-left: 0;
    width: 100%;
  }
}

.site-footer {
  background: var(--card-background);
  padding: 0;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.site-footer .footer-top {
  padding: 3rem 0 2rem;
  position: relative;
}
.site-footer .footer-top .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .footer-top .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
.site-footer .footer-heading {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.site-footer .footer-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}
.site-footer .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.site-footer .author-info .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  margin-right: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--card-background);
  transition: transform var(--transition-base);
}
.site-footer .author-info .author-avatar:hover {
  transform: scale(1.05);
}
.site-footer .author-info .author-details {
  flex: 1;
}
.site-footer .author-info .author-details .author-name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-color);
}
.site-footer .author-info .author-details .author-bio {
  margin: 0;
  font-size: 0.875rem;
  color: var(--light-text);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}
.site-footer .author-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.site-footer .author-social-links a {
  color: var(--light-text);
  font-size: 1rem;
  transition: all var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--background-alt);
  border: 1px solid var(--border-color);
}
.site-footer .author-social-links a:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.site-footer .footer-bottom {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.site-footer .footer-bottom .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.site-footer .footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.site-footer .footer-bottom .footer-links a {
  color: var(--light-text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-bottom .footer-links a:hover {
  color: var(--primary-color);
}
.site-footer .footer-bottom .footer-divider {
  color: var(--light-text);
  opacity: 0.5;
  font-size: 0.85rem;
}
.site-footer .footer-bottom .copyright {
  font-size: 0.85rem;
  color: var(--light-text);
}
.site-footer #back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.site-footer #back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.site-footer #back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-footer .footer-top {
    padding: 1.8rem 0 1.2rem;
  }
  .site-footer .author-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .author-info .author-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .site-footer .author-info .author-social-links {
    justify-content: center;
  }
  .site-footer .footer-bottom {
    padding: 0.7rem 0;
  }
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}
@media (max-width: 768px) {
  .post-title {
    font-size: 1.875rem;
  }
}

.post-meta-top {
  margin-bottom: 1rem;
}

.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-category {
  background: var(--gradient-primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.post-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  color: white;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}
.post-meta .post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-meta .post-meta-item i {
  color: var(--primary-color);
  font-size: 0.9em;
  opacity: 0.8;
}
.post-meta .post-meta-divider {
  color: var(--border-color);
}

.post-description {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 720px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
  }
}

.post-toc {
  position: sticky;
  top: 100px;
  background: var(--card-background);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}
@media (max-width: 1024px) {
  .post-toc {
    display: none;
  }
}
.post-toc .toc-container {
  margin-bottom: 2rem;
  font-size: 0.8125rem;
}
.post-toc .toc-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.post-toc .toc-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}
.post-toc #toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.post-toc #toc ul ul {
  padding-left: 1rem;
  margin-top: 0.25rem;
}
.post-toc #toc li {
  margin-bottom: 0.5rem;
}
.post-toc #toc a {
  color: var(--light-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}
.post-toc #toc a:hover {
  color: var(--primary-color);
}
.post-toc #toc a.active {
  color: var(--primary-color);
  font-weight: 600;
  border-left-color: var(--primary-color);
}

.post-taxonomy {
  margin-bottom: 2rem;
}
.post-taxonomy .taxonomy-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.post-taxonomy .taxonomy-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post-taxonomy .taxonomy-item {
  background: var(--background-alt);
  color: var(--text-secondary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}
.post-taxonomy .taxonomy-item:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.post-share-container .share-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.post-share-container .share-buttons {
  display: flex;
  gap: 0.75rem;
}
.post-share-container .share-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.post-share-container .share-button.twitter {
  background: linear-gradient(135deg, #1DA1F2, #0d8ecf);
}
.post-share-container .share-button.twitter:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}
.post-share-container .share-button.facebook {
  background: linear-gradient(135deg, #4267B2, #3b5998);
}
.post-share-container .share-button.facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(66, 103, 178, 0.4);
}
.post-share-container .share-button.linkedin {
  background: linear-gradient(135deg, #0077B5, #006097);
}
.post-share-container .share-button.linkedin:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.post-navigation {
  margin: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}
.post-navigation .post-navigation-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .post-navigation .post-navigation-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.post-navigation a {
  text-decoration: none;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  background: var(--card-background);
  border: 1px solid var(--border-color);
}
.post-navigation a:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.post-navigation a.next-post {
  text-align: right;
}
.post-navigation a .nav-label {
  display: block;
  color: var(--muted-text);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-navigation a .post-title {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.post-author-bio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--background-alt);
}
.post-author-bio__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.post-author-bio__name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}
.post-author-bio__blurb {
  font-size: 0.9rem;
  color: var(--light-text);
  margin: 0;
}
.post-author-bio__link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}
.post-author-bio__link:hover {
  text-decoration: underline;
}

.related-posts {
  margin-top: 3rem;
}
.related-posts .related-posts-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}
.related-posts .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .related-posts .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .related-posts .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
.related-posts .related-post-card {
  text-decoration: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--card-background);
}
.related-posts .related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.related-posts .related-post-card .related-post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-posts .related-post-card .related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-posts .related-post-card .related-post-content {
  padding: 1rem;
}
.related-posts .related-post-card .related-post-content .related-post-title {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.related-posts .related-post-card .related-post-content .related-post-date {
  font-size: 0.85rem;
  color: var(--light-text);
}

.mobile-only {
  display: none;
}
@media (max-width: 1024px) {
  .mobile-only {
    display: block;
    margin-top: 2rem;
  }
}

.post-tags.mobile-only {
  margin-bottom: 1rem;
}
.post-tags .post-tags-title {
  font-weight: 500;
  margin-right: 0.5rem;
}
.post-tags .post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  border-radius: 9999px;
  background: var(--card-background);
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.post-tags .post-tag:hover {
  background: var(--primary-color);
  color: white;
}

.post-share.mobile-only {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.post-share .post-share-title {
  font-weight: 500;
}

.post {
  width: 100%;
  margin: 0;
  padding: 0;
}
.post .post-header {
  margin-bottom: 3rem;
  text-align: center;
}
.post .post-header .post-title {
  font-size: 2.5rem;
  color: var(--text-color);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  font-weight: 800;
}
.post .post-header .post-meta {
  color: var(--light-text);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.post .post-header .post-meta time {
  margin-right: 0.5rem;
}
.post .post-header .post-meta .categories:before {
  content: "•";
  margin: 0 0.5rem;
}
.post .post-header .post-meta .categories a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.post .post-header .post-meta .categories a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.post .post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: -0.003em;
}
.post .post-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}
.post .post-content h3 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.3;
}
.post .post-content p {
  margin-bottom: 1.5rem;
}
.post .post-content code {
  background: var(--card-background);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.post .post-content pre {
  background: var(--card-background);
  padding: 1.5rem !important;
  border-radius: 12px !important;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  font-size: 0.95rem;
}
.post .post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.post .post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--card-background);
  border-radius: 0 8px 8px 0;
  color: var(--muted-text);
  font-style: normal;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.post .post-content blockquote p {
  margin-bottom: 0;
}
.post .post-content ul, .post .post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}
.post .post-content ul li, .post .post-content ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.post .post-content ul li::marker, .post .post-content ol li::marker {
  color: var(--primary-color);
}
.post .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.post .post-content table th, .post .post-content table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}
.post .post-content table th {
  background: var(--card-background);
  font-weight: 600;
}
.post .post-content table tr:nth-child(even) {
  background: var(--card-background);
}
.post .post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.post .post-nav .prev, .post .post-nav .next {
  max-width: 45%;
}
.post .post-nav a {
  font-weight: 500;
}
.post .post-nav a:hover {
  color: var(--secondary-color);
}
.post .post-nav .nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.post-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.post-list li {
  background: var(--card-background);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.post-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.post-list .post-meta {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.post-list .post-meta:before {
  content: "📅";
  margin-right: 0.5rem;
  font-size: 1rem;
}
.post-list .post-meta .categories {
  margin-left: 0.5rem;
}
.post-list .post-meta .categories:before {
  content: "•";
  margin-right: 0.5rem;
}
.post-list .post-meta .categories a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.post-list .post-meta .categories a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.post-list .post-link {
  color: var(--text-color);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0.75rem 0;
  display: block;
  line-height: 1.3;
}
.post-list .post-link:hover {
  color: var(--primary-color);
}
.post-list .post-excerpt {
  color: var(--light-text);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.post-list .featured-post {
  border-left: 4px solid var(--primary-color);
}
.post-list .featured-post .post-meta:after {
  content: "Featured";
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  margin-left: 0.75rem;
}
@media (max-width: 768px) {
  .post-list li {
    padding: 1.5rem;
  }
  .post-list .post-link {
    font-size: 1.5rem;
  }
}

.category-list {
  list-style: none;
  padding: 0;
}
.category-list li {
  margin-bottom: 0.75rem;
}
.category-list li a {
  color: var(--primary-color);
  font-weight: 600;
  transition: all var(--transition-fast);
}
.category-list li a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.categories-page {
  margin: 2rem auto 4rem;
  max-width: 1200px;
  padding: 0 1.5rem;
  /* Dark mode enhancements */
  /* Responsive adjustments */
}
.categories-page .categories-header {
  text-align: center;
  margin-bottom: 3rem;
}
.categories-page .categories-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.categories-page .categories-description {
  color: var(--light-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.categories-page .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.categories-page .category-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  background: var(--card-background);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  min-height: 200px;
  position: relative;
}
.categories-page .category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl);
}
.categories-page .category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.categories-page .category-card:hover::before {
  opacity: 0.05;
}
.categories-page .category-card .category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  position: relative;
  z-index: 1;
}
.categories-page .category-card:hover .category-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}
.categories-page .category-card .category-name {
  margin: 0 0 0.875rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.categories-page .category-card .category-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  position: relative;
  z-index: 1;
}
.categories-page .category-card .post-count {
  color: var(--muted-text);
  background: var(--background-alt);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-block;
  border: 1px solid var(--border-color);
}
.categories-page .category-card:hover .post-count {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
body.dark-theme .categories-page .category-card {
  border-color: var(--border-color);
}
body.dark-theme .categories-page .category-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}
@media (min-width: 1400px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .categories-page .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .categories-page .categories-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .categories-page .category-card {
    padding: 1.25rem 0.875rem;
    height: 160px;
  }
  .categories-page .category-card .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .categories-page .category-card .category-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .categories-page .category-card .post-count {
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
  }
}

.category {
  padding: 2rem 0;
}
.category .category-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.category .category-description {
  color: var(--light-text);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.category .post-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color, #eee);
}
.category .post-item:last-child {
  border-bottom: none;
}
.category .post-item .post-title {
  margin: 0 0 0.5rem;
}
.category .post-item .post-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
}
.category .post-item .post-title a:hover {
  color: var(--secondary-color);
}
.category .post-item .post-meta {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.category .post-item .post-meta .categories {
  margin-left: 0.5rem;
}
.category .post-item .post-meta .categories a {
  color: var(--primary-color);
  text-decoration: none;
}
.category .post-item .post-meta .categories a:hover {
  color: var(--secondary-color);
}
.category .post-item .post-excerpt {
  color: var(--text-color);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}
.btn:hover, .btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:hover::before, .btn:focus::before {
  transform: translateX(100%);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-color);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--hover-color-light);
  color: var(--primary-color);
}

.btn-soft {
  background: var(--hover-color-light);
  color: var(--primary-color);
}
.btn-soft:hover, .btn-soft:focus {
  background: var(--hover-color);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-xl);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
}
.btn-group .btn {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.btn-group .btn:last-child {
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}
.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: white;
}
.btn-success:hover, .btn-success:focus {
  background-color: var(--success-color-dark);
  border-color: var(--success-color-dark);
}

.btn-warning {
  background-color: var(--warning-color);
  border-color: var(--warning-color);
  color: white;
}
.btn-warning:hover, .btn-warning:focus {
  background-color: var(--warning-color-dark);
  border-color: var(--warning-color-dark);
}

.btn-danger {
  background-color: var(--error-color);
  border-color: var(--error-color);
  color: white;
}
.btn-danger:hover, .btn-danger:focus {
  background-color: var(--error-color-dark);
  border-color: var(--error-color-dark);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon svg, .btn-icon i {
  margin-right: 0.5rem;
}
.btn-icon.icon-right svg, .btn-icon.icon-right i {
  margin-right: 0;
  margin-left: 0.5rem;
}

.btn.disabled, .btn:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.card {
  background: var(--card-background);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.card:hover::before {
  opacity: 0.03;
}

.card-img-top {
  width: 100%;
  border-radius: 0;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--text-color);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-text {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.card-footer {
  padding: 1.25rem 1.75rem;
  background: var(--background-alt);
  border-top: 1px solid var(--border-color);
}

.card-hover:hover {
  border-color: var(--primary-color);
}
.card-hover:hover .card-title {
  color: var(--primary-color);
}

.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted-text);
  font-size: 0.875rem;
  gap: 0.5rem;
}
.card-meta svg, .card-meta i {
  color: var(--primary-color);
  opacity: 0.8;
}

.card-horizontal {
  display: flex;
  flex-direction: row;
}
.card-horizontal .card-img {
  width: 35%;
  min-width: 35%;
  height: auto;
  object-fit: cover;
}
.card-horizontal .card-body {
  flex: 1;
}
@media (max-width: 768px) {
  .card-horizontal {
    flex-direction: column;
  }
  .card-horizontal .card-img {
    width: 100%;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}
.feature-card .feature-icon {
  margin: 0 auto 1.5rem;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hover-color);
  color: var(--primary-color);
  font-size: 2rem;
}

.card-overlay {
  position: relative;
}
.card-overlay .card-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.card-overlay .card-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}
.card-overlay .card-overlay-content .card-title {
  color: white;
  margin-bottom: 0.5rem;
}
.card-overlay .card-overlay-content .card-text {
  color: rgba(255, 255, 255, 0.8);
}

code {
  background: var(--code-background);
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--text-color);
}

pre {
  background: var(--code-background);
  padding: 0.75rem !important;
  border-radius: 4px !important;
  overflow-x: auto;
  margin: 1rem 0;
  border: none;
  box-shadow: none;
  line-height: 1.6;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  position: relative;
}
pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
}
pre .copy-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  color: var(--text-color);
}
pre .copy-button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
pre .copy-button.copied {
  background: var(--success-color);
  color: white;
  border-color: var(--success-color);
}
pre .copy-button.error {
  background: var(--error-color);
  color: white;
  border-color: var(--error-color);
}
pre:hover .copy-button {
  opacity: 1;
}

.highlight {
  background: transparent;
}
.highlight .c, .highlight .c1, .highlight .cm {
  color: var(--syntax-comment);
  font-style: italic;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr {
  color: var(--syntax-keyword);
  font-weight: bold;
}
.highlight .o, .highlight .ow {
  color: var(--syntax-operator);
}
.highlight .cp {
  color: var(--syntax-preprocessor);
  font-weight: bold;
}
.highlight .mi, .highlight .il {
  color: var(--syntax-number);
}
.highlight .s, .highlight .s1, .highlight .s2 {
  color: var(--syntax-string);
}
.highlight .na {
  color: var(--syntax-name);
}
.highlight .nb {
  color: var(--syntax-builtin);
}
.highlight .nc {
  color: var(--syntax-class);
  font-weight: bold;
}
.highlight .nf {
  color: var(--syntax-function);
}
.highlight .nt {
  color: var(--syntax-tag);
}
.highlight .nv {
  color: var(--syntax-variable);
}

@media (prefers-color-scheme: dark) {
  .copy-button {
    background-color: var(--card-background);
    border-color: var(--border-color);
    color: var(--text-color);
  }
  .copy-button:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  code {
    color: #d4d4d4;
    background-color: var(--code-background);
    border: 1px solid var(--border-color);
  }
  pre {
    background-color: var(--code-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  pre code {
    border: none;
  }
  .highlight {
    background: transparent;
  }
  .highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
    color: #6a9955;
    font-style: italic;
  }
  .highlight .cp {
    color: #569cd6;
    font-style: normal;
    font-weight: normal;
  }
  .highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
    color: #569cd6;
    font-weight: bold;
  }
  .highlight .o, .highlight .ow {
    color: #d4d4d4;
    font-weight: normal;
  }
  .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il {
    color: #b5cea8;
  }
  .highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx {
    color: #ce9178;
  }
  .highlight .sr {
    color: #d16969;
  }
  .highlight .ss {
    color: #ce9178;
  }
  .highlight .n {
    color: #d4d4d4;
  }
  .highlight .na {
    color: #9cdcfe;
  }
  .highlight .nb {
    color: #4ec9b0;
  }
  .highlight .bp {
    color: #569cd6;
  }
  .highlight .nc {
    color: #4ec9b0;
    font-weight: bold;
  }
  .highlight .no {
    color: #9cdcfe;
  }
  .highlight .nd {
    color: #d7ba7d;
  }
  .highlight .ni {
    color: #569cd6;
  }
  .highlight .ne {
    color: #569cd6;
    font-weight: bold;
  }
  .highlight .nf {
    color: #dcdcaa;
    font-weight: normal;
  }
  .highlight .nl {
    color: #9cdcfe;
  }
  .highlight .nn {
    color: #4ec9b0;
  }
  .highlight .nt {
    color: #569cd6;
  }
  .highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
    color: #9cdcfe;
  }
  .highlight .nx {
    color: #d4d4d4;
  }
  .highlight .w {
    color: #6a9955;
  }
}
body.dark-theme .copy-button {
  background-color: var(--card-background);
  border-color: var(--border-color);
  color: var(--text-color);
}
body.dark-theme .copy-button:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
body.dark-theme code {
  color: #d4d4d4;
  background-color: var(--code-background);
  border: 1px solid var(--border-color);
}
body.dark-theme pre {
  background-color: var(--code-background);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
body.dark-theme pre code {
  border: none;
}
body.dark-theme .highlight {
  background: transparent;
}
body.dark-theme .highlight .c, body.dark-theme .highlight .c1, body.dark-theme .highlight .cm, body.dark-theme .highlight .cs {
  color: #6a9955;
  font-style: italic;
}
body.dark-theme .highlight .cp {
  color: #569cd6;
  font-style: normal;
  font-weight: normal;
}
body.dark-theme .highlight .k, body.dark-theme .highlight .kd, body.dark-theme .highlight .kn, body.dark-theme .highlight .kp, body.dark-theme .highlight .kr, body.dark-theme .highlight .kt {
  color: #569cd6;
  font-weight: bold;
}
body.dark-theme .highlight .o, body.dark-theme .highlight .ow {
  color: #d4d4d4;
  font-weight: normal;
}
body.dark-theme .highlight .m, body.dark-theme .highlight .mf, body.dark-theme .highlight .mh, body.dark-theme .highlight .mi, body.dark-theme .highlight .mo, body.dark-theme .highlight .il {
  color: #b5cea8;
}
body.dark-theme .highlight .s, body.dark-theme .highlight .s1, body.dark-theme .highlight .s2, body.dark-theme .highlight .sb, body.dark-theme .highlight .sc, body.dark-theme .highlight .sd, body.dark-theme .highlight .se, body.dark-theme .highlight .sh, body.dark-theme .highlight .si, body.dark-theme .highlight .sx {
  color: #ce9178;
}
body.dark-theme .highlight .sr {
  color: #d16969;
}
body.dark-theme .highlight .ss {
  color: #ce9178;
}
body.dark-theme .highlight .n {
  color: #d4d4d4;
}
body.dark-theme .highlight .na {
  color: #9cdcfe;
}
body.dark-theme .highlight .nb {
  color: #4ec9b0;
}
body.dark-theme .highlight .bp {
  color: #569cd6;
}
body.dark-theme .highlight .nc {
  color: #4ec9b0;
  font-weight: bold;
}
body.dark-theme .highlight .no {
  color: #9cdcfe;
}
body.dark-theme .highlight .nd {
  color: #d7ba7d;
}
body.dark-theme .highlight .ni {
  color: #569cd6;
}
body.dark-theme .highlight .ne {
  color: #569cd6;
  font-weight: bold;
}
body.dark-theme .highlight .nf {
  color: #dcdcaa;
  font-weight: normal;
}
body.dark-theme .highlight .nl {
  color: #9cdcfe;
}
body.dark-theme .highlight .nn {
  color: #4ec9b0;
}
body.dark-theme .highlight .nt {
  color: #569cd6;
}
body.dark-theme .highlight .nv, body.dark-theme .highlight .vc, body.dark-theme .highlight .vg, body.dark-theme .highlight .vi {
  color: #9cdcfe;
}
body.dark-theme .highlight .nx {
  color: #d4d4d4;
}
body.dark-theme .highlight .w {
  color: #6a9955;
}

:root {
  --primary-color: #0553B1;
  --secondary-color: #0175C2;
  --secondary-color-light: #42A5F5;
  --text-color: #212121;
  --light-text: #424242;
  --background: #ffffff;
  --light-background: #fafafa;
  --hover-color-light: #e3f2fd;
  --success-color: #4caf50;
  --success-color-dark: #388e3c;
  --warning-color: #ff9800;
  --warning-color-dark: #f57c00;
  --error-color: #f44336;
  --error-color-dark: #d32f2f;
  --accent-color: #FFC107;
  --transition: all 0.3s ease;
}

.site-header {
  border-top: 5px solid var(--primary-color);
  border-bottom: 1px solid var(--light-text);
}

.site-title {
  color: var(--primary-color) !important;
  font-weight: 700;
}
.site-title:hover {
  text-decoration: none;
  color: var(--secondary-color) !important;
}

.highlight {
  background: transparent;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.highlight pre {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.highlight pre > code {
  background: transparent;
  padding: 0;
}
.highlight code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.9em;
}
.highlight .k {
  color: #0070c1;
  font-weight: bold;
}
.highlight .kt {
  color: #0070c1;
  font-weight: bold;
}
.highlight .nx {
  color: #000000;
}
.highlight .s {
  color: #d14;
}
.highlight .n {
  color: #000000;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .o {
  color: #000000;
  font-weight: bold;
}
.highlight .err {
  color: #a61717;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  color: #0070c1;
  font-weight: bold;
}
.highlight .kd {
  color: #0070c1;
  font-weight: bold;
}
.highlight .kp {
  color: #0070c1;
  font-weight: bold;
}
.highlight .kr {
  color: #0070c1;
  font-weight: bold;
}
.highlight .kt {
  color: #0070c1;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}
.highlight .lineno {
  color: #999;
  display: inline-block;
  padding: 0 5px;
  border-right: 1px solid #ccc;
  margin-right: 10px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media (prefers-color-scheme: dark) {
  .highlight {
    background: transparent;
  }
  .highlight pre > code {
    color: #d4d4d4;
  }
  .highlight .c, .highlight .cm, .highlight .c1, .highlight .cs {
    color: #6a9955;
    font-style: italic;
  }
  .highlight .cp {
    color: #569cd6;
    font-style: normal;
    font-weight: normal;
  }
  .highlight .k, .highlight .kc, .highlight .kd, .highlight .kp, .highlight .kr, .highlight .kt {
    color: #569cd6;
    font-weight: bold;
  }
  .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .s1 {
    color: #ce9178;
  }
  .highlight .sr {
    color: #d16969;
  }
  .highlight .ss {
    color: #ce9178;
  }
  .highlight .n {
    color: #d4d4d4;
  }
  .highlight .na {
    color: #9cdcfe;
  }
  .highlight .nb {
    color: #4ec9b0;
  }
  .highlight .bp {
    color: #569cd6;
  }
  .highlight .nc {
    color: #4ec9b0;
    font-weight: bold;
  }
  .highlight .no {
    color: #9cdcfe;
  }
  .highlight .nd {
    color: #d7ba7d;
  }
  .highlight .ni {
    color: #569cd6;
  }
  .highlight .ne {
    color: #569cd6;
    font-weight: bold;
  }
  .highlight .nf {
    color: #dcdcaa;
    font-weight: normal;
  }
  .highlight .nl {
    color: #9cdcfe;
  }
  .highlight .nn {
    color: #4ec9b0;
  }
  .highlight .nt {
    color: #569cd6;
  }
  .highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
    color: #9cdcfe;
  }
  .highlight .nx {
    color: #d4d4d4;
  }
  .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il {
    color: #b5cea8;
  }
  .highlight .o, .highlight .ow {
    color: #d4d4d4;
    font-weight: normal;
  }
  .highlight .gd {
    color: #f14c4c;
    background-color: rgba(255, 0, 0, 0.1);
  }
  .highlight .gi {
    color: #4ec9b0;
    background-color: rgba(0, 255, 0, 0.1);
  }
  .highlight .gh {
    color: #4ec9b0;
    font-weight: bold;
  }
  .highlight .gu {
    color: #9cdcfe;
  }
  .highlight .gs {
    font-weight: bold;
  }
  .highlight .gr {
    color: #f14c4c;
  }
  .highlight .gt {
    color: #f14c4c;
  }
  .highlight .w {
    color: #6a9955;
  }
  .highlight .lineno {
    color: #6a9955;
    border-right-color: #2d333b;
  }
}

body.dark-theme .highlight {
  background: transparent;
}
body.dark-theme .highlight pre > code {
  color: #d4d4d4;
}
body.dark-theme .highlight .c, body.dark-theme .highlight .cm, body.dark-theme .highlight .c1, body.dark-theme .highlight .cs {
  color: #6a9955;
  font-style: italic;
}
body.dark-theme .highlight .cp {
  color: #569cd6;
  font-style: normal;
  font-weight: normal;
}
body.dark-theme .highlight .k, body.dark-theme .highlight .kc, body.dark-theme .highlight .kd, body.dark-theme .highlight .kp, body.dark-theme .highlight .kr, body.dark-theme .highlight .kt {
  color: #569cd6;
  font-weight: bold;
}
body.dark-theme .highlight .s, body.dark-theme .highlight .sb, body.dark-theme .highlight .sc, body.dark-theme .highlight .sd, body.dark-theme .highlight .s2, body.dark-theme .highlight .se, body.dark-theme .highlight .sh, body.dark-theme .highlight .si, body.dark-theme .highlight .sx, body.dark-theme .highlight .s1 {
  color: #ce9178;
}
body.dark-theme .highlight .sr {
  color: #d16969;
}
body.dark-theme .highlight .ss {
  color: #ce9178;
}
body.dark-theme .highlight .n {
  color: #d4d4d4;
}
body.dark-theme .highlight .na {
  color: #9cdcfe;
}
body.dark-theme .highlight .nb {
  color: #4ec9b0;
}
body.dark-theme .highlight .bp {
  color: #569cd6;
}
body.dark-theme .highlight .nc {
  color: #4ec9b0;
  font-weight: bold;
}
body.dark-theme .highlight .no {
  color: #9cdcfe;
}
body.dark-theme .highlight .nd {
  color: #d7ba7d;
}
body.dark-theme .highlight .ni {
  color: #569cd6;
}
body.dark-theme .highlight .ne {
  color: #569cd6;
  font-weight: bold;
}
body.dark-theme .highlight .nf {
  color: #dcdcaa;
  font-weight: normal;
}
body.dark-theme .highlight .nl {
  color: #9cdcfe;
}
body.dark-theme .highlight .nn {
  color: #4ec9b0;
}
body.dark-theme .highlight .nt {
  color: #569cd6;
}
body.dark-theme .highlight .nv, body.dark-theme .highlight .vc, body.dark-theme .highlight .vg, body.dark-theme .highlight .vi {
  color: #9cdcfe;
}
body.dark-theme .highlight .nx {
  color: #d4d4d4;
}
body.dark-theme .highlight .m, body.dark-theme .highlight .mf, body.dark-theme .highlight .mh, body.dark-theme .highlight .mi, body.dark-theme .highlight .mo, body.dark-theme .highlight .il {
  color: #b5cea8;
}
body.dark-theme .highlight .o, body.dark-theme .highlight .ow {
  color: #d4d4d4;
  font-weight: normal;
}
body.dark-theme .highlight .gd {
  color: #f14c4c;
  background-color: rgba(255, 0, 0, 0.1);
}
body.dark-theme .highlight .gi {
  color: #4ec9b0;
  background-color: rgba(0, 255, 0, 0.1);
}
body.dark-theme .highlight .gh {
  color: #4ec9b0;
  font-weight: bold;
}
body.dark-theme .highlight .gu {
  color: #9cdcfe;
}
body.dark-theme .highlight .gs {
  font-weight: bold;
}
body.dark-theme .highlight .gr {
  color: #f14c4c;
}
body.dark-theme .highlight .gt {
  color: #f14c4c;
}
body.dark-theme .highlight .w {
  color: #6a9955;
}
body.dark-theme .highlight .lineno {
  color: #6a9955;
  border-right-color: #2d333b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #c561f6;
    --primary-color-light: #d98ef9;
    --primary-color-dark: #7611a6;
    --secondary-color: #9d27b0;
    --secondary-color-light: #ba68c8;
    --secondary-color-dark: #7611a6;
    --gradient-primary: linear-gradient(135deg, #c561f6 0%, #9d27b0 50%, #7611a6 100%);
    --gradient-accent: linear-gradient(135deg, #c561f6 0%, #7611a6 100%);
    --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --text-color: #f1f5f9;
    --text-secondary: #e2e8f0;
    --light-text: #94a3b8;
    --muted-text: #64748b;
    --background-color: #0f172a;
    --background-alt: #1e293b;
    --background: #0f172a;
    --card-background: #1e293b;
    --light-background: #1e293b;
    --border-color: #334155;
    --border-color-light: #1e293b;
    --divider-color: #334155;
    --hover-color: #3b0764;
    --hover-color-light: #2e1065;
    --hover-color-dark: #581c87;
    --code-background: #1e293b;
    --code-text: #d98ef9;
    --blockquote-background: #2e1065;
    --blockquote-border: #c561f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(197, 97, 246, 0.15);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.35);
    --glass-background: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(51, 65, 85, 0.5);
    --success-color: #34d399;
    --success-color-dark: #10b981;
    --warning-color: #fbbf24;
    --warning-color-dark: #f59e0b;
    --error-color: #f87171;
    --error-color-dark: #ef4444;
    --accent-color: #fbbf24;
    --transition: all 0.3s ease;
  }
  body {
    color: var(--text-color);
    background-color: var(--background-color);
  }
  .site-header {
    background: var(--glass-background);
    border-bottom-color: var(--border-color);
  }
  .post-list li {
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
  }
  .post-list .post-link {
    color: var(--text-color);
  }
  .post-content pre, .post-content code {
    background-color: var(--code-background) !important;
    border-color: var(--border-color);
  }
  .post-content pre {
    box-shadow: var(--shadow-md);
  }
  .post-content blockquote {
    background-color: var(--blockquote-background);
    border-left-color: var(--blockquote-border);
  }
  .post-content p > code, .post-content li > code, .post-content h2 > code, .post-content h3 > code, .post-content h4 > code {
    color: var(--code-text);
    border: 1px solid var(--border-color);
    background-color: var(--code-background);
  }
  .site-footer {
    background-color: var(--card-background);
  }
  .highlight {
    background: var(--code-background);
  }
  .toc-container,
  .post-taxonomy,
  .post-share-container {
    background-color: var(--card-background);
  }
  #toc a {
    color: var(--light-text);
  }
  #toc a:hover, #toc a.active {
    color: var(--primary-color);
  }
  .post-navigation-links a {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
  }
  .post-navigation-links a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
  }
  .related-post-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
  }
  .post-card,
  .card,
  .category-card {
    border-color: var(--border-color);
  }
  .post-card:hover,
  .card:hover,
  .category-card:hover {
    box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  }
  .related-post-title {
    color: var(--text-color);
  }
  .post-description {
    border-left-color: var(--primary-color);
  }
  .share-button {
    background-color: var(--card-background);
    color: var(--text-color);
  }
  .share-button:hover {
    background-color: var(--primary-color);
    color: white;
  }
}
body.dark-theme {
  --primary-color: #4f9ef7;
  --secondary-color: #357ae8;
  --secondary-color-light: #64b5f6;
  --text-color: #e0e0e0;
  --light-text: #c0c0c0;
  --background-color: #0d1117;
  --background: #0d1117;
  --card-background: #19212c;
  --light-background: #19212c;
  --border-color: #2d333b;
  --hover-color: #1e40af;
  --hover-color-light: #1e293b;
  --code-background: #161b22;
  --blockquote-background: #161b22;
  --muted-text: #a0a0a0;
  --blockquote-border: #444;
  --success-color: #66bb6a;
  --success-color-dark: #43a047;
  --warning-color: #ffa726;
  --warning-color-dark: #fb8c00;
  --error-color: #ef5350;
  --error-color-dark: #e53935;
  --accent-color: #ffc107;
  --transition: all 0.3s ease;
  color: var(--text-color);
  background-color: var(--background-color);
}
body.dark-theme .site-header {
  background-color: #1e293b;
  border-bottom-color: var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.dark-theme .post-list li {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-color: #2d333b;
}
body.dark-theme .post-list .post-link {
  color: #ffffff;
}
body.dark-theme .post-content pre, body.dark-theme .post-content code {
  background-color: var(--code-background) !important;
  border-color: var(--border-color);
}
body.dark-theme .post-content pre {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
body.dark-theme .post-content blockquote {
  background-color: var(--blockquote-background);
}
body.dark-theme .post-content p > code, body.dark-theme .post-content li > code, body.dark-theme .post-content h2 > code, body.dark-theme .post-content h3 > code, body.dark-theme .post-content h4 > code {
  color: #d4d4d4;
  border: 1px solid var(--border-color);
  background-color: var(--code-background);
}
body.dark-theme .site-footer {
  background-color: var(--card-background);
}
body.dark-theme .highlight {
  background: #0d1117;
}
body.dark-theme .toc-container,
body.dark-theme .post-taxonomy,
body.dark-theme .post-share-container {
  background-color: var(--card-background);
}
body.dark-theme #toc a {
  color: var(--text-color);
}
body.dark-theme .post-navigation-links a {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}
body.dark-theme .related-post-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}
body.dark-theme .related-post-title {
  color: var(--text-color);
}
body.dark-theme .post-description {
  border-left-color: var(--primary-color);
}
body.dark-theme .share-button {
  background-color: var(--card-background);
  color: var(--text-color);
}
body.dark-theme .share-button:hover {
  background-color: var(--primary-color);
  color: white;
}

body.light-theme {
  --primary-color: #0553B1;
  --secondary-color: #0175C2;
  --secondary-color-light: #42A5F5;
  --text-color: #212121;
  --light-text: #424242;
  --background-color: #ffffff;
  --background: #ffffff;
  --card-background: #ffffff;
  --light-background: #fafafa;
  --border-color: #e0e0e0;
  --hover-color: #0553B1;
  --hover-color-light: #e3f2fd;
  --code-background: #f5f5f5;
  --blockquote-background: #f5f5f5;
  --muted-text: #757575;
  --blockquote-border: #ddd;
  --success-color: #4caf50;
  --success-color-dark: #388e3c;
  --warning-color: #ff9800;
  --warning-color-dark: #f57c00;
  --error-color: #f44336;
  --error-color-dark: #d32f2f;
  --accent-color: #FFC107;
  --transition: all 0.3s ease;
  color: var(--text-color);
  background-color: var(--background-color);
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
}

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