/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 2rem;
    color: #00ff88;
}

.badge {
    font-size: 0.7rem;
    background: #00ff88;
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 0.5rem;
}

nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #00ff88;
}

/* Stats Grid */
.bounty-stats {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff88;
}

.stat-label {
    font-size: 1rem;
    color: #aaa;
    margin: 0.5rem 0;
}

.stat-card.highlight {
    border-color: #f1c40f;
}

.stat-card.highlight .stat-number {
    color: #f1c40f;
}

/* Categories */
.categories {
    padding: 2rem 0;
    border-top: 1px solid #222;
}

.categories h2 {
    font-size: 1.8rem;
    color: #f1c40f;
    margin-bottom: 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #f1c40f;
}

.category-card.highlight {
    border-color: #9b59b6;
}

.category-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.badge-status {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    margin: 0.5rem 0;
}

.badge-status.completed {
    background: #1a3a1a;
    color: #00ff88;
}

.badge-status.progress {
    background: #3a3a1a;
    color: #f1c40f;
}

.reward {
    display: block;
    font-size: 1.1rem;
    color: #00ff88;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Table Styles */
.all-bounties {
    padding: 2rem 0;
    border-top: 1px solid #222;
}

.all-bounties h2 {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.bounty-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: #2d2d2d;
}

th {
    padding: 1rem;
    text-align: left;
    color: #aaa;
    font-weight: 500;
    font-size: 0.9rem;
}

td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #2d2d2d;
    color: #ddd;
    font-size: 0.9rem;
}

tr:hover {
    background: #2d2d2d;
}

.category-header td {
    background: #0a0a0a;
    color: #f1c40f;
    font-weight: bold;
    padding: 1rem;
    font-size: 1rem;
}

.status {
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    display: inline-block;
}

.status.completed {
    background: #1a3a1a;
    color: #00ff88;
}

.status.progress {
    background: #3a3a1a;
    color: #f1c40f;
}

td a {
    color: #3498db;
    text-decoration: none;
}

td a:hover {
    color: #00ff88;
}

/* How to Contribute */
.how-to {
    padding: 2rem 0;
    border-top: 1px solid #222;
    text-align: center;
}

.how-to h2 {
    font-size: 1.8rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
}

.step-number {
    display: inline-block;
    background: #2ecc71;
    color: #000;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.step p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #f39c12;
}

/* Footer */
footer {
    border-top: 1px solid #222;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #aaa;
    text-decoration: none;
}

.footer-section ul a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
}
