@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");
:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --max-width: 1200px;
  --content-width: 720px;
}

[data-theme=dark] {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #1c2128;
  --bg-code: #000000;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-heading: #f0f6fc;
  --accent-primary: #7dd3fc;
  --accent-secondary: #a5f3fc;
  --accent-warm: #d4a574;
  --border-color: #30363d;
  --border-hover: #484f58;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

[data-theme=light] {
  --bg-primary: #fafbfc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f6f8fa;
  --bg-code: #f6f8fa;
  --text-primary: #24292f;
  --text-secondary: #57606a;
  --text-heading: #1a1f26;
  --accent-primary: #0969da;
  --accent-secondary: #218bff;
  --accent-warm: #9a6700;
  --border-color: #d1d9e0;
  --border-hover: #afb8c1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  transition: color var(--transition-speed) ease;
}

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

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}
a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-secondary);
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(var(--bg-secondary), 0.9);
  transition: all var(--transition-speed) ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-title:hover {
  color: var(--accent-primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width var(--transition-speed) ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: var(--text-heading);
}

.theme-toggle {
  background: none;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all var(--transition-speed) ease;
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
}

.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.post-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.post-card-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem 0;
  color: var(--text-heading);
}

.post-card-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent-primary);
}

.post-card-link:hover {
  gap: 0.75rem;
}

.featured-section {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 4rem 0;
}

.featured-section h2 {
  color: var(--accent-warm);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.featured-section h2::before {
  content: "✦";
  font-size: 1.5rem;
}

code {
  font-family: var(--font-mono);
  background-color: var(--bg-tertiary);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-primary);
}

pre {
  background-color: var(--bg-code);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.highlight {
  background-color: var(--bg-code) !important;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.highlight pre {
  margin: 0;
  border: none;
  box-shadow: none;
}

blockquote {
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.page-content {
  flex: 1;
  padding: 4rem 0;
  min-height: 60vh;
}

.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.post-meta {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background-color: var(--bg-tertiary);
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
}

.social-links a:hover svg {
  fill: var(--bg-primary);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
.about-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 4rem 0;
}

.about-header {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: var(--border-radius-lg);
  margin-bottom: 3rem;
}

.about-header h1 {
  margin-top: 0;
}

.about-section {
  margin-bottom: 4rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.skill-category {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.skill-category:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.skill-category h3 {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 4rem 0;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
}

.pagination a:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

.pagination .current {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

.blog-page, .tutorials-page {
  padding: 4rem 0;
}

.page-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.posts-list {
  max-width: var(--content-width);
  margin: 0 auto;
}

.post-preview {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.post-preview:last-child {
  border-bottom: none;
}

.post-preview h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.post-preview time {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.post-preview .categories {
  margin: 0.5rem 0;
}

.post-preview .category {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  margin-right: 0.5rem;
  font-family: var(--font-mono);
}

.read-more {
  color: var(--accent-primary);
  font-weight: 500;
}

.tutorials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tutorial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all var(--transition-speed) ease;
}

.tutorial-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.difficulty {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.difficulty-beginner {
  background: #10b981;
  color: white;
}

.difficulty-intermediate {
  background: #f59e0b;
  color: white;
}

.difficulty-advanced {
  background: #ef4444;
  color: white;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  margin-right: 0.5rem;
  font-family: var(--font-mono);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tech-item {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
}

.tech-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.tech-item h3 {
  color: var(--accent-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.tech-item p {
  color: var(--text-secondary);
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
}

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

.coming-soon {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
}

.coming-soon ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.coming-soon li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

[data-theme=dark] .highlight .hll {
  background-color: #49483e;
}

[data-theme=dark] .highlight .c {
  color: #75715e;
}

[data-theme=dark] .highlight .err {
  color: #960050;
  background-color: #1e0010;
}

[data-theme=dark] .highlight .k {
  color: #66d9ef;
}

[data-theme=dark] .highlight .l {
  color: #ae81ff;
}

[data-theme=dark] .highlight .n {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .o {
  color: #f92672;
}

[data-theme=dark] .highlight .p {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .cm {
  color: #75715e;
}

[data-theme=dark] .highlight .cp {
  color: #75715e;
}

[data-theme=dark] .highlight .c1 {
  color: #75715e;
}

[data-theme=dark] .highlight .cs {
  color: #75715e;
}

[data-theme=dark] .highlight .ge {
  font-style: italic;
}

[data-theme=dark] .highlight .gs {
  font-weight: bold;
}

[data-theme=dark] .highlight .kc {
  color: #66d9ef;
}

[data-theme=dark] .highlight .kd {
  color: #66d9ef;
}

[data-theme=dark] .highlight .kn {
  color: #f92672;
}

[data-theme=dark] .highlight .kp {
  color: #66d9ef;
}

[data-theme=dark] .highlight .kr {
  color: #66d9ef;
}

[data-theme=dark] .highlight .kt {
  color: #66d9ef;
}

[data-theme=dark] .highlight .ld {
  color: #e6db74;
}

[data-theme=dark] .highlight .m {
  color: #ae81ff;
}

[data-theme=dark] .highlight .s {
  color: #e6db74;
}

[data-theme=dark] .highlight .na {
  color: #a6e22e;
}

[data-theme=dark] .highlight .nb {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .nc {
  color: #a6e22e;
}

[data-theme=dark] .highlight .no {
  color: #66d9ef;
}

[data-theme=dark] .highlight .nd {
  color: #a6e22e;
}

[data-theme=dark] .highlight .ni {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .ne {
  color: #a6e22e;
}

[data-theme=dark] .highlight .nf {
  color: #a6e22e;
}

[data-theme=dark] .highlight .nl {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .nn {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .nx {
  color: #a6e22e;
}

[data-theme=dark] .highlight .py {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .nt {
  color: #f92672;
}

[data-theme=dark] .highlight .nv {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .ow {
  color: #f92672;
}

[data-theme=dark] .highlight .w {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .mf {
  color: #ae81ff;
}

[data-theme=dark] .highlight .mh {
  color: #ae81ff;
}

[data-theme=dark] .highlight .mi {
  color: #ae81ff;
}

[data-theme=dark] .highlight .mo {
  color: #ae81ff;
}

[data-theme=dark] .highlight .sb {
  color: #e6db74;
}

[data-theme=dark] .highlight .sc {
  color: #e6db74;
}

[data-theme=dark] .highlight .sd {
  color: #e6db74;
}

[data-theme=dark] .highlight .s2 {
  color: #e6db74;
}

[data-theme=dark] .highlight .se {
  color: #ae81ff;
}

[data-theme=dark] .highlight .sh {
  color: #e6db74;
}

[data-theme=dark] .highlight .si {
  color: #e6db74;
}

[data-theme=dark] .highlight .sx {
  color: #e6db74;
}

[data-theme=dark] .highlight .sr {
  color: #e6db74;
}

[data-theme=dark] .highlight .s1 {
  color: #e6db74;
}

[data-theme=dark] .highlight .ss {
  color: #e6db74;
}

[data-theme=dark] .highlight .bp {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .vc {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .vg {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .vi {
  color: #f8f8f2;
}

[data-theme=dark] .highlight .il {
  color: #ae81ff;
}

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