:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #e0e0e0;
    --text-sub: #aaaaaa;
    --accent: #448aff;
    /* Blue accent for list */
    --accent-hover: #2962ff;
    --critical: #ff5252;
    --border: #333;
    --card-hover-bg: #252525;
}

body {
    font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 1155px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #448aff, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.header p {
    color: var(--text-sub);
    font-size: 18px;
}

.vuln-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.vuln-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.vuln-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background-color: var(--card-hover-bg);
    border-color: var(--accent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.cve-id {
    font-family: 'Consolas', monospace;
    font-size: 14px;
    color: var(--accent);
    font-weight: bold;
    background: rgba(68, 138, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.badge-risk {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    background: #555;
    border: 1px solid transparent;
}

.risk-critical {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
    border-color: #ff5252;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #fff;
}

.card-desc {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: auto;
}

.arrow-icon {
    font-size: 16px;
    transition: transform 0.2s;
}

.vuln-card:hover .arrow-icon {
    transform: translateX(5px);
    color: var(--accent);
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 28px;
    }

    .vuln-grid {
        grid-template-columns: 1fr;
    }
}
.home-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--text-sub);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.home-link:hover {
    color: var(--text-main);
}
