/* =========================================
   MetaZone-2026 - 二次元简约风格主题
   ========================================= */

:root {
    --primary-color: #ff7eb3;
    --secondary-color: #ff9fba;
    --accent-color: #e55d9a;
    --tertiary-color: #c490e4;
    --text-color: #4a4a4a;
    --text-light: #8a8a8a;
    --bg-color: #fff5f9;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #fce4ec;
    --shadow: 0 4px 20px rgba(255, 126, 179, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 126, 179, 0.25);
    --gradient-1: linear-gradient(135deg, #e55d9a 0%, #ff7eb3 50%, #c490e4 100%);
    --gradient-2: linear-gradient(135deg, #7eb3ff 0%, #90bae4 50%, #e490c4 100%);
    --gradient-3: linear-gradient(135deg, #b3ff7e 0%, #7eff9f 50%, #90e4ba 100%);
    --radius: 16px;
    --radius-large: 24px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,126,179,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196,144,228,0.08) 0%, transparent 50%);
}



body.bg-waves {
    background:
        linear-gradient(135deg, rgba(255,126,179,0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,126,179,0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(196,144,228,0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(196,144,228,0.03) 25%, transparent 25%);
    background-size: 80px 80px;
    background-color: #fff5f9;
}

body.bg-grid {
    background-image:
        linear-gradient(rgba(255,126,179,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,126,179,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: #fff5f9;
}

body.bg-plain {
    background: linear-gradient(180deg, #fff5f9 0%, #fff 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

/* =========================================
   Header
   ========================================= */

.site-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(255, 126, 179, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-logo img {
    max-height: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255,126,179,0.2);
}

.site-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

.site-title a {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 4px 0 0;
}

.main-navigation {
    display: flex;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .active a {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu .active a::before {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* =========================================
   Container
   ========================================= */

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* =========================================
   Post List
   ========================================= */

.archive-title {
    font-size: 1.3rem;
    color: var(--text-light);
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 3px dashed var(--border-color);
    position: relative;
}

.archive-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.post-list {
    display: grid;
    gap: 25px;
}

.post-card {
    background: var(--card-bg);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    border: 1px solid rgba(255,126,179,0.1);
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: rgba(255,126,179,0.3);
}

.post-cover {
    width: 260px;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    flex-shrink: 0;
}

.post-cover.has-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.post-overlay {
    z-index: 1;
    position: relative;
    color: white;
}

.post-overlay .post-category {
    color: white;
}

.post-overlay .post-category:hover {
    color: #ff7eb3;
}

.post-category {
    background: transparent;
    color: inherit;
    padding: 8px 0;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.post-category:hover {
    color: var(--primary-color);
}

.post-info {
    flex: 1;
    padding: 22px 25px;
    display: flex;
    flex-direction: column;
}

.post-info.no-cover {
    padding: 25px;
}

.post-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.4;
}

.post-title a {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    color: var(--primary-color);
}

.icon {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s ease;
}

.post-excerpt:hover {
    color: var(--primary-color);
}

/* =========================================
   Single Post
   ========================================= */

.post-single {
    background: var(--card-bg);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,126,179,0.1);
}

.post-header {
    margin-bottom: 0;
}

.post-header-bg {
    position: relative;
    background: linear-gradient(135deg, rgba(255,126,179,0.1) 0%, rgba(196,144,228,0.1) 100%);
    padding: 40px;
    overflow: hidden;
}

.header-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.header-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.post-header .post-category {
    font-size: 0.95rem;
    padding: 8px 0;
    background: transparent;
    color: inherit;
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.post-header .post-category:hover {
    color: var(--primary-color);
}

.post-header .post-title {
    font-size: 2.2rem;
    margin: 0 0 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-header .post-meta {
    justify-content: center;
    flex-wrap: wrap;
}

.post-body {
    padding: 40px;
}

.post-content {
    line-height: 1.95;
    font-size: 1.05rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 35px 0 18px;
    color: var(--text-color);
}

.post-content h2 {
    font-size: 1.7rem;
    padding-left: 20px;
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.post-content h3 {
    font-size: 1.45rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 22px;
}

.post-content a {
    color: var(--primary-color);
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s ease;
}

.post-content a:hover {
    border-bottom-style: solid;
    border-color: var(--accent-color);
}

.post-content ul,
.post-content ol {
    margin: 22px 0;
    padding-left: 28px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255,126,179,0.1), rgba(196,144,228,0.1));
    border-left: 4px solid;
    border-image: var(--gradient-1) 1;
    border-radius: 12px;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.post-content code {
    background: linear-gradient(135deg, rgba(255,126,179,0.15), rgba(196,144,228,0.15));
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Consolas', 'Monaco', monospace;
}

.post-content pre {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #2d2d3d 0%, #1a1a2e 100%);
    color: #f8f8f2;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid rgba(255,126,179,0.1);
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-content img {
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.post-content th,
.post-content td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.post-content th {
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
}

.post-content tr:hover td {
    background: linear-gradient(90deg, rgba(255,126,179,0.05), rgba(196,144,228,0.05));
}

.post-footer {
    padding: 30px 40px;
    background: linear-gradient(180deg, rgba(255,126,179,0.03) 0%, rgba(196,144,228,0.03) 100%);
    border-top: 2px dashed var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 30px;
}

.post-tags svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.no-tags {
    color: var(--text-light);
    font-style: italic;
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--gradient-1);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255,126,179,0.2);
}

.tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(255,126,179,0.3);
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-prev,
.nav-next {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-prev:hover,
.nav-next:hover {
    color: var(--primary-color);
    border-color: rgba(255,126,179,0.3);
    box-shadow: var(--shadow);
}

.nav-prev.disabled,
.nav-next.disabled {
    color: var(--text-light);
    cursor: default;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.nav-prev.disabled:hover,
.nav-next.disabled:hover {
    border-color: transparent;
    box-shadow: none;
    color: var(--text-light);
}

/* =========================================
   Page
   ========================================= */

.page-single {
    background: var(--card-bg);
    border-radius: var(--radius-large);
    padding: 40px;
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--border-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    line-height: 1.9;
}

/* =========================================
   Pagination
   ========================================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255,126,179,0.3);
}

/* =========================================
   Sidebar
   ========================================= */

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-inner {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,126,179,0.1);
}

.widget:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: rgba(255,126,179,0.2);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border-color);
    color: var(--text-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.widget-about .widget-title {
    margin-bottom: 20px;
}

.widget-profile {
    text-align: center;
}

.profile-avatar {
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.profile-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    box-shadow: 0 6px 20px rgba(255,126,179,0.25), 0 0 0 3px var(--primary-color);
    transition: all 0.3s ease;
}

.profile-avatar:hover img {
    transform: rotate(5deg) scale(1.05);
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    min-width: 0;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255,126,179,0.1);
}

.search-form button {
    padding: 0 16px;
    min-width: 46px;
    height: 46px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,126,179,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-form button:hover {
    box-shadow: 0 6px 20px rgba(255,126,179,0.35);
    transform: scale(1.05);
}

.search-form button svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.3s ease;
}

.widget-list li:hover {
    padding-left: 8px;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li a {
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.widget-list li a:hover {
    color: var(--primary-color);
}

.widget-list li span {
    color: var(--text-light);
    font-size: 0.88rem;
    background: linear-gradient(135deg, rgba(255,126,179,0.1), rgba(196,144,228,0.1));
    padding: 2px 10px;
    border-radius: 15px;
}

.widget-list .post-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255,126,179,0.1), rgba(196,144,228,0.1));
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-cloud a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(255,126,179,0.3);
    border-color: rgba(255,126,179,0.3);
}

/* =========================================
   Comments
   ========================================= */

.comments-section {
    margin-top: 30px;
    background: var(--card-bg);
    border-radius: var(--radius-large);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,126,179,0.1);
}

.comments-title {
    font-size: 1.4rem;
    margin: 0 0 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--border-color);
    position: relative;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.comment-item {
    display: flex;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.3s ease;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item:hover {
    background: linear-gradient(90deg, rgba(255,126,179,0.02), transparent);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.comment-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid;
    border-image: var(--gradient-1) 1;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

.comment-body {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.comment-reply a {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.comment-reply a:hover {
    color: var(--accent-color);
}

.comments-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.form-title {
    font-size: 1.3rem;
    margin: 35px 0 25px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 22px;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255,126,179,0.1);
}

.form-submit {
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(255,126,179,0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(255,126,179,0.4);
    transform: translateY(-3px);
}

/* =========================================
   Error & Empty
   ========================================= */

.empty-state,
.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon,
.error-404-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    fill: var(--primary-color);
    opacity: 0.5;
}

.error-404 h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404 p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(255,126,179,0.03) 100%);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px dashed var(--border-color);
    margin-top: 50px;
}

.footer-inner p {
    color: var(--text-light);
    margin: 10px 0;
    font-size: 0.9rem;
}

.footer-inner a {
    color: var(--primary-color);
    font-weight: 500;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 992px) {
    .post-card {
        flex-direction: column;
    }

    .post-cover {
        width: 100%;
        min-height: 220px;
    }

    .post-info {
        padding: 22px;
    }

    .post-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .sidebar {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 22px;
    }

    .sidebar-inner {
        position: static;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .main-navigation.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 14px 25px;
        background: linear-gradient(135deg, rgba(255,126,179,0.05), transparent);
        border-radius: 12px;
    }

    .nav-menu a:hover,
    .nav-menu .active a {
        background: var(--gradient-1);
        color: white;
        -webkit-text-fill-color: white;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .post-single,
    .page-single,
    .comments-section {
        padding: 25px;
    }

    .post-body {
        padding: 25px;
    }

    .post-footer {
        padding: 25px;
    }

    .post-header .post-title {
        font-size: 1.6rem;
    }

    .post-header-bg {
        padding: 30px 25px;
    }

    .post-nav {
        flex-direction: row;
        gap: 10px;
    }

    .nav-prev,
    .nav-next {
        padding: 10px;
        font-size: 0.9rem;
    }

    .error-404 h1 {
        font-size: 3rem;
    }

    .widget {
        padding: 22px;
    }
}

/* =========================================
   Floating Decoration
   ========================================= */

.floating-decoration {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.08;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.floating-decoration-2 {
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.floating-decoration:first-child {
    top: 10%;
    left: 5%;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
    }
}

/* =========================================
   Scrollbar
   ========================================= */

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

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* =========================================
   Selection
   ========================================= */

::selection {
    background: rgba(255,126,179,0.2);
    color: var(--accent-color);
}

::-moz-selection {
    background: rgba(255,126,179,0.2);
    color: var(--accent-color);
}
