* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #000000;
    border-bottom: 2px solid #FF6600;
    padding: 15px 0;
}

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

.logo {
    height: 50px;
    width: auto;
}

.github-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s;
}

.github-link:hover {
    opacity: 0.7;
}

/* Filters */
.filters {
    margin: 30px 0;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CCCCCC;
    margin-bottom: 10px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-pill:hover {
    border-color: #666;
}

.filter-pill.active {
    background: #FF6600;
    color: #000000;
    border-color: #FF6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

/* Results Count */
.results-count {
    color: #CCCCCC;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Incidents Grid */
.incidents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.incident-card {
    background: #1A1A1A;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.incident-card:hover {
    border-color: #FF6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.incident-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FF6600;
}

.incident-card .description {
    color: #CCCCCC;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.incident-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    background: #000000;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid #333;
}

.tag.difficulty {
    background: #333;
}

.incident-card .view-link {
    color: #FF6600;
    font-size: 14px;
    font-weight: 500;
}

/* No Results */
.no-results {
    text-align: center;
    color: #CCCCCC;
    padding: 60px 20px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .incidents-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .incidents-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        height: 40px;
    }
}

/* Fade animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-in {
    animation: fadeIn 0.2s;
}

.fade-out {
    animation: fadeOut 0.2s;
}
