/* Variables - Top Tier Anime Glassmorphism */
:root {
    --primary-color: #ff8fb8;
    /* Sakura Pink */
    --secondary-color: #8faaff;
    /* Pastel Blue */
    --accent-color: #d1b3ff;
    /* Pastel Purple */
    --text-main: #5c6270;
    --text-light: #9ea8bd;
    --bg-color: #f7f9fc;
    --card-bg: rgba(255, 255, 255, 0.85);
    /* Frost glass */
    --glass-border: rgba(255, 255, 255, 0.9);
    --border-radius-lg: 32px;
    --border-radius-md: 20px;
    --border-radius-sm: 14px;
    --shadow-soft: 0 10px 30px rgba(255, 143, 184, 0.15);
    --shadow-hover: 0 15px 40px rgba(143, 170, 255, 0.25);
    --transition-fast: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Super bouncy kawaii easing */

    /* Lamp Variables */
    --lamp-shade: #ff8fb8;
    --lamp-bulb-on: #fffde7;
    --lamp-bulb-off: #cbd5e1;
}

[data-theme="dark"] {
    --primary-color: #ffb7c5;
    --secondary-color: #bdc8ff;
    --accent-color: #d1b3ff;
    --text-main: #f0f4f8;
    --text-light: #a6b2c6;
    --bg-color: #1a1b26;
    /* Deep anime starry night blue */
    --card-bg: rgba(30, 32, 48, 0.65);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 15px 40px rgba(255, 183, 197, 0.2);
    --lamp-shade: #2d3142;
}

/* Master Structural Grid */
body {
    background-color: var(--bg-color);
    background-image: radial-gradient(rgba(255, 143, 184, 0.15) 2px, transparent 2px);
    background-size: 35px 35px;
    background-attachment: fixed;
    font-family: 'Nunito', 'Microsoft YaHei', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

.premium-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
    padding: 0 20px 60px 20px;
}

/* Glass Card Core */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--glass-border);
    /* Thicker soft border for cute look */
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 143, 184, 0.3);
}

/* Master Header */
.site-header {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--glass-border);
    border-top: none;
    margin: 0 auto 30px auto;
    max-width: 1160px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.main-navigation li a {
    color: var(--text-main);
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
}

.main-navigation li a:hover {
    background: rgba(255, 143, 184, 0.15);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Master Breadcrumb */
.site-header-breadcrumb {
    max-width: 1160px;
    margin: 0 auto 30px auto;
    padding: 15px 30px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--border-radius-lg);
}

/* Cute Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 143, 184, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(143, 170, 255, 0.8));
    }
}

/* Revamped Mega-Cute Graphic Novel Banner */
.hero-banner-wrapper {
    margin-bottom: 40px;
    animation: floating 8s ease-in-out infinite;
}

.master-banner {
    background: linear-gradient(to right, rgba(255, 143, 184, 0.6), rgba(26, 27, 38, 0.2)), url('../img/hero-bg.webp') center 20%/cover no-repeat;
    height: 380px;
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    box-shadow: 0 15px 40px rgba(255, 143, 184, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.9);
    margin: 0;
}

.banner-clouds {
    position: absolute;
    bottom: -5px;
    left: -5%;
    width: 110%;
    height: 140px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.5)" d="M0,100 C150,100 350,0 500,100 C650,100 850,0 1000,100 L1000,100 L0,100 Z"/><path fill="rgba(255,255,255,1)" d="M0,100 C200,100 300,40 500,100 C700,100 800,40 1000,100 L1000,100 L0,100 Z"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    text-align: center;
}

.badge-tag {
    display: inline-block;
    background: white;
    color: #ff8fb8;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 143, 184, 0.3);
    animation: floating 4s ease-in-out infinite;
}

.master-title {
    font-size: 3.5rem;
    margin: 0 0 15px;
    font-weight: 900;
    color: white;
    /* 3D Sticker outline effect */
    text-shadow: 0px 4px 0px #ff8fb8, 0px 8px 25px rgba(255, 143, 184, 0.8);
    letter-spacing: 3px;
    line-height: 1.2;
}

.master-subtitle {
    font-size: 1.15rem;
    margin: 0 0 30px;
    font-weight: 900;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 12px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.banner-btn {
    display: inline-block;
    background: white;
    color: #ff8fb8;
    font-weight: 900;
    padding: 12px 35px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 143, 184, 0.5);
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.banner-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 143, 184, 0.7);
    color: var(--secondary-color);
}

.banner-mascot {
    display: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Dark mode adjustments for banner */
[data-theme="dark"] .master-banner {
    background: linear-gradient(to right, rgba(26, 27, 38, 0.9), rgba(26, 27, 38, 0.5)), url('../img/hero-bg.webp') center 20%/cover no-repeat;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .badge-tag {
    background: #3b2848;
    color: white;
}

[data-theme="dark"] .master-title {
    text-shadow: 0px 4px 0px #5c3a70, 0px 8px 25px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .banner-clouds {
    opacity: 0.15;
    filter: hue-rotate(200deg);
}

/* Articles List Master Layout */
.articles-list-card {
    padding: 0;
}

.section-title {
    margin: 0;
    padding: 25px 30px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-color);
    border-bottom: 2px dashed rgba(255, 143, 184, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 1.8rem;
    animation: pulse-glow 3s infinite;
}

.master-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.15);
    transition: var(--transition-fast);
    position: relative;
    cursor: pointer;
}

[data-theme="dark"] .article-row {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.article-row:last-child {
    border-bottom: none;
}

.article-row:hover {
    background: linear-gradient(90deg, rgba(255, 143, 184, 0.05), transparent);
    padding-left: 40px;
}

.list-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.anime-post-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(255, 143, 184, 0.3);
    transition: var(--transition-fast);
    background: white;
}

.article-row:hover .anime-post-avatar img {
    transform: rotate(15deg) scale(1.15);
    border-color: var(--primary-color);
}

.article-link {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 800;
}

.article-link:hover {
    color: var(--primary-color);
}

.list-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.85rem;
    color: var(--text-light);
    min-width: 100px;
    gap: 8px;
}

.list-author {
    background: rgba(255, 143, 184, 0.15);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
}

/* Master Sidebar CSS */
.widget_search {
    padding: 25px;
}

.master-search-form {
    display: flex;
    background: var(--bg-color);
    border-radius: 50px;
    padding: 5px;
    border: 2px solid var(--glass-border);
    transition: var(--transition-fast);
}

.master-search-form:focus-within {
    box-shadow: 0 4px 20px rgba(255, 143, 184, 0.25);
    border-color: var(--primary-color);
}

.master-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    color: var(--text-main);
    outline: none;
    font-size: 1rem;
}

.master-search-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.1rem;
}

.master-search-form button:hover {
    transform: scale(1.05);
}

.widget-title {
    padding: 20px 25px;
    margin: 0;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.2);
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

/* Categories Grid */
.master-grid-list {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.master-grid-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 143, 184, 0.05);
    border-radius: var(--border-radius-md);
    font-weight: 800;
    color: var(--text-main);
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.master-grid-list li a:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    color: var(--primary-color);
}

[data-theme="dark"] .master-grid-list li a:hover {
    background: var(--bg-color);
}

.cat-count {
    font-size: 0.85rem;
    color: var(--secondary-color);
    background: rgba(143, 170, 255, 0.15);
    padding: 3px 12px;
    border-radius: 12px;
    margin-top: 8px;
    font-weight: 900;
}

/* Comments List */
.master-comment-list {
    list-style: none;
    margin: 0;
    padding: 20px 25px;
}

.master-comment-list li {
    padding: 15px 0;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.15);
}

.master-comment-list li:last-child {
    border-bottom: none;
}

.comment-author-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(255, 143, 184, 0.3);
}

.comment-text a {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    transition: 0.2s;
}

.comment-text a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Archive */
.master-time-list {
    list-style: none;
    margin: 0;
    padding: 20px 25px;
}

.master-time-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.15);
    font-weight: 800;
}

.master-time-list li:last-child {
    border-bottom: none;
}

.master-time-list li a {
    color: var(--text-main);
}

.master-time-list li a:hover {
    color: var(--primary-color);
}

.time-count {
    background: rgba(255, 143, 184, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 900;
}

/* Tag Cloud */
.master-tag-cloud {
    padding: 20px 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.master-tag {
    background: rgba(255, 143, 184, 0.1);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 800;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.master-tag:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(255, 143, 184, 0.25);
}


/* Magic Lamp Styling */
.theme-lamp-container {
    position: fixed;
    top: 0;
    left: 4%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lamp-cord {
    width: 3px;
    height: 60px;
    background: var(--lamp-shade);
    transition: background 0.4s ease;
}

.lamp-shade {
    width: 60px;
    height: 35px;
    background: var(--lamp-shade);
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
}

.lamp-bulb {
    width: 30px;
    height: 30px;
    background: var(--lamp-bulb-on);
    border-radius: 50%;
    margin-top: -15px;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px var(--lamp-bulb-on), 0 0 50px var(--lamp-bulb-on);
}

[data-theme="dark"] .lamp-bulb {
    background: var(--lamp-bulb-off);
    box-shadow: none;
}

[data-theme="dark"] .lamp-shade {
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.5);
}

.lamp-pull-string {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    cursor: grab;
    z-index: 3;
}

.lamp-pull-string:active {
    cursor: grabbing;
}

.pull-cord {
    width: 2px;
    height: 70px;
    background: repeating-linear-gradient(0deg, #ff8fb8, #ff8fb8 4px, #fbc1d4 4px, #fbc1d4 8px);
}

[data-theme="dark"] .pull-cord {
    background: repeating-linear-gradient(0deg, #94a3b8, #94a3b8 4px, #64748b 4px, #64748b 8px);
}

.pull-knob {
    width: 18px;
    height: 18px;
    background: #ffde59;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lamp-pull-string:hover .pull-knob {
    background: #ffbd59;
    transform: scale(1.2);
    transition: 0.2s;
}

/* Animation for the ♥ */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.heart {
    color: var(--primary-color);
    animation: heartbeat 1.2s infinite;
    display: inline-block;
}

/* Single Page Master Styles */
.single-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
    padding: 0 20px 60px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.single-article {
    padding: 0;
}

.single-thumbnail img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-bottom: 4px solid rgba(255, 143, 184, 0.4);
}

.single-content-wrap {
    padding: 50px;
}

.single-header {
    text-align: center;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.3);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.single-entry-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 25px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.author-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 143, 184, 0.1);
    padding: 6px 18px 6px 6px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 900;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.author-badge:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 143, 184, 0.3);
    transform: translateY(-2px);
}

.author-badge img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--glass-border);
}

/* Content Formatting (The "Cute" Typography) */
.cute-content {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 2.2;
}

.cute-content p {
    margin-bottom: 20px;
}

.cute-content h2,
.cute-content h3 {
    color: var(--primary-color);
    font-weight: 900;
    position: relative;
    padding-left: 25px;
    margin: 50px 0 25px;
}

.cute-content h2::before {
    content: '🌸';
    position: absolute;
    left: -15px;
    top: 2px;
    font-size: 1.5rem;
    animation: floating 4s infinite;
}

.cute-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 25px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* Smooth Images */
.cute-content img,
.cute-content .wp-caption {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    margin: 20px 0;
    max-width: 100%;
}

.cute-content blockquote {
    background: rgba(143, 170, 255, 0.1);
    border-left: 6px solid var(--secondary-color);
    margin: 30px 0;
    padding: 20px 30px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-style: italic;
    color: var(--text-main);
    font-weight: 600;
}

/* Code Highlighting Tweaks (Tokyo-Night Style!) */
.cute-content pre {
    margin: 30px 0;
}

.hljs {
    border-radius: var(--border-radius-md) !important;
    padding: 25px !important;
    box-shadow: var(--shadow-soft);
    background: #1a1b26 !important;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

/* Post Footer */
.single-footer {
    margin-top: 50px;
    border-top: 2px dashed rgba(255, 143, 184, 0.2);
    padding-top: 30px;
}

.post-tags-cute a {
    display: inline-block;
    background: rgba(255, 143, 184, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.post-tags-cute a:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 143, 184, 0.3);
}

.post-nav-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.post-nav-wrapper a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-color);
    border: 2px solid var(--glass-border);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    flex: 1;
    transition: var(--transition-fast);
    text-align: center;
}

.post-nav-wrapper a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.nav-dir {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 800;
    margin-bottom: 8px;
}

.nav-title {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* TOC Sidebar Magic */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.toc-card {
    padding: 30px;
}

.toc-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.2);
    padding-bottom: 15px;
}

.toc-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: relative;
}

.toc-list ul::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 143, 184, 0.2);
    border-radius: 2px;
}

.toc-list li {
    margin-bottom: 12px;
    position: relative;
}

.toc-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 9px;
    height: 9px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

.toc-list li:hover::before {
    opacity: 1;
    transform: scale(1.5);
}

.toc-list a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
    padding-left: 25px;
    transition: var(--transition-fast);
}

.toc-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Comments Area Love Wall */
.cute-comments {
    padding: 40px 50px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    background: rgba(255, 143, 184, 0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-bottom: 25px;
    border: 2px solid var(--glass-border);
    transition: var(--transition-fast);
}

.comment-list .comment:hover {
    border-color: rgba(255, 143, 184, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .comment-list .comment {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
    vertical-align: middle;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.comment-author .fn {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.comment-meta {
    margin-bottom: 15px;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.2);
    padding-bottom: 15px;
}

.comment-meta a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
}

.reply {
    margin-top: 15px;
}

.reply a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 900;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(255, 143, 184, 0.3);
    transition: var(--transition-fast);
}

.reply a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(143, 170, 255, 0.4);
}

/* Comment Form */
.comment-form-comment textarea {
    width: 100%;
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    font-size: 1.05rem;
    background: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    box-sizing: border-box;
    min-height: 150px;
    transition: var(--transition-fast);
    resize: vertical;
    font-weight: 600;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 0 20px rgba(255, 143, 184, 0.2);
}

/* Globals */
#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

#reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 15px var(--primary-color);
    border-radius: 0 4px 4px 0;
}

#back-to-top {
    position: fixed;
    bottom: -80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast), bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 99;
    color: var(--primary-color);
}

#back-to-top.show {
    bottom: 30px;
}

#back-to-top:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 143, 184, 0.4);
}

.rocket {
    font-size: 1.8rem;
}

/* Read more Button globally aligned */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 143, 184, 0.4);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.read-more-btn:hover {
    box-shadow: 0 6px 20px rgba(143, 170, 255, 0.5);
    transform: translateY(-3px) scale(1.03);
    color: white;
}

.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    margin-top: 40px;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Global WordPress Default Widget Styles (Bulletproof Anime Fallbacks) */
.master-sidebar>* {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--glass-border);
    margin-bottom: 30px;
    padding: 30px;
    transition: var(--transition-fast);
}

.master-sidebar>*:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 143, 184, 0.3);
}

.master-sidebar h2,
.master-sidebar .widget-title,
.master-sidebar h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
    border-bottom: 2px dashed rgba(255, 143, 184, 0.2);
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.master-sidebar h2::before,
.master-sidebar .widget-title::before,
.master-sidebar h3::before {
    content: '✨';
    animation: floating 4s infinite;
}

.master-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.master-sidebar ul li {
    padding: 12px 0 12px 25px;
    border-bottom: 2px dashed rgba(255, 143, 184, 0.15);
    position: relative;
    transition: var(--transition-fast);
}

.master-sidebar ul li:last-child {
    border-bottom: none;
}

.master-sidebar ul li::before {
    content: '🌸';
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 0.9rem;
    transition: 0.3s;
    opacity: 0.8;
}

.master-sidebar ul li:hover {
    padding-left: 35px;
    background: linear-gradient(90deg, rgba(255, 143, 184, 0.05), transparent);
}

.master-sidebar ul li:hover::before {
    transform: rotate(45deg) scale(1.2);
    opacity: 1;
}

.master-sidebar ul li a {
    color: var(--text-main);
    font-weight: 800;
    font-size: 0.95rem;
}

.master-sidebar ul li a:hover {
    color: var(--primary-color);
}

.master-sidebar .search-form {
    display: flex;
    background: var(--bg-color);
    border-radius: 50px;
    padding: 5px;
    border: 2px solid var(--glass-border);
    transition: var(--transition-fast);
}

.master-sidebar .search-form:focus-within {
    box-shadow: 0 4px 20px rgba(255, 143, 184, 0.25);
    border-color: var(--primary-color);
}

.master-sidebar .search-form label {
    flex: 1;
    margin: 0;
}

.master-sidebar .search-form .search-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 20px;
    color: var(--text-main);
    outline: none;
    font-size: 1rem;
    font-weight: 600;
}

.master-sidebar .search-form .search-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
    font-weight: 900;
}

.master-sidebar .search-form .search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 143, 184, 0.4);
}

@media (max-width: 992px) {

    .premium-layout,
    .single-post-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 20px;
        border-radius: 0;
        gap: 15px;
    }

    .theme-lamp-container {
        left: auto;
        right: 5%;
        transform: scale(0.6);
        transform-origin: top center;
    }

    .single-content-wrap {
        padding: 30px 20px;
    }

    .single-entry-title {
        font-size: 1.8rem;
    }

    .cute-comments {
        padding: 30px 20px;
    }
}