:root {
    --bg: #0d1117;
    --bg2: #161b22;
    --bg3: #21262d;
    --accent: #f97316;
    --accent-dim: rgba(249, 115, 22, 0.1);
    --border: #30363d;
    --text: #c9d1d9;
    --muted: #8b949e;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glow Background */
.glow-bg {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: var(--accent); }
.logo .bolt { font-size: 24px; }

.github-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.github-link:hover { color: #fff; }

.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding-bottom: 80px;
}

.card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card.active:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    background: var(--bg3);
}

.card.disabled {
    opacity: 0.6;
    cursor: default;
}

.card-icon {
    font-size: 32px;
    background: var(--bg3);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--muted);
}

.card.active .card-tag {
    border-color: var(--accent-dim);
    color: var(--accent);
    background: var(--accent-dim);
}

.card-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    font-size: 20px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    header { height: auto; padding: 12px 16px; }
    header .container { flex-wrap: wrap; gap: 10px; }
    nav { gap: 12px; }
    .github-link { font-size: 13px; }

    .hero { padding: 48px 0 36px; }
    .hero h1 { font-size: 30px; letter-spacing: -0.5px; }
    .hero p { font-size: 15px; }

    .grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }

    .card { padding: 20px; gap: 16px; }
    .card-icon { width: 52px; height: 52px; font-size: 26px; }
    .card-content h3 { font-size: 16px; }
    .card-arrow { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .container { padding: 0 16px; }
}
