:root {
    --thunder-primary: #1e40af;
    --thunder-secondary: #3b82f6;
    --thunder-accent: #60a5fa;
    --thunder-light: #93c5fd;
    --thunder-electric: #dbeafe;
    --thunder-dark: #1e3a8a;
    --thunder-glow: #3b82f6;
}

.thunder-posts-header {
    padding: 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.2) 0%,
            rgba(59, 130, 246, 0.15) 50%,
            rgba(96, 165, 250, 0.1) 100%);
    color: #fff;
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.thunder-posts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.thunder-posts-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-glow) 20%,
            var(--thunder-light) 50%,
            var(--thunder-glow) 80%,
            transparent 100%);
    animation: thunder-header-pulse 3s ease-in-out infinite;
}

@keyframes thunder-header-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.thunder-posts-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thunder-posts-title i {
    color: var(--thunder-accent);
    text-shadow: 0 0 10px var(--thunder-glow);
    animation: thunder-icon-flicker 2s ease-in-out infinite;
}

@keyframes thunder-icon-flicker {

    0%,
    100% {
        text-shadow: 0 0 10px var(--thunder-glow);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 20px var(--thunder-glow), 0 0 30px var(--thunder-light);
        transform: scale(1.05);
    }
}

.thunder-posts-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.thunder-posts-list {
    padding: 0;
    position: relative;
}

.thunder-post-item {
    padding: 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.12) 0%,
            rgba(59, 130, 246, 0.08) 50%,
            rgba(96, 165, 250, 0.05) 100%);
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.thunder-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.thunder-post-item:hover {
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.18) 0%,
            rgba(59, 130, 246, 0.15) 50%,
            rgba(96, 165, 250, 0.12) 100%);
    transform: translateX(3px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2),
        0 0 25px rgba(59, 130, 246, 0.1);
}

.thunder-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--thunder-accent) 0%,
            var(--thunder-secondary) 50%,
            var(--thunder-primary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 8px 0 0 8px;
}

.thunder-post-item:hover::before {
    transform: scaleY(1);
    box-shadow: 0 0 10px var(--thunder-glow);
}


.thunder-post-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(59, 130, 246, 0.1) 50%,
            transparent 70%);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.thunder-post-item:hover::after {
    opacity: 1;
    transform: translateX(100%);
}

.thunder-post-top {
    border: 2px solid rgba(251, 191, 36, 0.7);
    background: linear-gradient(135deg,
            rgba(251, 191, 36, 0.12) 0%,
            rgba(245, 158, 11, 0.08) 100%);
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.25);
}

.thunder-post-top::before {
    background: linear-gradient(to bottom,
            rgba(251, 191, 36, 0.8),
            rgba(245, 158, 11, 0.6));
}

.thunder-top-badge {
    background: linear-gradient(135deg,
            rgba(251, 191, 36, 0.85) 0%,
            rgba(245, 158, 11, 0.85) 100%);
    color: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
    animation: thunder-badge-glow 2s ease-in-out infinite;
}

@keyframes thunder-badge-glow {

    0%,
    100% {
        box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
    }

    50% {
        box-shadow: 0 2px 6px rgba(251, 191, 36, 0.6), 0 0 15px rgba(251, 191, 36, 0.4);
    }
}

.thunder-post-image {
    flex: 0 0 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.thunder-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(59, 130, 246, 0.1) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thunder-post-item:hover .thunder-post-image::before {
    opacity: 1;
    animation: thunder-image-sweep 1s ease-out;
}

@keyframes thunder-image-sweep {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.thunder-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.05);
}

.thunder-post-item:hover .thunder-post-image img {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(1.15) contrast(1.1);
}

.thunder-post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.15) 0%,
            rgba(59, 130, 246, 0.08) 100%);
    color: rgba(147, 197, 253, 0.8);
    font-size: 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.thunder-placeholder-lightning {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg,
            var(--thunder-light) 0%,
            var(--thunder-secondary) 50%,
            var(--thunder-primary) 100%);
    opacity: 0;
    transform: translateX(-50%);
    animation: thunder-placeholder-strike 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--thunder-glow);
}

@keyframes thunder-placeholder-strike {

    0%,
    90%,
    100% {
        opacity: 0;
        height: 0;
    }

    5%,
    15% {
        opacity: 1;
        height: 100%;
    }

    10% {
        opacity: 0.7;
    }
}

.thunder-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.thunder-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.thunder-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.thunder-meta-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

.thunder-category-link {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(96, 165, 250, 0.15) 100%);
    color: var(--thunder-light);
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.thunder-category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.thunder-category-link:hover::before {
    left: 100%;
}

.thunder-category-link:hover {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.7) 0%,
            rgba(96, 165, 250, 0.6) 100%);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.7);
    transform: translateY(-1px);
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.thunder-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.thunder-post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.thunder-post-title:hover,
.thunder-post-title a:hover {
    color: var(--thunder-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.4);
}

.thunder-post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.thunder-post-excerpt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-accent) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thunder-post-item:hover .thunder-post-excerpt::before {
    opacity: 0.6;
}

.thunder-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.thunder-post-stats {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.thunder-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.thunder-stat-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
}

.thunder-read-more-btn {
    color: var(--thunder-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(96, 165, 250, 0.1) 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.thunder-read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.thunder-read-more-btn:hover::before {
    left: 100%;
}

.thunder-read-more-btn:hover {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.7) 0%,
            rgba(96, 165, 250, 0.6) 100%);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    text-shadow: none;
}

.thunder-category-list {
    list-style: none;
    padding: 0;
}

.thunder-category-item {
    margin-bottom: 8px;
}

.thunder-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.thunder-category-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--thunder-accent),
            var(--thunder-secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.thunder-category-item a:hover::before {
    transform: scaleY(1);
}

.thunder-category-item a:hover {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(96, 165, 250, 0.1) 100%);
    color: var(--thunder-light);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.thunder-category-list .thunder-active {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(96, 165, 250, 0.15) 100%);
    color: var(--thunder-light);
    font-weight: 600;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.thunder-category-count {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(96, 165, 250, 0.15) 100%);
    color: var(--thunder-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.thunder-hot-posts {
    list-style: none;
    padding: 0;
}

.thunder-hot-post-item {
    margin-bottom: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.06) 0%,
            rgba(59, 130, 246, 0.03) 100%);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thunder-hot-post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--thunder-accent),
            var(--thunder-secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.thunder-hot-post-item:hover::before {
    transform: scaleY(1);
}

.thunder-hot-post-item:hover {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.12) 0%,
            rgba(96, 165, 250, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.thunder-hot-post-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.thunder-hot-post-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.thunder-hot-post-title:hover {
    color: var(--thunder-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 10px rgba(59, 130, 246, 0.3);
}

.thunder-hot-post-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(59, 130, 246, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.thunder-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) rgba(30, 64, 175, 0.1);
}

.thunder-archive-list::-webkit-scrollbar {
    width: 6px;
}

.thunder-archive-list::-webkit-scrollbar-track {
    background: rgba(30, 64, 175, 0.1);
    border-radius: 3px;
}

.thunder-archive-list::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,
            var(--thunder-accent),
            var(--thunder-secondary));
    border-radius: 3px;
    transition: background 0.3s ease;
}

.thunder-archive-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom,
            var(--thunder-light),
            var(--thunder-accent));
}

.thunder-archive-item {
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.thunder-archive-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--thunder-accent),
            var(--thunder-secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.thunder-archive-item:hover::before {
    transform: scaleY(1);
}

.thunder-archive-item:last-child {
    margin-bottom: 0;
}

.thunder-archive-item:hover {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(96, 165, 250, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.thunder-archive-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 12px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.thunder-archive-item:hover a {
    color: var(--thunder-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 8px rgba(59, 130, 246, 0.3);
}

.thunder-widget-title {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.thunder-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg,
            var(--thunder-accent) 0%,
            var(--thunder-secondary) 50%,
            var(--thunder-primary) 100%);
    border-radius: 1px;
    animation: thunder-title-glow 2s ease-in-out infinite;
}

@keyframes thunder-title-glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--thunder-glow);
        width: 30px;
    }

    50% {
        box-shadow: 0 0 15px var(--thunder-glow);
        width: 50px;
    }
}

.thunder-archive-count {
    display: inline-block;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(96, 165, 250, 0.15) 100%);
    color: var(--thunder-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-shadow: none;
    font-weight: 500;
}

.thunder-archive-empty {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.05) 0%,
            rgba(59, 130, 246, 0.03) 100%);
    border-radius: 8px;
    border: 1px dashed rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.thunder-archive-empty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-accent) 50%,
            transparent 100%);
    animation: thunder-empty-pulse 2s ease-in-out infinite;
}

@keyframes thunder-empty-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.thunder-archive-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: rgba(147, 197, 253, 0.6);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.thunder-archive-group {
    margin-bottom: 20px;
}

.thunder-archive-group-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.thunder-archive-group-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--thunder-accent);
    box-shadow: 0 0 5px var(--thunder-glow);
}

.thunder-archive-item::before {
    content: counter(archive-counter);
    counter-increment: archive-counter;
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(96, 165, 250, 0.15) 100%);
    color: var(--thunder-light);
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.thunder-archive-list {
    counter-reset: archive-counter;
}

.thunder-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    align-self: start;
}

.thunder-main-content {
    align-items: start;
    min-height: 100vh;
    overflow: visible;
}

.thunder-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: thunderFadeInUp 0.6s ease forwards;
}

@keyframes thunderFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.thunder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}


.thunder-breadcrumb {
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 15px 0;
    position: relative;
}

.thunder-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-accent) 20%,
            var(--thunder-secondary) 50%,
            var(--thunder-accent) 80%,
            transparent 100%);
    animation: thunder-breadcrumb-flow 3s ease-in-out infinite;
}

@keyframes thunder-breadcrumb-flow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.thunder-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.thunder-breadcrumb-inner a {
    color: var(--thunder-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.thunder-breadcrumb-inner a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--thunder-accent);
    transition: width 0.3s ease;
}

.thunder-breadcrumb-inner a:hover::before {
    width: 100%;
}

.thunder-breadcrumb-inner a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}


.thunder-widget {
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.thunder-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-accent) 20%,
            var(--thunder-secondary) 50%,
            var(--thunder-accent) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thunder-widget:hover::before {
    opacity: 0.6;
}

.thunder-widget-title {
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.1) 0%,
            rgba(59, 130, 246, 0.08) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.thunder-widget-title i {
    color: var(--thunder-accent);
    text-shadow: 0 0 10px var(--thunder-glow);
    animation: thunder-widget-icon-pulse 3s ease-in-out infinite;
}

@keyframes thunder-widget-icon-pulse {

    0%,
    100% {
        text-shadow: 0 0 10px var(--thunder-glow);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 15px var(--thunder-glow), 0 0 25px var(--thunder-light);
        transform: scale(1.05);
    }
}

.thunder-widget-content {
    padding: 20px;
}


.thunder-post-lightning {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 1px;
    height: 0;
    background: linear-gradient(180deg,
            #ffffff 0%,
            var(--thunder-light) 30%,
            var(--thunder-secondary) 70%,
            var(--thunder-primary) 100%);
    opacity: 0;
    transform-origin: top;
    box-shadow: 0 0 10px var(--thunder-glow);
}

.thunder-lightning-active {
    opacity: 1;
    height: 80%;
    animation: thunder-post-strike 0.8s ease-out;
}

@keyframes thunder-post-strike {
    0% {
        opacity: 0;
        height: 0;
    }

    10% {
        opacity: 1;
        height: 80%;
        box-shadow: 0 0 15px var(--thunder-glow);
    }

    20% {
        opacity: 0.7;
    }

    30% {
        opacity: 1;
        box-shadow: 0 0 20px var(--thunder-glow);
    }

    100% {
        opacity: 0;
        height: 80%;
    }
}

.thunder-widget-lightning {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--thunder-light) 0%,
            var(--thunder-secondary) 50%,
            var(--thunder-primary) 100%);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    box-shadow: 0 0 10px var(--thunder-glow);
}

.thunder-widget-lightning-active {
    opacity: 1;
    transform: scaleY(1);
    animation: thunder-widget-strike 0.8s ease-out;
}

@keyframes thunder-widget-strike {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    10% {
        opacity: 1;
        transform: scaleY(1);
        box-shadow: 0 0 15px var(--thunder-glow);
    }

    20% {
        opacity: 0.7;
    }

    30% {
        opacity: 1;
        box-shadow: 0 0 20px var(--thunder-glow);
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
    }
}


.thunder-bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.thunder-clouds-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.thunder-lightning-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.thunder-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.thunder-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(147, 197, 253, 0.05) 30%,
            transparent 70%);
    opacity: 0;
    pointer-events: none;
}

.thunder-energy-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.02) 0%, transparent 60%);
    animation: thunder-energy-pulse 8s ease-in-out infinite;
}

@keyframes thunder-energy-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}


@media (max-width: 768px) {
    .thunder-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }

    .thunder-sidebar {
        position: static;
        order: 1;
        max-height: none;
    }

    .thunder-post-item {
        flex-direction: column;
        gap: 15px;
        background: linear-gradient(135deg,
                rgba(30, 64, 175, 0.15) 0%,
                rgba(59, 130, 246, 0.1) 100%);
        margin-bottom: 15px;
        padding: 18px;
    }

    .thunder-post-image {
        flex: none;
        height: 160px;
        border-radius: 6px;
    }

    .thunder-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .thunder-post-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .thunder-meta-item,
    .thunder-stat-item {
        background: rgba(59, 130, 246, 0.12);
        padding: 3px 6px;
        font-size: 12px;
    }

    .thunder-category-item a {
        padding: 10px 12px;
        background: linear-gradient(135deg,
                rgba(30, 64, 175, 0.1) 0%,
                rgba(59, 130, 246, 0.08) 100%);
    }

    .thunder-archive-list {
        max-height: 300px;
    }

    .thunder-archive-item {
        margin-bottom: 6px;
    }

    .thunder-archive-item a {
        font-size: 12px;
        padding: 10px 12px;
    }

    .thunder-archive-count {
        font-size: 10px;
        padding: 1px 6px;
    }

    .thunder-breadcrumb-inner {
        padding: 0 15px;
    }

    .thunder-posts-title {
        font-size: 18px;
    }

    .thunder-post-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .thunder-container {
        padding: 15px 10px;
    }

    .thunder-post-item {
        padding: 15px;
    }

    .thunder-posts-header {
        padding: 15px;
    }

    .thunder-posts-title {
        font-size: 16px;
        gap: 8px;
    }

    .thunder-post-title {
        font-size: 15px;
    }

    .thunder-widget-title {
        padding: 15px;
        font-size: 14px;
    }

    .thunder-widget-content {
        padding: 15px;
    }

    .thunder-archive-list {
        max-height: 250px;
    }

    .thunder-archive-item {
        margin-bottom: 5px;
    }

    .thunder-archive-item a {
        font-size: 11px;
        padding: 8px 10px;
    }

    .thunder-breadcrumb-inner {
        padding: 0 10px;
        font-size: 13px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .thunder-fade-in,
    .thunder-post-item,
    .thunder-category-item a,
    .thunder-read-more-btn,
    .thunder-widget,
    .thunder-posts-title i,
    .thunder-widget-title i {
        animation: none !important;
        transition: none !important;
    }

    .thunder-bg-effects {
        display: none !important;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 64, 175, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,
            var(--thunder-accent),
            var(--thunder-secondary));
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom,
            var(--thunder-light),
            var(--thunder-accent));
}


::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}


.thunder-post-item:focus,
.thunder-category-item a:focus,
.thunder-hot-post-title:focus,
.thunder-archive-item a:focus,
.thunder-read-more-btn:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}


.thunder-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: var(--thunder-accent);
    animation: thunder-spin 1s ease-in-out infinite;
}

@keyframes thunder-spin {
    to {
        transform: rotate(360deg);
    }
}


.thunder-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg,
            rgba(30, 64, 175, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.thunder-empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--thunder-accent) 50%,
            transparent 100%);
    animation: thunder-empty-flow 2s ease-in-out infinite;
}

@keyframes thunder-empty-flow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.thunder-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: rgba(147, 197, 253, 0.6);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.thunder-empty-state p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}