/*
Theme Name: StarField Pro
Theme URI: https://github.com/xingyeji/starfield-pro
Author: 星野集
Author URI: https://xingyeji.com
Description: StarField Pro WordPress主题 - 专业版，包含所有高级功能：文章目录、代码高亮、打赏功能、阅读时间统计、相关文章推荐等
Version: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: starfield
Tags: blog, responsive, dark-mode, customizable, starfield, galaxy, pro
*/

/* ============================================
   1. CSS Variables & Design Tokens
   ============================================ */
:root {
    --background: rgba(255, 255, 255, .92);
    --background-hover: #ffffff;
    --bg-a: rgba(241, 245, 249, .85);
    --bg-b: rgb(242 246 255);
    --bg-c: #e8ecf6;
    --bg-d: rgba(255, 255, 255, .85);
    --bg-e: var(--theme);
    --bg-f: #f1f5f9;
    --bg-g: #e0e7ff;
    --bg-h: rgba(224, 231, 255, .7);
    --bg-i: #6b8cff;
    --bg-j: rgba(241, 245, 249, .4);
    --bg-k: rgba(248, 250, 252, .9);
    --bg-l: rgba(241, 245, 249, .8);
    --bg-z: rgba(224, 231, 255, .6);
    --box-shadow: 0 4px 20px -5px rgba(107, 140, 255, .15), 0 2px 8px -2px rgba(0, 0, 0, .08);
    --box-shadow-hover: 0 8px 30px -5px rgba(107, 140, 255, .25), 0 4px 12px -2px rgba(0, 0, 0, .1);
    --color-a: #4f46e5;
    --dark-a: #475569;
    --dark-b: #64748b;
    --dark-c: #334155;
    --dark-d: #64748b;
    --dark-e: #94a3b8;
    --light-a: #ffffff;
    --light-b: #f1f5f9;
    --light-c: #e2e8f0;
    --light-d: #cbd5e1;
    --light-x: #94a3b8;
    --light-y: #0f172a;
    --light-z: #f8fafc;
    --main: #334155;
    --nebula-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --radius-img: .625rem;
    --radius-inner: .5rem;
    --radius-wrap: .75rem;
    --star-glow: 0 0 20px rgba(107, 140, 255, .4);
    --star-glow-strong: 0 0 30px rgba(107, 140, 255, .6), 0 0 60px rgba(168, 85, 247, .3);
    --style-a: #fff;
    --theme: #6b8cff;
    --theme-accent: #22d3ee;
    --theme-secondary: #a855f7;
    --title: #1e293b;
}

/* ============================================
   2. Base & Reset Styles
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    background: var(--bg-c);
    color: var(--main);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Smooth theme transition - applied when theme changes */
body.theme-transition *::before,
body.theme-transition *::after {
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
a {
    color: var(--theme);
    text-decoration: none;
    transition: color .3s ease;
}
a:hover {
    color: var(--color-a);
}
pre:hover .copy-code-btn {
    opacity: 1;
}
.container {
    margin: 0 auto;
    max-width: 90rem;
    padding: 0 .9375rem;
}
.site-header .main-nav {
    align-items: center;
    display: flex;
    gap: .3125rem;
}
.content-wrapper {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 15rem 1fr 18.75rem;
}
.content-wrapper.two-columns {
    align-items: start;
    grid-template-columns: 1fr 18.75rem;
}
.content-wrapper.two-columns-left {
    align-items: start;
    grid-template-columns: 15rem 1fr;
}
.content-wrapper.full-width {
    align-items: start;
    grid-template-columns: 1fr;
}
.main-column {
    min-width: 0;
}
.sidebar {
    align-self: start;
    height: fit-content;
    position: sticky;
    top: 5rem;
}
.header-inner {
    align-items: center;
    display: flex;
    height: 3.75rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 85rem;
    padding: 0 .9375rem;
}
.site-header .nav-menu {
    display: flex;
    gap: .3125rem;
    list-style: none;
}
.site-header .nav-menu a {
    align-items: center;
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    display: flex;
    font-size: .95rem;
    font-weight: 500;
    gap: .3125rem;
    padding: .5rem 1rem;
    position: relative;
    transition: all .3s ease;
}
.site-header .nav-menu a::before {
    background: linear-gradient(90deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border-radius: 2px;
    bottom: 2px;
    content: '';
    height: 2px;
    left: 10%;
    position: absolute;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    width: 80%;
}
.site-header .nav-menu a:hover {
    color: var(--theme);
}
.site-header .nav-menu a:hover::before {
    transform: scaleX(1) !important;
}
.site-header .nav-menu .current-menu-item>a::before,
.site-header .nav-menu .current-menu-parent>a::before,
.site-header .nav-menu .current-menu-ancestor>a::before,
.site-header .nav-menu .current_page_item>a::before,
.site-header .nav-menu .current_page_parent>a::before,
.site-header .nav-menu .current_page_ancestor>a::before {
    transform: scaleX(1) !important;
}
.site-header .nav-menu .current-menu-item>a,
.site-header .nav-menu .current-menu-parent>a,
.site-header .nav-menu .current-menu-ancestor>a,
.site-header .nav-menu .current_page_item>a,
.site-header .nav-menu .current_page_parent>a,
.site-header .nav-menu .current_page_ancestor>a {
    color: var(--theme);
}
.site-header .nav-menu .bi {
    font-size: 1rem;
}
.site-header .nav-menu a .bi {
    font-size: 1.1rem;
    margin-right: .375rem;
    vertical-align: middle;
}
.site-header .nav-menu .sub-menu a .bi {
    font-size: 1rem;
    margin-right: .5rem;
}
.site-header .nav-menu .menu-item-has-children {
    position: relative;
}
.site-header .nav-menu .sub-menu {
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    left: 0;
    list-style: none;
    min-width: 11.25rem;
    opacity: 0;
    padding: .5rem 0;
    position: absolute;
    top: 100%;
    transform: translateY(-.625rem);
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1001;
}
.site-header .nav-menu .sub-menu .sub-menu {
    left: 100%;
    margin-left: .125rem;
    top: 0;
    transform: translateX(-.625rem);
}
.site-header .nav-menu .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.site-header .nav-menu .sub-menu .menu-item-has-children:hover>.sub-menu {
    transform: translateX(0);
}
.site-header .nav-menu .sub-menu a {
    font-size: .9rem;
    padding: .625rem 1.25rem;
    white-space: nowrap;
}
.site-header .nav-menu .menu-item-has-children>a::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: .75rem;
    margin-left: .3125rem;
    transition: transform .3s ease;
}
.site-header .nav-menu .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}
.site-header .nav-menu .sub-menu .menu-item-has-children>a::after {
    content: '\F285';
    transform: none;
        position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}
.site-header .nav-menu .sub-menu .menu-item-has-children:hover>a::after {
    transform: rotate(90deg);
}
.header-actions {
    align-items: center;
    display: flex;
    gap: .625rem;
}
.header-btn {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    cursor: pointer;
    display: flex;
    height: 2.25rem;
    justify-content: center;
    transition: all .3s ease;
    width: 2.25rem;
}
.header-btn:hover {
    background: var(--bg-h);
    color: var(--theme);
}
.menu-toggle {
    align-items: center;
    background: var(--bg-h);
    border: 1px solid var(--border);
    border-radius: var(--radius-inner);
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: .375rem;
    height: 2.75rem;
    justify-content: center;
    overflow: hidden;
    padding: .625rem;
    position: relative;
    transition: all .3s ease;
    width: 2.75rem;
}
.menu-toggle:hover {
    background: var(--theme);
    border-color: var(--theme);
    transform: scale(1.05);
}
.menu-toggle span {
    background: var(--dark-c);
    border-radius: .1875rem;
    display: block;
    height: .1875rem;
    position: relative;
    transition: all .3s ease;
    width: 1.5rem;
}
.menu-toggle:hover span {
    background: #fff;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(.3125rem, .375rem);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(.3125rem, -.375rem);
}
.menu-toggle.active {
    background: var(--theme);
    border-color: var(--theme);
}
.menu-toggle.active span {
    background: #fff;
}
.widget {
    background: var(--background);
    border: 1px solid rgba(107, 140, 255, .08);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}
.widget::before {
    background: linear-gradient(90deg, var(--theme) 0%, var(--theme-secondary) 50%, var(--theme-accent) 100%);
    content: '';
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .3s ease;
}
.widget:last-child {
    margin-bottom: 0;
}
.widget:hover {
    background: var(--background-hover);
    border-color: rgba(107, 140, 255, .15);
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-3px);
}
.widget:hover::before {
    opacity: 1;
}
.widget-title {
    align-items: center;
    border-bottom: 1px solid var(--light-b);
    color: var(--title);
    display: flex;
    font-size: 1rem;
    font-weight: 600;
    gap: 8px;
    padding: 15px 20px;
    position: relative;
}
.widget-title .bi {
    color: var(--theme);
    filter: drop-shadow(0 0 4px rgba(107, 140, 255, .4));
    font-size: 1.1rem;
}
.widget-content {
    padding: 15px 20px;
}
.menu-widget ul {
    list-style: none;
}
.menu-widget li {
    border-bottom: 1px solid var(--light-b);
}
.menu-widget li:last-child {
    border-bottom: none;
}
.menu-widget a {
    align-items: center;
    color: var(--main);
    display: flex;
    font-size: .9rem;
    gap: 10px;
    padding: 12px 0;
    transition: all .3s ease;
}
.menu-widget a:hover {
    color: var(--theme);
    padding-left: 5px;
}
.menu-widget .bi {
    color: var(--theme);
    font-size: 1rem;
}
.widget-search .search-form {
    display: flex;
    gap: 8px;
}
.widget-search .search-input {
    background: var(--bg-d);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    color: var(--main);
    flex: 1;
    font-size: .9rem;
    padding: 10px 15px;
    transition: all .3s ease;
}
.widget-search .search-input:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(80, 191, 255, .1);
    outline: none;
}
.widget-search .search-btn {
    background: var(--theme);
    border: none;
    border-radius: var(--radius-inner);
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    transition: all .3s ease;
}
.widget-search .search-btn:hover {
    background: var(--color-a);
}
.post-list {
    list-style: none;
}
.post-list li {
    border-bottom: 1px solid var(--light-b);
    padding: 12px 0;
    transition: all .3s ease;
}
.post-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.post-list li:first-child {
    padding-top: 0;
}
.post-list a {
    color: var(--dark-c);
    display: block;
    font-size: .9rem;
    line-height: 1.5;
    transition: color .3s ease;
}
.post-list a:hover {
    color: var(--theme);
}
.post-list .post-meta {
    align-items: center;
    color: var(--dark-d);
    display: flex;
    font-size: .75rem;
    gap: 10px;
    margin-top: 5px;
}
.post-list .post-meta .bi {
    font-size: .85rem;
}
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.post-card {
    background: var(--background);
    border: 1px solid rgba(107, 140, 255, .1);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    display: flex;
    overflow: hidden;
    position: relative;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}
.post-card::before {
    background: linear-gradient(90deg, var(--theme) 0%, var(--theme-secondary) 50%, var(--theme-accent) 100%);
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.post-card::after {
    background: radial-gradient(circle at 50% 0%, rgba(107, 140, 255, .1) 0%, transparent 60%);
    content: '';
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .4s ease;
}
.post-card:hover {
    background: var(--background-hover);
    border-color: rgba(107, 140, 255, .2);
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-6px);
}
.post-card:hover::before {
    transform: scaleX(1);
}
.post-card:hover::after {
    opacity: 1;
}
.post-thumbnail {
    flex-shrink: 0;
    min-height: 180px;
    overflow: hidden;
    position: relative;
    width: 260px;
}
.post-thumbnail img {
    border-radius: 0;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    width: 100%;
}
.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}
.post-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}
.post-category {
    align-items: center;
    background: linear-gradient(135deg, rgba(107, 140, 255, .1) 0%, rgba(168, 85, 247, .08) 100%);
    border: 1px solid rgba(107, 140, 255, .15);
    border-radius: 20px;
    color: var(--theme);
    display: inline-flex;
    font-size: .8rem;
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px 12px;
    transition: all .3s ease;
}
.post-card:hover .post-category {
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(107, 140, 255, .3);
    color: white;
    transform: translateX(5px);
}
.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}
.post-title a {
    color: var(--title);
    display: block;
    text-decoration: none;
    transition: all .3s ease;
}
.post-title a:hover {
    color: var(--theme);
    transform: translateX(8px);
}
.post-excerpt {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--main);
    display: -webkit-box;
    flex: 1;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    overflow: hidden;
    text-align: justify;
}
.post-meta {
    align-items: center;
    color: var(--dark-b);
    display: flex;
    font-size: .85rem;
    gap: 15px;
    margin-top: auto;
}
.post-meta span {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}
.post-meta .bi {
    font-size: .9rem;
}
.post-card.no-thumbnail .post-content {
    padding: 25px;
}
.post-article {
    background: var(--background);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    padding: 20px;
    position: relative;
}
.post-article::before {
    background: linear-gradient(90deg, var(--theme), var(--color-a));
    border-radius: 8px 8px 0 0;
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.post-header {
    border-bottom: 1px solid var(--light-b);
    margin-bottom: 35px;
    padding-bottom: 25px;
    text-align: center;
}
.post-header .post-title {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--theme), var(--color-a));
    background-clip: text;
    color: var(--title);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}
.post-header .post-meta {
    align-items: center;
    color: var(--dark-b);
    display: flex;
    flex-wrap: wrap;
    font-size: .9rem;
    gap: 20px;
    justify-content: center;
}
.post-meta .meta-item {
    align-items: center;
    display: flex;
    gap: 5px;
}
.post-body {
    color: var(--main);
    font-size: 1.05rem;
    letter-spacing: .02em;
    line-height: 1.8;
}
.post-body h1 {
    border-bottom: 3px solid var(--light-b);
    color: var(--title);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    margin-top: 0;
    padding-bottom: 15px;
    position: relative;
}
.post-body h2 {
    border-bottom: 2px solid var(--light-b);
    color: var(--title);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    position: relative;
}
.post-body h3 {
    border-left: 4px solid var(--theme);
    color: var(--title);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    padding-left: 15px;
    position: relative;
}
.post-body h4 {
    color: var(--theme);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    position: relative;
}
.post-body h5 {
    color: var(--dark-a);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    position: relative;
}
.post-body h6 {
    color: var(--dark-b);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    position: relative;
}
.post-body p {
    margin-bottom: 20px;
    text-align: justify;
}
.post-body a {
    color: var(--theme);
    padding: 0 2px;
    position: relative;
    text-decoration: none;
    transition: all .3s ease;
}
.post-body a:hover {
    background: linear-gradient(180deg, transparent 60%, rgba(80, 191, 255, .2) 40%);
    color: var(--color-a);
}
.post-body img {
    border-radius: var(--radius-img);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
    height: auto;
    margin: 30px 0;
    max-width: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
.post-body img:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    transform: translateY(-2px);
}
.post-body blockquote {
    background: linear-gradient(135deg, var(--bg-b), var(--bg-c));
    border-left: 4px solid var(--theme);
    border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    color: var(--dark-a);
    font-style: italic;
    margin: 30px 0;
    padding: 25px 30px;
    position: relative;
}
.post-body blockquote::before {
    color: var(--theme);
    content: '"';
    font-family: Georgia, serif;
    font-size: 3rem;
    left: 10px;
    opacity: .2;
    position: absolute;
    top: 10px;
}
.post-body code {
    background: var(--bg-c);
    border: 1px solid var(--light-c);
    border-radius: 4px;
    color: var(--theme);
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    font-size: .85em;
    padding: 3px 8px;
}
.post-body pre {
    background: var(--bg-f);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    margin: 30px 0;
    overflow-x: auto;
    padding: 25px;
    position: relative;
    transition: all .3s ease;
}
.post-body pre:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}
.post-body pre code {
    background: none;
    border: none;
    color: var(--main);
    font-size: .9rem;
    line-height: 1.5;
    padding: 0;
}
.post-body ul {
    margin: 20px 0;
    padding-left: 30px;
}
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}
.post-body li {
    line-height: 1.6;
    margin-bottom: 10px;
}
.post-body ul li {
    list-style: none;
    padding-left: 20px;
    position: relative;
}
.post-body ul li::before {
    color: var(--theme);
    content: '•';
    font-weight: bold;
    left: 0;
    position: absolute;
}
.post-body ol li {
    counter-increment: list-counter;
    list-style: none;
    padding-left: 30px;
    position: relative;
}
.post-body ol li::before {
    color: var(--theme);
    content: counter(list-counter) '.';
    font-weight: 600;
    left: 0;
    position: absolute;
}
.post-body table {
    border-collapse: collapse;
    border-radius: var(--radius-inner);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    margin: 30px 0;
    overflow: hidden;
    width: 100%;
}
.post-body table th {
    background: var(--theme);
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}
.post-body table td {
    border-bottom: 1px solid var(--light-b);
    padding: 12px 15px;
}
.post-body table tr:hover {
    background: var(--bg-b);
}
.post-body table tr:last-child td {
    border-bottom: none;
}
.post-body hr {
    background: linear-gradient(90deg, transparent, var(--light-b), transparent);
    border: none;
    height: 1px;
    margin: 40px 0;
}
.post-body strong {
    color: var(--title);
    font-weight: 600;
}
.post-body em {
    color: var(--dark-a);
    font-style: italic;
}
.post-body small {
    color: var(--dark-b);
    font-size: .85rem;
}
.post-tags {
    border-top: 1px solid var(--light-b);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
    padding-top: 20px;
}
.post-navigation {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 30px 0;
    margin-top: 30px;
}
.nav-prev {
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: all .3s ease;
}
.nav-next {
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    padding: 20px;
    text-align: right;
    transition: all .3s ease;
}
.nav-prev:hover {
    background: var(--background-hover);
}
.nav-next:hover {
    background: var(--background-hover);
}
.nav-label {
    align-items: center;
    color: var(--dark-b);
    display: flex;
    font-size: .8rem;
    gap: 5px;
    margin-bottom: 8px;
}
.nav-title {
    color: var(--title);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
}
.nav-next .nav-label {
    justify-content: flex-end;
}
.form-row {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 15px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    color: var(--title);
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-control {
    background: var(--bg-d);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    color: var(--main);
    font-size: .95rem;
    padding: 12px 15px;
    transition: all .3s ease;
    width: 100%;
}
.form-control:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(80, 191, 255, .1);
    outline: none;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
/* ============================================
   Footer - Compact Layout
   ============================================ */
.footer-content {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Footer Main - Brand & Stats */
.footer-main {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 0;
}

.footer-brand {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-logo {
    color: var(--title);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--theme);
}

.footer-desc {
    color: var(--dark-b);
    font-size: .85rem;
    margin: 0;
}

/* Footer Stats - Compact */
.footer-stats-compact {
    align-items: center;
    color: var(--dark-b);
    display: flex;
    flex-wrap: wrap;
    font-size: .85rem;
    gap: 8px;
}

.footer-stats-compact strong {
    color: var(--theme);
    font-weight: 600;
}

.footer-divider {
    color: var(--light-b);
    margin: 0 4px;
}

/* Footer Links - Single Row */
.footer-links-compact {
    align-items: center;
    border-bottom: 1px solid var(--light-b);
    border-top: 1px solid var(--light-b);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
    padding: 12px 0;
}

.footer-links-compact a {
    color: var(--dark-c);
    font-size: .85rem;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-links-compact a:hover {
    color: var(--theme);
}

/* Footer Copyright */
.footer-copyright {
    color: var(--dark-b);
    font-size: .8rem;
    padding: 15px 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links-compact {
        gap: 6px 15px;
    }
}
.post-card:nth-child(1) {
    animation-delay: .05s;
}
.post-card:nth-child(2) {
    animation-delay: .1s;
}
.post-card:nth-child(3) {
    animation-delay: .15s;
}
.post-card:nth-child(4) {
    animation-delay: .2s;
}
.post-card:nth-child(5) {
    animation-delay: .25s;
}
.post-navigation a {
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    transition: all .3s ease;
}
.post-navigation a:hover {
    background: var(--background-hover);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}
.post-navigation .nav-prev {
    text-align: left;
}
.post-navigation .nav-next {
    text-align: right;
}
.post-navigation .nav-label {
    align-items: center;
    color: var(--dark-b);
    display: flex;
    font-size: .875rem;
    gap: 5px;
}
.post-navigation .nav-next .nav-label {
    justify-content: flex-end;
}
.post-navigation .nav-title {
    color: var(--title);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}
.post-tags i {
    color: var(--theme);
    font-size: 1rem;
    margin-right: 5px;
}
.post-tags .tag-item {
    background: var(--bg-b);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    display: inline-block;
    font-size: .875rem;
    padding: 5px 12px;
    transition: all .3s ease;
}
.post-tags .tag-item:hover {
    background: var(--theme);
    color: white;
}
.comment-form .form-group {
    margin-bottom: 15px;
}
.hero-banner {
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: center;
    min-height: 37.5rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.hero-image-wrapper {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease;
    width: 100%;
}
.hero-banner:hover .hero-image {
    transform: scale(1.05);
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, .7) 0%, rgba(30, 27, 75, .6) 50%, rgba(49, 46, 129, .7) 100%);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}
.hero-content {
    padding: 4rem;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 3;
}
.hero-text-container {
    animation: fadeInUp 1s ease-out;
}
.hero-title {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    background-clip: text;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero-subtitle {
    color: rgba(255, 255, 255, .9);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.hero-quote-wrapper {
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    animation: fadeInUp 1s ease-out .3s both;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    display: inline-flex;
    gap: 10px;
    padding: 15px 30px;
}
.hero-quote {
    color: rgba(255, 255, 255, .95);
    font-size: 1rem;
    font-style: italic;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}
.hero-scroll-hint {
    align-items: center;
    animation: bounce 2s infinite;
    bottom: 5%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 50%;
    padding: 15px;
    position: absolute;
    transform: translateX(-50%);
    transition: all .3s ease;
    z-index: 3;
}
.hero-scroll-hint:hover {
    transform: translateX(-50%) scale(1.1);
}
.hero-wave-wrapper {
    bottom: -1px;
    height: 100px;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 10;
}
.hero-wave {
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    width: 400%;
}
.hero-wave path {
    fill: var(--bg-b);
}
[data-theme="dark"] .hero-wave path {
    fill: var(--bg-b);
}
.widget-toc {
    margin-bottom: 20px;
}
.toc-nav {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.toc-item {
    margin: 4px 0;
}
.toc-item a {
    border-radius: 4px;
    color: var(--main);
    display: block;
    font-size: 14px;
    padding: 6px 10px;
    text-decoration: none;
    transition: all .2s ease;
}
.toc-item a:hover {
    background: var(--background-hover);
    color: var(--theme);
}
.toc-item a.active {
    background: var(--theme);
    color: white;
}
.toc-h3 {
    padding-left: 16px;
}
.toc-h4 {
    padding-left: 32px;
}
.toc-empty {
    color: var(--minor);
    font-size: 14px;
    padding: 20px;
    text-align: center;
}
.toc-loading {
    color: var(--minor);
    font-size: 14px;
    padding: 20px;
    text-align: center;
}
.post-reward {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 40px 0;
    padding: 30px;
    text-align: center;
}
.post-stats {
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px 0;
}
.post-stat-item {
    align-items: center;
    color: var(--minor);
    display: flex;
    font-size: 14px;
    gap: 6px;
}
.post-stat-item i {
    color: var(--theme);
}
.post-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px 0;
}
.post-like {
    flex-shrink: 0;
}
.post-share {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mobile-drawer {
    display: none;
}
.pagination {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 30px;
}
.page-numbers {
    align-items: center;
    background: var(--background);
    border: 1px solid rgba(107, 140, 255, .1);
    border-radius: var(--radius-inner);
    box-shadow: var(--box-shadow);
    color: var(--dark-c);
    display: flex;
    font-size: .9rem;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    transition: all .3s ease;
}
.page-numbers span {
    position: relative;
    z-index: 1;
}
.page-numbers i {
    position: relative;
    z-index: 1;
}
.page-numbers:hover {
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(107, 140, 255, .3);
    color: white;
    transform: translateY(-2px);
}
.page-numbers.current {
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(107, 140, 255, .3);
    color: white;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.hidden {
    display: none !important;
}
.pagination .dots {
    background: transparent;
}
body::before {
    animation: starfield 200s linear infinite;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(107, 140, 255, .3), transparent), radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, .2), transparent), radial-gradient(1px 1px at 90px 40px, rgba(107, 140, 255, .25), transparent), radial-gradient(1px 1px at 130px 80px, rgba(34, 211, 238, .2), transparent), radial-gradient(2px 2px at 160px 120px, rgba(168, 85, 247, .15), transparent), radial-gradient(1px 1px at 200px 50px, rgba(107, 140, 255, .3), transparent), radial-gradient(2px 2px at 250px 90px, rgba(34, 211, 238, .2), transparent), radial-gradient(1px 1px at 300px 150px, rgba(168, 85, 247, .25), transparent), radial-gradient(2px 2px at 350px 30px, rgba(107, 140, 255, .2), transparent), radial-gradient(1px 1px at 400px 100px, rgba(34, 211, 238, .15), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    content: '';
    height: 100%;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}
[data-theme="dark"] body::before {
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(139, 157, 255, .5), transparent), radial-gradient(2px 2px at 40px 70px, rgba(192, 132, 252, .4), transparent), radial-gradient(1px 1px at 90px 40px, rgba(103, 232, 249, .4), transparent), radial-gradient(1px 1px at 130px 80px, rgba(139, 157, 255, .35), transparent), radial-gradient(2px 2px at 160px 120px, rgba(192, 132, 252, .3), transparent), radial-gradient(1px 1px at 200px 50px, rgba(103, 232, 249, .45), transparent), radial-gradient(2px 2px at 250px 90px, rgba(139, 157, 255, .35), transparent), radial-gradient(1px 1px at 300px 150px, rgba(192, 132, 252, .4), transparent), radial-gradient(2px 2px at 350px 30px, rgba(103, 232, 249, .3), transparent), radial-gradient(1px 1px at 400px 100px, rgba(139, 157, 255, .4), transparent);
}
::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-b);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border: 2px solid var(--bg-b);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
}
::selection {
    background: rgba(107, 140, 255, .3);
    color: var(--title);
    text-shadow: 0 0 10px rgba(107, 140, 255, .5);
}
::-moz-selection {
    background: rgba(107, 140, 255, .3);
    color: var(--title);
    text-shadow: 0 0 10px rgba(107, 140, 255, .5);
}
img {
    border-radius: var(--radius-img);
    height: auto;
    max-width: 100%;
}
.site-header {
    -webkit-backdrop-filter: blur(.625rem);
    backdrop-filter: blur(.625rem);
    background: var(--background);
    box-shadow: var(--box-shadow);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
    z-index: 1000;
}

/* Header hide/show on scroll */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Admin bar adjustment - Desktop (32px) */
body.admin-bar .site-header {
    top: 32px;
}

/* Admin bar adjustment - Mobile (46px) */
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Fix: Prevent WordPress from adding margin to html on small screens */
@media screen and (max-width: 600px) {
    html {
        margin-top: 0 !important;
    }
}

/* Mobile admin bar scroll handling */
/* When admin bar scrolls away on mobile, reset header to top */
@media screen and (max-width: 600px) {
    body.admin-bar.admin-bar-scrolled .site-header {
        top: 0;
    }
    body.admin-bar.admin-bar-scrolled .content-wrapper {
        padding-top: 60px;
    }
}
.site-brand {
    align-items: center;
    display: flex;
    gap: .625rem;
}
.logo-img {
    height: 2.25rem;
    width: auto;
}
.logo-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 50%, var(--theme-accent) 100%);
    background-clip: text;
    color: var(--title);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    text-shadow: var(--star-glow);
}
.logo-text::after {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: twinkle 2s ease-in-out infinite;
    background: linear-gradient(135deg, var(--theme-accent), var(--theme));
    background-clip: text;
    content: '✦';
    font-size: .8rem;
    position: absolute;
    right: -1.2rem;
    top: -.3rem;
}
.search-modal {
    -webkit-backdrop-filter: blur(.625rem);
    align-items: center;
    backdrop-filter: blur(.625rem);
    background: rgba(0, 0, 0, .85);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: fixed;
    transition: all .3s ease;
    visibility: hidden;
    z-index: 2000;
}
.search-modal.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    animation: fadeIn .3s ease;
    max-width: 37.5rem;
    position: relative;
    width: 90%;
}
.search-modal-close {
    align-items: center;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    height: 2.5rem;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -3.125rem;
    transition: transform .3s ease;
    width: 2.5rem;
}
.search-modal-close:hover {
    transform: rotate(90deg);
}
.search-form-large {
    position: relative;
}
.search-input-large {
    background: var(--bg-surface);
    border: .125rem solid transparent;
    border-radius: var(--radius-wrap);
    box-shadow: 0 .625rem 2.5rem rgba(0, 0, 0, .3);
    color: var(--text-primary);
    font-size: 1.25rem;
    padding: 1.25rem 3.75rem 1.25rem 1.5625rem;
    transition: all .3s ease;
    width: 100%;
}
.search-input-large:focus {
    border-color: var(--theme);
    outline: none;
}
.search-submit-large {
    align-items: center;
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border: none;
    border-radius: var(--radius-inner);
    box-shadow: 0 4px 12px rgba(107, 140, 255, .3);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 1.25rem;
    height: 3.125rem;
    justify-content: center;
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease;
    width: 3.125rem;
}
.search-submit-large:hover {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
    box-shadow: 0 6px 20px rgba(107, 140, 255, .4), 0 0 15px rgba(168, 85, 247, .3);
    transform: translateY(-50%) scale(1.08);
}
.drawer-backdrop {
    display: none;
}
body.drawer-open {
    overflow: hidden;
}
body.drawer-open .site-content {
    filter: blur(2px);
    transition: filter .3s ease;
}
.back-to-top {
    align-items: center;
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border: none;
    border-radius: 50%;
    bottom: 1.875rem;
    box-shadow: 0 4px 15px rgba(107, 140, 255, .4), 0 0 20px rgba(168, 85, 247, .2);
    color: white;
    cursor: pointer;
    display: flex;
    height: 2.8125rem;
    justify-content: center;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    right: 1.875rem;
    transform: translateY(1.25rem);
    transition: all .3s ease;
    visibility: hidden;
    width: 2.8125rem;
    z-index: 999;
}
.back-to-top::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 50%);
    border-radius: 50%;
    content: '';
    inset: 2px;
    pointer-events: none;
    position: absolute;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.back-to-top:hover {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
    box-shadow: 0 6px 20px rgba(107, 140, 255, .5), 0 0 30px rgba(168, 85, 247, .3);
    transform: translateY(-.25rem);
}
.back-to-top i {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5));
    font-size: 1.25rem;
}
.site-content {
    margin-top: 2rem;
    padding-bottom: 2.5rem;
}
.author-widget {
    overflow: hidden;
    padding: 0;
    text-align: center;
}
.author-cover {
    animation: gradientShift 8s ease infinite;
    background: linear-gradient(135deg, var(--theme) 0%, var(--color-a) 50%, var(--theme) 100%);
    background-size: 200% 200%;
    height: 120px;
    position: relative;
}
.author-cover::after {
    background: linear-gradient(to top, var(--background), transparent);
    bottom: 0;
    content: '';
    height: 60px;
    left: 0;
    position: absolute;
    right: 0;
}
.author-avatar-wrapper {
    margin-bottom: 15px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
.author-avatar {
    border: 5px solid var(--background);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    display: block;
    height: 100px;
    margin: 0 auto;
    transition: transform .3s ease, box-shadow .3s ease;
    width: 100px;
}
.author-avatar:hover {
    box-shadow: 0 6px 20px rgba(80, 191, 255, .4);
    transform: scale(1.05);
}
.author-avatar-placeholder {
    align-items: center;
    background: var(--bg-b);
    color: var(--light-d);
    display: flex;
    justify-content: center;
}
.author-avatar-placeholder i {
    font-size: 60px;
}
.author-name {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--theme), var(--color-a));
    background-clip: text;
    color: var(--title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.author-desc {
    color: var(--dark-b);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 1.4em;
    padding: 0 20px;
}
.author-stats {
    background: var(--bg-j);
    border-top: 1px solid var(--light-b);
    display: flex;
    gap: 0;
    justify-content: center;
    padding: 20px;
}
.stat-item {
    flex: 1;
    padding: 10px 5px;
    position: relative;
    text-align: center;
}
.stat-item:not(:last-child)::after {
    background: var(--light-b);
    content: '';
    height: 30px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}
.stat-value {
    color: var(--theme);
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.stat-label {
    color: var(--dark-b);
    font-size: .75rem;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-link {
    align-items: center;
    background: var(--bg-b);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    display: inline-flex;
    font-size: .8rem;
    gap: 4px;
    padding: 5px 12px;
    transition: all .3s ease;
}
.tag-link:hover {
    background: var(--theme);
    color: white;
}
.archive-list {
    list-style: none;
}
.archive-list li {
    border-bottom: 1px solid var(--light-b);
    padding: 10px 0;
}
.archive-list li:last-child {
    border-bottom: none;
}
.archive-list a {
    align-items: center;
    color: var(--dark-c);
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
    transition: all .3s ease;
}
.archive-list a:hover {
    color: var(--theme);
}
.archive-list .archive-count {
    background: var(--bg-b);
    border-radius: 10px;
    color: var(--dark-b);
    font-size: .75rem;
    padding: 2px 8px;
}
.category-list {
    list-style: none;
}
.category-list li {
    border-bottom: 1px solid var(--light-b);
    padding: 10px 0;
}
.category-list li:last-child {
    border-bottom: none;
}
.category-list a {
    align-items: center;
    color: var(--dark-c);
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
    transition: all .3s ease;
}
.category-list a:hover {
    color: var(--theme);
    padding-left: 5px;
}
.category-list .cat-count {
    background: var(--bg-b);
    border-radius: 10px;
    color: var(--dark-b);
    font-size: .75rem;
    padding: 2px 8px;
}
.links-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.links-widget a {
    align-items: center;
    background: var(--bg-b);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    display: inline-flex;
    font-size: .85rem;
    gap: 5px;
    padding: 6px 12px;
    transition: all .3s ease;
}
.links-widget a:hover {
    background: var(--theme);
    color: white;
}
.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.social-links a {
    align-items: center;
    background: var(--bg-b);
    border-radius: 50%;
    color: var(--dark-c);
    display: flex;
    font-size: 1.1rem;
    height: 40px;
    justify-content: center;
    transition: all .3s ease;
    width: 40px;
}
.social-links a:hover {
    background: var(--theme);
    color: white;
    transform: translateY(-3px);
}
.notice-widget {
    background: var(--bg-g);
    border-left: 3px solid var(--theme);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    font-size: .9rem;
    line-height: 1.6;
    padding: 15px;
}
.calendar-widget {
    text-align: center;
}
.calendar-widget table {
    border-collapse: collapse;
    width: 100%;
}
.calendar-widget caption {
    color: var(--title);
    font-weight: 600;
    padding: 10px;
}
.calendar-widget th {
    color: var(--dark-b);
    font-size: .85rem;
    font-weight: 500;
    padding: 8px;
}
.calendar-widget td {
    color: var(--dark-c);
    font-size: .85rem;
    padding: 8px;
}
.calendar-widget td a {
    background: var(--theme);
    border-radius: 50%;
    color: white;
    display: block;
    height: 28px;
    line-height: 28px;
    margin: 0 auto;
    width: 28px;
}
.calendar-widget #today {
    background: var(--bg-b);
    border-radius: 50%;
}
.user-content {
    font-size: 1rem;
    line-height: 1.8;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.user-content h1 {
    border-bottom: .125rem solid var(--theme);
    color: var(--title);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-bottom: .5rem;
}
.user-content h2 {
    border-bottom: .0625rem solid var(--border);
    color: var(--title);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-bottom: .375rem;
}
.user-content h3 {
    color: var(--title);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.user-content h4 {
    color: var(--title);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.user-content h5 {
    color: var(--title);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.user-content h6 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.user-content p {
    color: var(--text);
    margin-bottom: 1.25rem;
}
.user-content a {
    border-bottom: .0625rem solid transparent;
    color: var(--theme);
    text-decoration: none;
    transition: all .3s ease;
}
.user-content a:hover {
    border-bottom-color: var(--theme-secondary);
    color: var(--theme-secondary);
}
.user-content ul {
    list-style-type: disc;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.user-content ol {
    list-style-type: decimal;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.user-content li {
    color: var(--text);
    margin-bottom: .5rem;
}
.user-content blockquote {
    background: var(--bg-b);
    border-left: .25rem solid var(--theme);
    color: var(--text-secondary);
    font-style: italic;
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
}
.user-content code {
    background: var(--bg-b);
    border: .0625rem solid var(--border);
    border-radius: .25rem;
    color: var(--theme);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: .875rem;
    padding: .125rem .375rem;
}
.user-content pre {
    background: var(--bg-b);
    border: .0625rem solid var(--border);
    border-radius: .5rem;
    margin: 1.25rem 0;
    overflow-x: auto;
    padding: 1rem;
}
.user-content pre code {
    background: transparent;
    border: none;
    font-size: .875rem;
    line-height: 1.6;
    padding: 0;
}
.user-content table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1.25rem;
    width: 100%;
}
.user-content th {
    background: var(--bg-b);
    border: .0625rem solid var(--border);
    color: var(--title);
    font-weight: 600;
    padding: .75rem;
    text-align: left;
}
.user-content td {
    border: .0625rem solid var(--border);
    padding: .75rem;
    text-align: left;
}
.user-content tr:nth-child(even) {
    background: var(--bg-b);
}
.user-content .markdown-table {
    border: .0625rem solid var(--border);
    border-collapse: collapse;
    border-radius: .5rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    width: 100%;
}
.user-content .markdown-table thead {
    background: var(--bg-b);
}
.user-content .markdown-table th {
    border-bottom: .125rem solid var(--theme);
    color: var(--title);
    font-weight: 600;
    padding: .75rem 1rem;
    text-align: left;
}
.user-content .markdown-table td {
    border-bottom: .0625rem solid var(--border);
    padding: .625rem 1rem;
}
.user-content .markdown-table tbody tr:hover {
    background: var(--bg-b);
}
.user-content .task-item {
    align-items: center;
    display: flex;
    gap: .5rem;
    list-style: none;
}
.user-content .task-item input[type="checkbox"] {
    accent-color: var(--theme);
    cursor: default;
    height: 1.125rem;
    margin: 0;
    width: 1.125rem;
}
.user-content hr {
    border: none;
    border-top: .0625rem solid var(--border);
    margin: 2rem 0;
}
.user-content strong {
    color: var(--title);
    font-weight: 700;
}
.user-content em {
    font-style: italic;
}
.user-content del {
    color: var(--text-secondary);
    text-decoration: line-through;
}
.user-content img {
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    display: block;
    height: auto;
    margin: 1.25rem auto;
    max-width: 100%;
}
.user-content style {
    display: none;
}
.user-content>div {
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    width: 100%;
}
.user-content .starfield-essay-container {
    margin: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
}
.tag-item {
    align-items: center;
    background: var(--bg-b);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    display: inline-flex;
    font-size: .85rem;
    gap: 4px;
    padding: 6px 14px;
    transition: all .3s ease;
}
.tag-item:hover {
    background: var(--theme);
    color: white;
}
.author-box {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    display: flex;
    gap: 1.25rem;
    margin-top: 1.875rem;
    padding: 1.5625rem;
}
.author-box-avatar-wrapper {
    flex-shrink: 0;
    position: relative;
}
.author-box-avatar {
    border: .1875rem solid var(--theme);
    border-radius: 50%;
    height: 5rem;
    object-fit: cover;
    transition: transform .3s ease, box-shadow .3s ease;
    width: 5rem;
}
.author-box-avatar:hover {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15);
    transform: scale(1.05);
}
.author-box-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .75rem;
}
.author-box-header {
    align-items: center;
    display: flex;
    gap: .625rem;
    justify-content: space-between;
}
.author-box-name {
    color: var(--title);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}
.author-box-actions {
    display: flex;
    gap: .5rem;
}
.author-box-action {
    align-items: center;
    background: var(--bg-h);
    border-radius: var(--radius-inner);
    color: var(--theme);
    display: flex;
    height: 2rem;
    justify-content: center;
    text-decoration: none;
    transition: all .3s ease;
    width: 2rem;
}
.author-box-action:hover {
    background: var(--theme);
    color: #fff;
    transform: translateY(-.125rem);
}
.author-box-desc {
    color: var(--dark-b);
    font-size: .9375rem;
    line-height: 1.6;
    margin: 0;
}
.author-box-footer {
    align-items: center;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: .625rem;
}
.author-box-website {
    align-items: center;
    background: var(--bg-h);
    border-radius: var(--radius-inner);
    color: var(--theme);
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    gap: .375rem;
    padding: .375rem .75rem;
    text-decoration: none;
    transition: all .3s ease;
}
.author-box-website:hover {
    background: var(--theme);
    color: #fff;
    transform: translateY(-.125rem);
}
.author-box-posts {
    align-items: center;
    background: var(--bg-h);
    border-radius: var(--radius-inner);
    color: var(--dark-b);
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    gap: .375rem;
    padding: .375rem .75rem;
}
.comments-area {
    background: var(--background);
    border-radius: var(--radius-wrap);
    border-top: 1px solid var(--light-b);
    box-shadow: var(--box-shadow);
    margin-top: 40px;
    padding: 30px;
    padding-top: 30px;
}
.comments-title {
    border-bottom: 1px solid var(--light-b);
    color: var(--title);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
}
.comment-list {
    list-style: none;
}
.comment-item {
    border-bottom: 1px solid var(--light-b);
    padding: 20px 0;
}
.comment-item:last-child {
    border-bottom: none;
}
.comment-meta {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.comment-avatar {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}
.comment-author {
    color: var(--title);
    font-weight: 600;
}
.comment-time {
    color: var(--dark-d);
    font-size: .8rem;
}
.comment-content {
    color: var(--main);
    font-size: .95rem;
    line-height: 1.6;
    padding-left: 52px;
}
.comment-form {
    border-top: 1px solid var(--light-b);
    margin-top: 30px;
    padding-top: 30px;
}
.comment-form-title {
    color: var(--title);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.submit-btn {
    align-items: center;
    background: linear-gradient(135deg, var(--theme) 0%, var(--theme-secondary) 100%);
    border: none;
    border-radius: var(--radius-inner);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 500;
    gap: 8px;
    overflow: hidden;
    padding: 12px 30px;
    position: relative;
    transition: all .3s ease;
}
.submit-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    content: '';
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left .5s ease;
    width: 100%;
}
.submit-btn:hover {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
    box-shadow: 0 4px 16px rgba(107, 140, 255, .4), 0 0 20px rgba(168, 85, 247, .2);
    transform: translateY(-2px);
}
.submit-btn:hover::before {
    left: 100%;
}
.archive-header {
    background: linear-gradient(135deg, var(--background) 0%, rgba(107, 140, 255, .05) 100%);
    border: 1px solid rgba(107, 140, 255, .1);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    overflow: hidden;
    padding: 40px;
    position: relative;
    text-align: center;
}
.archive-header::before {
    background: linear-gradient(90deg, var(--theme), var(--theme-secondary));
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.archive-title {
    align-items: center;
    color: var(--title);
    display: flex;
    font-size: 1.8rem;
    font-weight: 600;
    gap: 12px;
    justify-content: center;
    margin-bottom: 15px;
}
.archive-title i {
    color: var(--theme);
    font-size: 1.5rem;
}
.archive-description {
    color: var(--dark-b);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}
.archive-stats {
    align-items: center;
    background: var(--theme);
    border-radius: 20px;
    color: #fff;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 500;
    gap: 8px;
    padding: 8px 20px;
}
.category .archive-title i::before {
    content: "\F1BB";
}
.tag .archive-title i::before {
    content: "\F5B0";
}
.author .archive-title i::before {
    content: "\F4DA";
}
.date .archive-title i::before {
    content: "\F214";
}
.search-header {
    background: linear-gradient(135deg, var(--background) 0%, rgba(107, 140, 255, .05) 100%);
    border: 1px solid rgba(107, 140, 255, .1);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    overflow: hidden;
    padding: 40px;
    position: relative;
    text-align: center;
}
.search-header::before {
    background: linear-gradient(90deg, var(--theme), var(--theme-secondary));
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.search-title {
    align-items: center;
    color: var(--title);
    display: flex;
    font-size: 1.8rem;
    font-weight: 600;
    gap: 12px;
    justify-content: center;
    margin-bottom: 15px;
}
.search-title i {
    color: var(--theme);
    font-size: 1.5rem;
}
.search-keyword {
    color: var(--dark-b);
    font-size: 1rem;
    margin-bottom: 15px;
}
.search-keyword mark {
    background: linear-gradient(120deg, rgba(107, 140, 255, .2) 0%, rgba(107, 140, 255, .2) 100%);
    border-radius: 4px;
    color: var(--theme);
    font-weight: 500;
    padding: 2px 6px;
}
.search-results mark {
    background: linear-gradient(120deg, rgba(107, 140, 255, .2) 0%, rgba(107, 140, 255, .2) 100%);
    border-radius: 4px;
    color: var(--theme);
    font-weight: 500;
    padding: 2px 6px;
}
.search-stats {
    align-items: center;
    background: var(--theme);
    border-radius: 20px;
    color: #fff;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 500;
    gap: 8px;
    padding: 8px 20px;
}
.search-form-wrapper {
    margin-bottom: 30px;
}
.search-form-wrapper .search-form {
    display: flex;
    gap: 10px;
    margin: 0 auto;
    max-width: 500px;
}
.search-form-wrapper .search-input {
    background: var(--background);
    border: 2px solid rgba(107, 140, 255, .2);
    border-radius: var(--radius-inner);
    color: var(--dark-a);
    flex: 1;
    font-size: 1rem;
    padding: 15px 20px;
    transition: all .3s ease;
}
.search-form-wrapper .search-input:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(107, 140, 255, .1);
    outline: none;
}
.search-form-wrapper .search-submit {
    background: var(--theme);
    border: none;
    border-radius: var(--radius-inner);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 15px 25px;
    transition: all .3s ease;
}
.search-form-wrapper .search-submit:hover {
    background: var(--theme-secondary);
    transform: translateY(-2px);
}
.search-suggestions {
    background: rgba(107, 140, 255, .05);
    border-radius: var(--radius-inner);
    margin-top: 30px;
    padding: 20px;
    text-align: left;
}
.search-suggestions h4 {
    color: var(--title);
    font-size: 1rem;
    margin-bottom: 10px;
}
.search-suggestions ul {
    list-style: none;
    padding: 0;
}
.search-suggestions li {
    color: var(--dark-b);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}
.search-suggestions li::before {
    color: var(--theme);
    content: "•";
    left: 5px;
    position: absolute;
}
.breadcrumb {
    align-items: center;
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    color: var(--dark-b);
    display: flex;
    font-size: .875rem;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px 20px;
}
.breadcrumb a {
    color: var(--dark-c);
    transition: color .3s ease;
}
.breadcrumb a:hover {
    color: var(--theme);
}
.breadcrumb .separator {
    color: var(--light-c);
}
.breadcrumb .current {
    color: var(--theme);
    font-weight: 500;
}
.site-footer {
    background: var(--bg-c);
    border-top: 1px solid var(--light-b);
    margin-top: 60px;
    padding: 40px 0 20px;
    position: relative;
}
.site-footer::before {
    background: linear-gradient(90deg, transparent 0%, var(--theme) 50%, transparent 100%);
    content: '';
    height: 1px;
    left: 0;
    opacity: .5;
    position: absolute;
    right: 0;
    top: 0;
}
.theme-toggle {
    position: relative;
}
.theme-toggle .bi-sun {
    display: none;
}
[data-theme="dark"] .theme-toggle .bi-sun {
    display: block;
}
[data-theme="dark"] .theme-toggle .bi-moon {
    display: none;
}
[data-theme="dark"] img {
    filter: brightness(.85);
}
[data-theme="dark"] video {
    filter: brightness(.85);
}
[data-theme="dark"] iframe {
    filter: brightness(.85);
}
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.loading {
    animation: spin .8s linear infinite;
    border: 2px solid var(--light-c);
    border-radius: 50%;
    border-top-color: var(--theme);
    display: inline-block;
    height: 20px;
    width: 20px;
}
.comment-form label {
    color: var(--title);
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.comment-form input {
    background: var(--bg-d);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    color: var(--main);
    font-size: .95rem;
    padding: 12px 15px;
    transition: all .3s ease;
    width: 100%;
}
.comment-form textarea {
    background: var(--bg-d);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    color: var(--main);
    font-size: .95rem;
    padding: 12px 15px;
    transition: all .3s ease;
    width: 100%;
}
.comment-form input:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(80, 191, 255, .1);
    outline: none;
}
.comment-form textarea:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(80, 191, 255, .1);
    outline: none;
}
.comment-form .submit-btn {
    align-items: center;
    background: var(--theme);
    border: none;
    border-radius: var(--radius-inner);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 500;
    gap: 8px;
    padding: 12px 30px;
    transition: all .3s ease;
}
.comment-form .submit-btn:hover {
    background: var(--color-a);
    box-shadow: 0 4px 12px rgba(80, 191, 255, .4);
    transform: translateY(-2px);
}
.no-posts {
    background: var(--background);
    border-radius: var(--radius-wrap);
    box-shadow: var(--box-shadow);
    padding: 60px 20px;
    text-align: center;
}
.no-posts h2 {
    color: var(--title);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.no-posts p {
    color: var(--dark-b);
}
.quote-icon {
    color: var(--theme-accent);
    font-size: 1.5rem;
    opacity: .8;
}
.scroll-text {
    color: #ffffff;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    text-transform: uppercase;
}
.scroll-icon-wrapper {
    align-items: center;
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, rgba(107, 140, 255, .8) 0%, rgba(168, 85, 247, .8) 100%);
    border-radius: 50%;
    box-shadow: 0 .25rem .9375rem rgba(107, 140, 255, .4);
    display: flex;
    height: 2.5rem;
    justify-content: center;
    transition: all .3s ease;
    width: 2.5rem;
}
.scroll-icon-wrapper:hover {
    background: linear-gradient(135deg, rgba(107, 140, 255, 1) 0%, rgba(168, 85, 247, 1) 100%);
    box-shadow: 0 .375rem 1.25rem rgba(107, 140, 255, .6), 0 0 1.875rem rgba(168, 85, 247, .4);
    transform: scale(1.1) translateY(-.125rem);
}
.scroll-icon {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
    font-size: 1.4rem;
}
.wave-back {
    animation: wave-flow 25s ease-in-out infinite;
    opacity: .4;
}
.wave-middle {
    animation: wave-flow 18s ease-in-out infinite reverse;
    opacity: .6;
}
.wave-front {
    animation: wave-flow 12s ease-in-out infinite;
    opacity: .8;
}
#spa-loading-indicator {
    height: 3px;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .3s ease, visibility .3s ease;
    visibility: hidden;
    z-index: 9999;
}
#spa-loading-indicator.active {
    opacity: 1;
    visibility: visible;
}
.spa-loading-bar {
    animation: spaLoading 1.5s ease-in-out infinite;
    background: linear-gradient(90deg, var(--theme), var(--color-a));
    height: 100%;
    width: 0%;
}
.copy-code-btn {
    align-items: center;
    background: var(--bg-d);
    border: 1px solid var(--light-c);
    border-radius: var(--radius-inner);
    color: var(--dark-c);
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all .3s ease;
    width: 36px;
    z-index: 10;
}
.copy-code-btn:hover {
    background: var(--theme);
    border-color: var(--theme);
    color: white;
}
img[loading="lazy"] {
    opacity: 0;
    transition: opacity .3s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}
.reward-title {
    color: var(--main);
    font-size: 16px;
    margin: 0 0 16px;
}
.reward-btn {
    align-items: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, .3);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    gap: 8px;
    padding: 14px 28px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.reward-btn:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, .4);
    transform: translateY(-2px);
}
.reward-modal {
    align-items: center;
    background: rgba(0, 0, 0, .8);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: all .3s ease;
    visibility: hidden;
    width: 100%;
    z-index: 10000;
}
.reward-modal.active {
    opacity: 1;
    visibility: visible;
}
.reward-modal-content {
    background: var(--background);
    border-radius: 12px;
    max-width: 500px;
    padding: 30px;
    position: relative;
    width: 90%;
}
.reward-close {
    color: var(--minor);
    cursor: pointer;
    font-size: 28px;
    position: absolute;
    right: 15px;
    top: 10px;
}
.reward-close:hover {
    color: var(--main);
}
.reward-modal-content h3 {
    color: var(--main);
    margin: 0 0 20px;
    text-align: center;
}
.reward-qrcodes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.reward-qrcode {
    text-align: center;
}
.reward-qrcode img {
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 150px;
    width: 150px;
}
.reward-qrcode p {
    color: var(--main);
    font-size: 14px;
    margin: 10px 0 0;
}
.related-posts {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 40px 0;
    padding: 30px;
}
.related-posts-title {
    align-items: center;
    color: var(--main);
    display: flex;
    font-size: 18px;
    gap: 8px;
    margin: 0 0 20px;
}
.related-posts-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.related-post-card {
    background: var(--background-hover);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease;
}
.related-post-card:hover {
    transform: translateY(-4px);
}
.related-post-link {
    color: inherit;
    display: block;
    text-decoration: none;
}
.related-post-thumb img {
    height: 120px;
    object-fit: cover;
    width: 100%;
}
.related-post-content {
    padding: 12px;
}
.related-post-title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--main);
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px;
    overflow: hidden;
}
.related-post-date {
    color: var(--minor);
    font-size: 12px;
}
.like-btn {
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(238, 90, 90, .3);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    gap: 8px;
    padding: 14px 28px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.like-btn:hover {
    border-color: #ff6b6b;
    box-shadow: 0 6px 20px rgba(238, 90, 90, .4);
    color: #ff6b6b;
    transform: translateY(-2px);
}
.like-btn.liked {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 71, 87, .4);
    color: white;
}
.like-btn i {
    font-size: 20px;
}
.like-count {
    font-size: 16px;
    font-weight: 600;
}
.share-label {
    color: var(--minor);
    font-size: 14px;
}
.share-btn {
    align-items: center;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    text-decoration: none;
    transition: all .3s ease;
    width: 40px;
}
.share-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transform: translateY(-3px);
}
.share-weibo {
    background: linear-gradient(135deg, #e6162d, #ff4757);
}
.share-wechat {
    background: linear-gradient(135deg, #07c160, #10b981);
}
.share-qq {
    background: linear-gradient(135deg, #12b7f5, #0ea5e9);
}
.share-copy {
    background: linear-gradient(135deg, var(--theme), var(--accent));
}
.wechat-qrcode {
    padding: 20px;
    text-align: center;
}
.wechat-qrcode img {
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 200px;
    width: 200px;
}
.wechat-qrcode p {
    color: var(--minor);
    font-size: 14px;
    margin-top: 16px;
}
.like-btn.liked i {
    animation: heartBeat .3s ease;
}
.reward-btn i {
    font-size: 18px;
}

/* ============================================
   3. Dark Mode
   ============================================ */
[data-theme="dark"] {
    --background: rgba(15, 23, 42, .75);
    --background-hover: rgba(30, 41, 59, .85);
    --bg-a: rgba(30, 41, 59, .8);
    --bg-b: #18193e;
    --bg-c: #18193e;
    --bg-d: rgba(15, 23, 42, .85);
    --bg-e: #4f46e5;
    --bg-f: #0f172a;
    --bg-g: rgba(99, 102, 241, .2);
    --bg-h: rgba(49, 46, 129, .5);
    --bg-i: #6366f1;
    --bg-j: rgba(15, 23, 42, .4);
    --bg-k: rgba(30, 41, 59, .9);
    --bg-l: rgba(30, 27, 75, .8);
    --bg-z: rgba(49, 46, 129, .5);
    --box-shadow: 0 4px 20px -5px rgba(0, 0, 0, .4), 0 0 20px -5px rgba(99, 102, 241, .15);
    --box-shadow-hover: 0 8px 30px -5px rgba(0, 0, 0, .5), 0 0 30px -5px rgba(99, 102, 241, .25);
    --color-a: #a5b4fc;
    --dark-a: #94a3b8;
    --dark-b: #64748b;
    --dark-c: #cbd5e1;
    --dark-d: #94a3b8;
    --dark-e: #cbd5e1;
    --light-a: #1e293b;
    --light-b: #334155;
    --light-c: #1e293b;
    --light-d: #475569;
    --light-x: #64748b;
    --light-y: #f8fafc;
    --light-z: #e2e8f0;
    --main: #cbd5e1;
    --star-glow: 0 0 20px rgba(139, 157, 255, .5);
    --star-glow-strong: 0 0 30px rgba(139, 157, 255, .7), 0 0 60px rgba(192, 132, 252, .4);
    --style-a: #020617;
    --theme: #8b9dff;
    --theme-accent: #67e8f9;
    --theme-secondary: #c084fc;
    --title: #f1f5f9;
}

/* ============================================
   4. Animations
   ============================================ */
@keyframes starfield {

  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-200px);
  }
}
@keyframes twinkle {


  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
@keyframes gradientShift {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}
@keyframes fadeIn {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {

  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeInUp {

  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {


  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}
@keyframes pulse {


  0%,
  100% {
    box-shadow: 0 4px 15px rgba(107, 140, 255, 0.4), 0 0 0 0 rgba(107, 140, 255, 0.7);
  }

  50% {
    box-shadow: 0 4px 15px rgba(107, 140, 255, 0.4), 0 0 0 10px rgba(107, 140, 255, 0);
  }
}
@keyframes wave-flow {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-75%);
  }
}
@keyframes spaLoading {

  0% {
    width: 0%;
    left: 0;
  }

  50% {
    width: 50%;
    left: 25%;
  }

  100% {
    width: 0%;
    left: 100%;
  }
}
@keyframes heartBeat {

  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ============================================
   4.5 Scroll Animation Classes
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure elements are visible if JS is disabled */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   5. Responsive Design (Mobile-First)
   ============================================ */
@media print {
    .site-header {
        display: none !important;
    }
    .sidebar {
        display: none !important;
    }
    .site-footer {
        display: none !important;
    }
    .back-to-top {
        display: none !important;
    }
    .site-content {
        padding-top: 0;
    }
    .post-article {
        box-shadow: none;
    }
}

@media (max-width: 1023px) {
    .content-wrapper {
        grid-template-columns: 1fr 280px;
    }
    .content-wrapper.two-columns-left {
        grid-template-columns: 280px 1fr;
    }
    .sidebar-left {
        display: none;
    }
    .site-header .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .mobile-drawer {
        background: var(--background);
    box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    width: 300px;
    z-index: 9999;
    }
    .mobile-drawer.active {
        transform: translateX(0);
    }
    .drawer-backdrop {
        background: rgba(0, 0, 0, .5);
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity .3s ease, visibility .3s ease;
    visibility: hidden;
    width: 100%;
    z-index: 9998;
    }
    .drawer-backdrop.active {
        opacity: 1;
    visibility: visible;
    }
    .drawer-header {
        align-items: center;
    background: var(--bg-h);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 16px 20px;
    }
    .drawer-title {
        align-items: center;
    color: var(--dark-c);
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 8px;
    }
    .drawer-title i {
        color: var(--theme);
    font-size: 20px;
    }
    .drawer-close {
        align-items: center;
    background: none;
    border: none;
    border-radius: 6px;
    color: var(--gray-c);
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    transition: all .2s ease;
    width: 36px;
    }
    .drawer-close:hover {
        background: var(--bg-b);
    color: var(--theme);
    }
    .drawer-close i {
        font-size: 20px;
    }
    .drawer-content {
        flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    }
    .drawer-section {
        border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    }
    .drawer-section:last-of-type {
        border-bottom: none;
    }
    .drawer-section-title {
        align-items: center;
    color: var(--gray-c);
    display: flex;
    font-size: 12px;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    }
    .drawer-section-title i {
        color: var(--theme);
    font-size: 14px;
    }
    .drawer-nav {
        display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    }
    .drawer-nav>li {
        border-bottom: none;
    }
    .drawer-nav a {
        align-items: center;
    background: var(--bg-b);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dark-c);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    justify-content: center;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: all .2s ease;
    }
    .drawer-nav a:hover {
        background: var(--bg-h);
    border-color: var(--theme);
    color: var(--theme);
    }
    .drawer-nav a.active {
        background: var(--bg-h);
    border-color: var(--theme);
    color: var(--theme);
    }
    .drawer-nav .menu-item-has-children>a {
        background: var(--bg-h);
    cursor: pointer;
    justify-content: flex-start;
    position: relative;
    }
    .drawer-nav .menu-item-has-children>a i {
        flex-shrink: 0;
    margin-right: 8px;
    }
    .drawer-nav .menu-item-has-children>a span {
        flex-shrink: 0;
    text-align: left;
    }
    .drawer-nav .menu-item-has-children>a::after {
        content: '\F282';
    flex-shrink: 0;
    font-family: 'bootstrap-icons';
    font-size: 14px;
    margin-left: 8px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease;
    }
    .drawer-nav .menu-item-has-children.active>a::after {
        transform: rotate(180deg);
    }
    .drawer-nav>li:not(.menu-item-has-children)>a {
        align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    }
    .drawer-nav>li:not(.menu-item-has-children)>a i {
        flex-shrink: 0;
    }
    .drawer-nav>li:not(.menu-item-has-children)>a span {
        flex-shrink: 0;
    }
    .drawer-nav .sub-menu {
        display: none;
    list-style: none;
    margin: 6px 0 0 0;
    padding: 0 0 0 12px;
    }
    .drawer-nav .sub-menu>li {
        border-bottom: none;
    margin-bottom: 4px;
    }
    .drawer-nav .sub-menu a {
        background: var(--bg-c);
    font-size: 13px;
    justify-content: flex-start;
    padding: 10px 12px;
    }
    .drawer-nav .sub-menu .sub-menu {
        margin-top: 4px;
    }
    .drawer-nav .menu-item-has-children.active>.sub-menu {
        display: block;
    }
    .drawer-links {
        display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    }
    .drawer-links a {
        align-items: center;
    background: var(--bg-b);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dark-c);
    display: flex;
    font-size: 13px;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all .2s ease;
    }
    .drawer-links a:hover {
        background: var(--bg-h);
    border-color: var(--theme);
    color: var(--theme);
    }
    .drawer-links a i {
        color: var(--theme);
    font-size: 16px;
    }
    .drawer-theme-toggle {
        display: flex;
    flex-direction: column;
    gap: 6px;
    }
    .theme-option {
        align-items: center;
    background: var(--bg-b);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 12px 16px;
    transition: all .2s ease;
    }
    .theme-option:hover {
        border-color: var(--theme);
    }
    .theme-option.active {
        background: var(--theme);
    border-color: var(--theme);
    }
    .theme-option.active i {
        color: white;
    }
    .theme-option.active span {
        color: white;
    }
    .theme-option i {
        font-size: 16px;
    }
    .theme-option span {
        font-size: 13px;
    font-weight: 500;
    }
    .drawer-search {
        display: flex;
    gap: 8px;
    }
    .drawer-search-input {
        background: var(--bg-b);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dark-c);
    flex: 1;
    font-size: 14px;
    padding: 12px 14px;
    }
    .drawer-search-input:focus {
        border-color: var(--theme);
    outline: none;
    }
    .drawer-search-submit {
        background: var(--theme);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    transition: background .2s ease;
    }
    .drawer-search-submit:hover {
        background: var(--color-a);
    }
    .drawer-social {
        display: flex;
    flex-direction: column;
    gap: 6px;
    }
    .social-link {
        align-items: center;
    background: var(--bg-b);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--gray-c);
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all .2s ease;
    }
    .social-link:hover {
        background: var(--theme);
    border-color: var(--theme);
    color: white;
    }
    .social-link i {
        font-size: 16px;
    }
    .social-link span {
        font-size: 13px;
    }
    .drawer-footer {
        background: var(--bg-h);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    padding: 16px 20px;
    text-align: center;
    }
    .drawer-footer p {
        color: var(--gray-c);
    font-size: 12px;
    margin: 0 0 10px 0;
    }
    .drawer-home-link {
        align-items: center;
    background: var(--theme);
    border-radius: 6px;
    color: white;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    transition: background .2s ease;
    }
    .drawer-home-link:hover {
        background: var(--color-a);
    }
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-banner {
        height: 80vh;
    min-height: 31.25rem;
    width: 100%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .content-wrapper.two-columns {
        grid-template-columns: 1fr;
    }
    .content-wrapper.two-columns-left {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    position: static;
    }
    .archive-header {
        margin-bottom: 20px;
    padding: 25px 20px;
    }
    .search-header {
        margin-bottom: 20px;
    padding: 25px 20px;
    }
    .archive-title {
        flex-direction: column;
    font-size: 1.4rem;
    gap: 8px;
    }
    .search-title {
        flex-direction: column;
    font-size: 1.4rem;
    gap: 8px;
    }
    .archive-title i {
        font-size: 1.3rem;
    }
    .search-title i {
        font-size: 1.3rem;
    }
    .archive-description {
        font-size: .9rem;
    }
    .archive-stats {
        font-size: .85rem;
    padding: 6px 15px;
    }
    .search-stats {
        font-size: .85rem;
    padding: 6px 15px;
    }
    .search-form-wrapper .search-form {
        flex-direction: column;
    }
    .search-form-wrapper .search-input {
        width: 100%;
    }
    .search-form-wrapper .search-submit {
        width: 100%;
    }
    .post-card {
        flex-direction: column;
    }
    .post-thumbnail {
        height: 200px;
    width: 100%;
    }
    .post-title {
        font-size: 1.1rem;
    }
    .post-article {
        padding: 20px;
    }
    .post-header .post-title {
        font-size: 1.4rem;
    }
    .post-navigation {
        grid-template-columns: 1fr;
    }
    .nav-next {
        text-align: left;
    }
    .nav-next .nav-label {
        justify-content: flex-start;
    }
    .author-box {
        flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    }
    .author-box-avatar-wrapper {
        margin: 0 auto;
    }
    .author-box-header {
        flex-direction: column;
    gap: .5rem;
    }
    .author-box-actions {
        justify-content: center;
    }
    .author-box-footer {
        justify-content: center;
    }
    .author-box-website {
        flex: 1;
    justify-content: center;
    }
    .author-box-posts {
        flex: 1;
    justify-content: center;
    }
    .footer-widgets {
        gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
    }
    .footer-widget-title {
        display: block;
    margin-bottom: 1rem;
    }
    .footer-links-list a {
        justify-content: center;
    padding: .5rem 0;
    }
    .footer-stats {
        gap: 1.5rem;
    justify-content: center;
    }
    .footer-links {
        flex-wrap: wrap;
    gap: .75rem;
    }
    .footer-links a {
        background: var(--bg-h);
    border-radius: var(--radius-inner);
    padding: .375rem .75rem;
    }
    .footer-info {
        font-size: .8rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .comments-area {
        padding: 20px;
    }
    .comment-content {
        margin-top: 10px;
    padding-left: 0;
    }
    .breadcrumb {
        flex-wrap: wrap;
    }
    .hero-banner {
        height: 70vh;
    min-height: 28.125rem;
    width: 100%;
    }
    .hero-title {
        font-size: 2rem;
    letter-spacing: 1px;
    }
    .hero-subtitle {
        font-size: .9rem;
    margin-bottom: 20px;
    }
    .hero-quote-wrapper {
        padding: 12px 20px;
    }
    .hero-quote {
        font-size: .9rem;
    }
    .hero-content {
        padding: 20px;
    }
    .hero-wave-wrapper {
        height: 70px;
    }
}

@media (max-width: 600px) {
    .post-actions {
        align-items: stretch;
    flex-direction: column;
    }
    .post-share {
        justify-content: center;
    }
    .post-stats {
        align-items: center;
    flex-direction: column;
    gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
    .post-content {
        padding: 15px;
    }
    .post-meta {
        flex-wrap: wrap;
    gap: 10px;
    }
    .footer-links {
        flex-direction: column;
    gap: 10px;
    }
    .footer-widgets {
        gap: 1.5rem;
    grid-template-columns: 1fr;
    text-align: center;
    }
    .footer-widget-title {
        display: block;
    font-size: .9rem;
    }
    .footer-links-list a {
        font-size: .85rem;
    justify-content: center;
    padding: .375rem 0;
    }
    .footer-stats {
        justify-content: center;
    }
    .header-inner {
        height: 52px;
    padding: 0 10px;
    }
    .menu-toggle {
        height: 2.5rem;
    padding: .5rem;
    width: 2.5rem;
    }
    .menu-toggle span {
        height: .15625rem;
    width: 1.375rem;
    }
    .mobile-drawer {
        width: 280px;
    }
    .drawer-section {
        padding: 14px 16px;
    }
    .drawer-section-title {
        font-size: 11px;
    margin-bottom: 10px;
    }
    .drawer-nav a {
        font-size: 13px;
    padding: 10px 6px;
    }
    .drawer-links a {
        font-size: 13px;
    padding: 8px 0;
    }
    .drawer-nav {
        gap: 6px;
    }
    .drawer-nav .sub-menu {
        gap: 5px;
    }
    .drawer-nav .sub-menu a {
        font-size: 12px;
    padding: 8px 6px;
    }
    .drawer-nav .sub-menu .sub-menu a {
        font-size: 11px;
    padding: 6px;
    }
    .theme-option {
        padding: 8px;
    }
    .theme-option i {
        font-size: 14px;
    }
    .theme-option span {
        font-size: 12px;
    }
    .drawer-search-input {
        font-size: 13px;
    padding: 8px 10px;
    }
    .drawer-search-submit {
        padding: 8px 12px;
    }
    .social-link {
        height: 36px;
    width: 36px;
    }
    .social-link i {
        font-size: 16px;
    }
    .drawer-footer {
        padding: 14px 16px;
    }
    .drawer-footer p {
        font-size: 11px;
    }
    .drawer-home-link {
        font-size: 12px;
    padding: 6px 14px;
    }
    .post-article {
        padding: 20px;
    }
    .author-box {
        flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    }
    .author-box-avatar-wrapper {
        margin: 0 auto;
    }
    .author-box-header {
        flex-direction: column;
    gap: .5rem;
    }
    .author-box-website {
        align-self: center;
    }
    .site-footer {
        margin-top: 3rem;
    padding: 2rem 0 1rem;
    }
    .footer-stat-value {
        font-size: 1.25rem;
    }
    .footer-stat-label {
        font-size: .7rem;
    }
    .footer-links a {
        font-size: .8rem;
    padding: .3125rem .625rem;
    }
    .footer-info {
        font-size: .75rem;
    }
    .hero-banner {
        height: 60vh;
    min-height: 25rem;
    width: 100%;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: .85rem;
    }
    .hero-quote-wrapper {
    gap: 5px;
    padding: 10px 15px;
    }
    .quote-icon {
        font-size: 1.2rem;
    }
    .hero-quote {
        font-size: .8rem;
    }
    .scroll-text {
        font-size: .7rem;
    }
    .hero-wave-wrapper {
        height: 50px;
    }
}
