.layui-card {
    border-radius: var(--aura-radius) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    border: 1px solid var(--aura-border) !important;
    margin-bottom: 20px;
    transition: transform var(--aura-duration) var(--aura-ease), box-shadow var(--aura-duration) var(--aura-ease), border-color var(--aura-duration) var(--aura-ease);
}

.layui-card:hover {
    box-shadow: var(--aura-shadow-card) !important;
}

.layui-card-header {
    font-weight: 700;
    font-family: 'Outfit';
    border-bottom: 1px solid var(--aura-border) !important;
    padding: 0 20px !important;
    height: 50px !important;
    line-height: 50px !important;
}

.layui-card .layui-card-body {
    padding: 16px 20px;
}

.layui-form .layui-input,
.layui-form .layui-textarea {
    border-radius: 8px;
    border-color: #e5e7eb;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.layui-form .layui-input:focus,
.layui-form .layui-textarea:focus {
    border-color: var(--aura-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
}

.aura-btn-primary {
    background: linear-gradient(135deg, #ff6a3d 0%, var(--aura-primary) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255, 87, 34, 0.2);
}

.aura-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 87, 34, 0.24);
}

.aura-article-list-container {
    background: #fff;
    border-radius: var(--aura-radius);
    border: 1px solid var(--aura-border);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-item {
    display: flex;
    padding: 20px;
    gap: 20px;
    background-color: #fdfdfd;
    border: 1px solid var(--aura-border, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--aura-primary, #1e9fff);
    transform: translateY(-4px);
}

.article-item:last-child {
    margin-bottom: 0;
}

.article-thumb-wrap {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
}

.article-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.article-item:hover .article-thumb {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    transition: 0.2s;
}

.article-item:hover h3 {
    color: var(--aura-primary);
}

.article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    gap: 20px;
    align-items: center;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-meta span i {
    color: var(--aura-primary);
    font-size: 15px;
}

.article-meta a {
    color: inherit;
    transition: color .3s;
}

.article-meta a:hover {
    color: var(--aura-primary);
}

.article-title-link {
    color: inherit;
}

.article-tags {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-pill:nth-child(6n+1) { background: rgba(30, 159, 255, 0.08); color: #1e9fff; }
.tag-pill:nth-child(6n+2) { background: rgba(0, 150, 136, 0.08); color: #009688; }
.tag-pill:nth-child(6n+3) { background: rgba(255, 87, 34, 0.08); color: #ff5722; }
.tag-pill:nth-child(6n+4) { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }
.tag-pill:nth-child(6n+5) { background: rgba(236, 72, 153, 0.08); color: #ec4899; }
.tag-pill:nth-child(6n+6) { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }

.tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    opacity: 0.9;
}

.tag-pill:nth-child(6n+1):hover { background: #1e9fff; color: #fff; }
.tag-pill:nth-child(6n+2):hover { background: #009688; color: #fff; }
.tag-pill:nth-child(6n+3):hover { background: #ff5722; color: #fff; }
.tag-pill:nth-child(6n+4):hover { background: #7c3aed; color: #fff; }
.tag-pill:nth-child(6n+5):hover { background: #ec4899; color: #fff; }
.tag-pill:nth-child(6n+6):hover { background: #f59e0b; color: #fff; }

.article-filter-bar {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--aura-border);
}

.article-filter-indicator {
    width: 4px;
    height: 18px;
    background: var(--aura-primary);
    border-radius: 2px;
}

.article-sort-nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 400;
    margin-left: 15px;
}

.article-sort-nav a {
    color: #888;
    transition: 0.2s;
}

.article-sort-nav a:hover,
.article-sort-nav a.active {
    color: var(--aura-primary);
}

.sidebar-box {
    margin-bottom: 10px;
}

.blogger-card {
    position: relative;
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .4s ease;
}

.blogger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,87,34,0.1) 0%, rgba(255,87,34,0.02) 100%);
    z-index: 0;
}

.blogger-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 18px;
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    object-fit: cover;
}

.blogger-card:hover .blogger-avatar {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(255,87,34,0.2);
}

.blogger-name {
    position: relative;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 8px;
    color: #1a1a1a;
    z-index: 1;
}

.blogger-motto {
    position: relative;
    font-size: 13.5px;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.6;
    z-index: 1;
}

.blogger-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
    z-index: 1;
}

.stat-item .count {
    font-weight: 800;
    color: #111;
    font-size: 17px;
    display: block;
    margin-bottom: 2px;
}

.stat-item .label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hot-article-list {
    padding: 10px 0;
}

.hot-article-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 12px;
    transition: 0.2s;
}

.hot-article-item:hover {
    background: #fefefe;
}

.hot-rank {
    width: 24px;
    height: 24px;
    background: #eee;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
}

.hot-rank.rank-1 { background: #ff5722; color: #fff; }
.hot-rank.rank-2 { background: #ffb800; color: #fff; }
.hot-rank.rank-3 { background: #5fb878; color: #fff; }

.hot-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.hot-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    gap: 4px;
}

.hot-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #444;
}

.hot-meta {
    font-size: 12px;
    color: #999;
}

.aura-popular-grid {
    margin-top: 30px;
}

.popular-card-wrap {
    position: relative;
}

.popular-card-inner {
    background: #fff;
    border: 1px solid var(--aura-border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    transition: 0.3s;
}

.popular-card-wrap:hover .popular-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.popular-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.popular-body {
    padding: 15px;
}

.popular-body h4 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.popular-card-link {
    display: block;
    color: inherit;
}

.popular-card-type {
    font-size: 11px;
    color: #888;
}

.popular-card-desc {
    font-size: 12px;
    color: #999;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--aura-primary);
    border-radius: 2px;
}

.aura-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title-wrap {
    display: flex;
    align-items: center;
}

.section-title-dot {
    margin-left: 8px;
}

.aura-more-link {
    font-size: 13px;
    color: #999;
    transition: color .3s;
}

.aura-more-link:hover {
    color: #1e9fff;
}

.aura-more-icon {
    margin-left: 2px;
    font-size: 12px;
}

.list-pagination {
    padding: 20px 0 30px 0;
}

.search-card-body {
    padding: 15px;
}

.home-carousel {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.aura-carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.aura-carousel-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aura-carousel-overlay {
    position: absolute;
    inset: 0;
}

.home-carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    cursor: pointer;
}

.home-carousel-content {
    color: #fff;
    max-width: 600px;
}

.home-carousel-title {
    font-size: 36px;
    margin: 15px 0;
    font-weight: 700;
}

.home-carousel-desc {
    font-size: 16px;
    opacity: 0.9;
}

.home-topic-section {
    margin-top: 40px;
}

.home-topic-card {
    padding: 25px;
}

.home-topic-grid {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .home-carousel-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    .home-carousel-desc {
        font-size: 13px !important;
        -webkit-line-clamp: 1 !important;
    }

    .home-carousel-content {
        padding: 20px !important;
    }

    .aura-carousel-overlay {
        padding: 15px !important;
    }

    .article-item {
        flex-direction: column;
        gap: 14px;
        padding: 15px;
    }

    .article-thumb-wrap {
        width: 100%;
        height: 180px;
    }

    .article-content h3 {
        font-size: 16px;
    }

    .article-meta {
        font-size: 12.5px !important;
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .article-tags,
    .article-title-link .layui-badge {
        display: none !important;
    }

    .home-topic-grid .layui-col-md3 {
        width: 50%;
        float: left;
    }
}

@media (max-width: 480px) {
    .home-topic-grid .layui-col-md3 {
        width: 100%;
        float: none;
    }

    .article-thumb-wrap {
        height: 150px;
    }
    
    .home-carousel-title {
        font-size: 18px !important;
    }
}
