:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #f0f0f0;
    --text-secondary: #aaa;
    --accent-color: #ff2d55; /* Neon Red */
    --accent-glow: rgba(255, 45, 85, 0.4);
    --gold: #ffd700;
    --header-bg: rgba(30, 30, 30, 0.95);
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, #252535 0%, #121212 80%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shine { 100% { left: 125%; } }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { color: var(--accent-color); text-decoration: none; }

/* Header */
.navbar {
    background: var(--header-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.nav-link {
    position: relative;
    padding: 5px 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Top Scroll */
.top-scroll {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}
.top-scroll span {
    transition: transform 0.2s;
}
.top-scroll span:hover {
    transform: scale(1.1);
    text-shadow: 0 0 8px currentColor;
}

/* Container */
.container {
    max-width: 1300px;
    padding: 0 20px;
    margin-top: 30px;
    animation: fadeIn 0.6s ease-out;
}

/* Section Header */
.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    position: relative;
}

.sec-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards */
.art-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.art-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    cursor: pointer;
}

.art-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-color);
}

/* Card Shine Effect */
.art-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.art-item:hover::before {
    animation: shine 0.75s;
}

.art-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.art-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #333;
    padding-top: 10px;
}

/* Read Page */
.read-container {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    margin: 0 auto;
    max-width: 900px;
}

.article-title {
    font-size: 32px;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-meta {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 14px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.article-content {
    font-size: 19px;
    line-height: 1.8;
    color: #d1d1d1;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* Pagination & Buttons */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.page-btn {
    background: linear-gradient(45deg, #d90429, #ff2d55);
    border: none;
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
    transition: all 0.3s;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.6);
    text-decoration: none;
}

.page-btn:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    background: #161616;
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid #333;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .art-list { grid-template-columns: 1fr; }
    .read-container { padding: 20px; }
    .article-title { font-size: 24px; }
    .article-content { font-size: 18px; }
    .page-btn { width: 100%; margin-bottom: 10px; }
}
