/**
 * 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
 */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font: 400 17px/1.6 "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #2c3e50;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(127, 140, 141, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 140, 141, 0.8);
}

/**
 * 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. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

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

figcaption {
  font-size: 14.875px;
}

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

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

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #3498db;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:visited {
  color: #3498db;
}
a:hover {
  color: rgb(25.4560669456, 96.1673640167, 143.5439330544);
  text-decoration: none;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #7f8c8d;
  border-left: 4px solid #3498db;
  padding-left: 16px;
  background: rgba(52, 152, 219, 0.05);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  font-size: 19.125px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15.9375px;
  border: 1px solid rgba(234.9008264463, 236.9421487603, 237.0991735537, 0.5);
  border-radius: 6px;
  background-color: #f8f9fa;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

code {
  padding: 2px 6px;
}

pre {
  padding: 12px 16px;
  overflow-x: auto;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.02);
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
  background-color: transparent;
}

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

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

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

/**
 * Tables
 */
table {
  margin-bottom: 32px;
  width: 100%;
  text-align: left;
  color: rgb(76.5741935484, 107.9, 139.2258064516);
  border-collapse: collapse;
  border: 1px solid rgb(234.9008264463, 236.9421487603, 237.0991735537);
}
table tr:nth-child(even) {
  background-color: rgb(251.0859504132, 251.4834710744, 251.5140495868);
}
table th, table td {
  padding: 10.6666666656px 16px;
}
table th {
  background-color: rgb(242.9933884298, 244.2128099174, 244.3066115702);
  border: 1px solid rgb(224.1107438017, 227.2479338843, 227.4892561983);
  border-bottom-color: rgb(202.5305785124, 207.8595041322, 208.2694214876);
}
table td {
  border: 1px solid rgb(234.9008264463, 236.9421487603, 237.0991735537);
}

:root {
  --hero-overlay: rgba(255, 255, 255, 0.85);
}

/**
 * Site header
 */
.site-header {
  border-bottom: 1px solid rgba(234.9008264463, 236.9421487603, 237.0991735537, 0.5);
  min-height: 59.68px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.header-wrapper {
  margin-right: auto;
  margin-left: auto;
  padding-right: 32px;
  padding-left: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.site-title {
  font-size: 25.5px;
  font-weight: 700;
  line-height: 61.2px;
  letter-spacing: -0.5px;
  margin-bottom: 0;
  float: left;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  height: 59.68px;
}
.site-title .site-favicon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 4px;
}
.site-title, .site-title:visited {
  color: #2c3e50;
}
.site-title:hover {
  color: #3498db;
  text-decoration: none;
}

.site-categories {
  float: left;
  line-height: 61.2px;
  margin-left: 30px;
  display: flex;
  align-items: center;
  height: 59.68px;
}
.site-categories .page-link {
  color: var(--text-color, #2c3e50);
  margin-right: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
}
.site-categories .page-link:visited {
  color: var(--text-color, #2c3e50);
}
.site-categories .page-link:hover {
  color: var(--link-color, #3498db);
  background-color: rgba(0, 0, 0, 0.05);
}
@media screen and (max-width: 600px) {
  .site-categories {
    display: none;
  }
}

.site-nav {
  float: right;
  line-height: 61.2px;
  display: flex;
  align-items: center;
  height: 59.68px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .trigger {
  display: flex;
  align-items: center;
}
.site-nav .nav-content {
  display: flex;
  align-items: center;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: var(--text-color, #2c3e50);
  line-height: 1.5;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 600;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 5px;
}
.site-nav .page-link:hover {
  color: var(--link-color, #3498db);
  background-color: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.site-nav .mobile-categories {
  display: none;
}
@media screen and (max-width: 600px) {
  .site-nav .mobile-categories {
    display: block;
    border-top: 1px solid rgb(234.9008264463, 236.9421487603, 237.0991735537);
    margin-top: 5px;
    padding-top: 5px;
  }
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: static;
    display: block;
  }
  .site-nav .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    backdrop-filter: blur(2px);
  }
  .site-nav input:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  .site-nav .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    z-index: 10001;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 15px;
    border-radius: 4px;
  }
  .site-nav .menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  .site-nav .menu-icon {
    display: block;
    width: 18px;
    height: 15px;
    line-height: 0;
  }
  .site-nav .menu-icon > svg {
    fill: var(--text-color, rgb(66.1859504132, 73.7334710744, 74.3140495868));
  }
  .site-nav input ~ .trigger {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    background-color: var(--bg-color, #ffffff);
    border-left: 1px solid var(--border-color, rgb(234.9008264463, 236.9421487603, 237.0991735537));
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 60px 0 0 0;
    text-align: left;
    overflow: hidden;
    clear: both;
    box-sizing: border-box;
    height: 100dvh;
  }
  html:has(#nav-trigger:checked),
  body:has(#nav-trigger:checked) {
    overflow: hidden;
    overscroll-behavior: none;
  }
  .site-nav .nav-content {
    display: block;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 20px 0;
    width: 100%;
  }
  .site-nav input:checked ~ .trigger {
    transform: translateX(0);
  }
  .site-nav .page-link {
    display: block;
    margin-left: 0;
    padding: 12px 20px;
    border-radius: 0px;
    border-bottom: 1px solid var(--border-color, rgb(234.9008264463, 236.9421487603, 237.0991735537));
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
  .site-nav .page-link:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0px;
  }
  .site-nav .mobile-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .site-nav .mobile-categories .page-link {
    width: 100%;
    right: 0;
    display: flex;
    border-radius: 0px;
    margin: 0;
    font-size: 1em;
    color: var(--text-color, #2c3e50);
    background-color: transparent;
    box-sizing: border-box;
  }
  .site-nav .mobile-categories .page-link:before {
    display: none;
  }
  .site-nav .mobile-categories .page-link:hover {
    background-color: rgba(0, 0, 0, 0.03);
    text-decoration: none;
  }
  .site-nav .theme-toggle {
    width: 100%;
    border-radius: 0;
    margin: 0;
    padding: 12px 20px;
    justify-content: flex-start;
    border-bottom: none;
    border-top: 1px solid var(--border-color, rgb(234.9008264463, 236.9421487603, 237.0991735537));
    transition: none;
    flex-shrink: 0;
  }
  .site-nav .theme-toggle:hover {
    background-color: var(--hover-bg, rgba(0, 0, 0, 0.03));
    transform: none !important;
    border-radius: 0 !important;
  }
  .site-nav .theme-toggle .theme-toggle-text {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    color: var(--text-color, #2c3e50);
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid var(--border-color, rgb(234.9008264463, 236.9421487603, 237.0991735537));
  padding: 16px 0;
  background-color: var(--bg-color-secondary, #fdfdfd);
  color: var(--text-color, #2c3e50);
  margin-top: auto;
}
@media screen and (max-width: 600px) {
  .site-footer {
    padding-bottom: 8px;
  }
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 32px;
}
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 16px;
  }
}

.footer-branding .footer-heading {
  font-size: 21.25px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-color, #2c3e50);
}
.footer-branding .footer-description {
  font-size: 16.15px;
  color: var(--text-color-secondary, #7f8c8d);
}
@media screen and (max-width: 600px) {
  .footer-branding {
    margin-bottom: 16px;
  }
}

.footer-social {
  flex: 0 1 auto;
}
.footer-social .social-media-list {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social .social-media-list li {
  margin: 0;
}
.footer-social .social-media-list li a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text-color, #2c3e50);
  transition: color 0.2s ease;
}
.footer-social .social-media-list li a:hover {
  color: var(--link-color, #3498db);
}
.footer-social .social-media-list li a:hover .svg-icon {
  fill: var(--link-color, #3498db);
}
.footer-social .social-media-list li a .svg-icon {
  fill: var(--text-color, #7f8c8d);
  transition: fill 0.2s ease;
}

.footer-bottom {
  border-top: 1px solid var(--border-color, rgb(234.9008264463, 236.9421487603, 237.0991735537));
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14.875px;
  color: var(--text-color-secondary, #7f8c8d);
}
.footer-bottom p {
  margin: 0;
}
@media screen and (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/**
 * Page content
 */
.page-content {
  padding: 16px 0;
  flex: 1;
}

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

.post-list-heading {
  font-size: 29.75px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.hero-section {
  text-align: center;
  padding: 192px 0;
  margin-bottom: 32px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -32px;
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url("https://galgame-cg.vercel.app/api/random-image");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.hero-section .page-heading {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(120deg, #3498db, rgb(138.6359832636, 195.9581589958, 234.3640167364));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section .site-description {
  font-size: 1.25rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
}

.post-list {
  margin-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  align-items: stretch;
}
.post-list > li {
  margin-bottom: 32px;
  padding: 38.4px;
  border-radius: 16px;
  background: var(--card-bg, #ffffff);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}
@supports (display: grid) {
  .post-list > li {
    margin-bottom: 0;
  }
}
.post-list > li:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  border-color: var(--link-color, #3498db);
  z-index: 2;
}
.post-list > li:hover .read-more {
  background-color: var(--link-color, #3498db);
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-card-header {
  margin-bottom: 24px;
}
.post-card-header h3 {
  margin: 0;
  line-height: 1.3;
}

.post-link {
  display: block;
  font-size: 25.5px;
  font-weight: 700;
  color: var(--text-color, #2c3e50);
  text-decoration: none;
  transition: color 0.2s ease;
}
.post-link:hover {
  color: var(--link-color, #3498db);
  text-decoration: none;
}

.post-meta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color-secondary, #7f8c8d);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.post-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--link-color, #3498db);
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.post-tag:hover {
  background-color: var(--link-color, #3498db);
  color: #fff;
  text-decoration: none;
}

.post-excerpt {
  flex-grow: 1;
  margin-bottom: 32px;
  color: var(--text-color, #2c3e50);
  opacity: 0.85;
  line-height: 1.6;
  font-size: 1rem;
}
.post-excerpt p {
  margin-bottom: 0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-top: auto;
  color: var(--link-color, #3498db);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 20px;
  padding: 8px 0;
  width: fit-content;
}
.read-more:hover {
  text-decoration: none;
}

.category-page .post-list {
  grid-template-columns: 1fr;
  gap: 32px;
}
.category-page .post-list > li {
  padding: 25.6px;
  height: 180px;
  min-height: unset;
}
@supports (display: grid) {
  .category-page .post-list > li {
    margin-bottom: 0;
  }
}
.category-page .post-list > li .post-card-header {
  display: block;
  margin-bottom: 8px;
  padding-right: 120px;
}
.category-page .post-list > li .post-card-header h3 {
  margin: 0;
  font-size: 23.375px;
  text-align: left;
}
.category-page .post-list > li .post-card-header .post-meta {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  font-size: 0.85rem;
}
.category-page .post-list > li .post-excerpt {
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.category-page .post-list > li .read-more {
  margin-top: 0;
  font-size: 0.9em;
}

.post-card-header {
  margin-bottom: 16px;
}

.post-excerpt {
  flex-grow: 1;
  margin-bottom: 32px;
  color: #2c3e50;
  opacity: 0.8;
}
.post-excerpt p {
  margin-bottom: 0;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  margin-top: auto;
  color: #3498db;
}
.read-more:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 14.875px;
  color: #7f8c8d;
}

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

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

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

.post-content {
  margin-bottom: 32px;
}
.post-content h2 {
  font-size: 34px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 29.75px;
  }
}
.post-content h3 {
  font-size: 27.625px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 23.375px;
  }
}
.post-content h4 {
  font-size: 21.25px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 19.125px;
  }
}

/**
 * Pagination
 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
  font-weight: 600;
}
.pagination a {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.pagination a:hover {
  background-color: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
}
.pagination .disabled {
  color: var(--grey-color);
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination .page_number {
  color: var(--text-color-secondary);
  font-size: 0.9em;
}

/**
 * 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;
}

[data-theme=dark] {
  --bg-color: #121212;
  --bg-color-secondary: #1a1a1a;
  --card-bg: #1e1e1e;
  --text-color: #e0e0e0;
  --text-color-secondary: #a0a0a0;
  --link-color: #64b5f6;
  --visited-link-color: #ce93d8;
  --code-bg: #252525;
  --border-color: #333;
  --header-bg: rgba(18, 18, 18, 0.95);
  --hero-overlay: rgba(18, 18, 18, 0.8);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --hover-bg: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}
[data-theme=dark] .site-header {
  background-color: transparent;
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 10px var(--shadow-color);
}
[data-theme=dark] .site-header::before {
  background-color: var(--header-bg);
}
[data-theme=dark] .post-list > li {
  background-color: var(--card-bg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-color: var(--border-color);
}
[data-theme=dark] .post-list > li:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  border-color: var(--link-color);
}
[data-theme=dark] blockquote {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--link-color);
  color: #bbb;
}
[data-theme=dark] a {
  color: var(--link-color);
}
[data-theme=dark] a:visited {
  color: var(--link-color);
}
[data-theme=dark] a:hover {
  color: rgb(148.2012195122, 204.012195122, 248.7987804878);
}
[data-theme=dark] .site-title {
  color: var(--text-color);
}
[data-theme=dark] .site-title:visited {
  color: var(--text-color);
}
[data-theme=dark] .site-title:hover {
  color: var(--link-color);
}
[data-theme=dark] .site-categories .page-link {
  color: var(--text-color);
}
[data-theme=dark] .site-categories .page-link:visited {
  color: var(--text-color);
}
[data-theme=dark] .site-categories .page-link:hover {
  color: var(--link-color);
  background-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .site-nav .page-link {
  color: var(--text-color);
}
[data-theme=dark] .site-nav .page-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .site-nav label[for=nav-trigger]:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .site-nav .menu-icon > svg {
  fill: var(--text-color);
}
[data-theme=dark] .post-meta {
  color: #a0a0a0;
}
[data-theme=dark] .post-tag {
  background-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .post-tag:hover {
  background-color: var(--link-color);
  color: #121212;
}
[data-theme=dark] .post-content h1, [data-theme=dark] .post-content h2, [data-theme=dark] .post-content h3, [data-theme=dark] .post-content h4, [data-theme=dark] .post-content h5, [data-theme=dark] .post-content h6, [data-theme=dark] .post-excerpt h1, [data-theme=dark] .post-excerpt h2, [data-theme=dark] .post-excerpt h3, [data-theme=dark] .post-excerpt h4, [data-theme=dark] .post-excerpt h5, [data-theme=dark] .post-excerpt h6 {
  color: var(--text-color);
}
[data-theme=dark] table th, [data-theme=dark] table td {
  border-color: var(--border-color);
}
[data-theme=dark] pre, [data-theme=dark] code {
  background-color: var(--code-bg);
  border-color: var(--border-color);
}
[data-theme=dark] .highlighter-rouge .highlight {
  background-color: var(--code-bg);
}
[data-theme=dark] .theme-toggle {
  color: var(--text-color);
}
[data-theme=dark] .theme-toggle:hover {
  background-color: var(--hover-bg);
  border-radius: 50%;
}
[data-theme=dark] .theme-toggle .icon-sun {
  display: block;
}
[data-theme=dark] .theme-toggle .icon-moon {
  display: none;
}
[data-theme=dark] .post-excerpt {
  color: #bbb;
}
[data-theme=dark] .read-more {
  color: var(--link-color);
}
[data-theme=dark] .hero-section .page-heading {
  background: linear-gradient(120deg, #64b5f6, #ce93d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-toggle {
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
  margin-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
}
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
.theme-toggle .theme-toggle-text {
  display: none;
}

.category-section {
  margin-bottom: 64px;
}

.category-title {
  font-size: 34px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgb(234.9008264463, 236.9421487603, 237.0991735537);
}
.category-title .category-count {
  font-size: 0.6em;
  color: #7f8c8d;
  vertical-align: middle;
  margin-left: 10px;
}

[data-theme=dark] .category-title {
  border-bottom-color: var(--border-color);
}

.post-layout {
  position: relative;
}

.post-sidebar {
  display: none;
  width: 200px;
  position: fixed;
  left: calc(50% - 860px / 2 - 200px - 30px);
  top: 120px;
  bottom: 40px;
  z-index: 10;
}
@media screen and (min-width: 1350px) {
  .post-sidebar {
    display: block;
  }
}
.post-sidebar .toc-container {
  max-height: 100%;
  overflow-y: auto;
  padding-right: 10px;
  /* Scrollbar styling */
}
.post-sidebar .toc-container::-webkit-scrollbar {
  width: 4px;
}
.post-sidebar .toc-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.toc {
  font-size: 0.9rem;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc ul ul {
  padding-left: 15px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.toc li {
  margin-bottom: 8px;
  line-height: 1.4;
}
.toc li a {
  text-decoration: none;
  color: var(--text-color-secondary, #828282);
  transition: all 0.2s ease;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 12px;
}
.toc li a:hover {
  color: var(--link-color, #2a7ae2);
}
.toc li a.active {
  color: var(--link-color, #2a7ae2);
  border-left-color: var(--link-color, #2a7ae2);
  font-weight: 600;
}

/* Video Lightbox Styles */
.video-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.video-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Allow clicks to pass through to the anchor */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-wrapper:hover .play-button {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper .play-button svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-left: 4px; /* Optical adjustment to center the triangle */
}

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