:root {
    --primary: #f59e0b;
    /* Amber */
    --secondary: #ef4444;
    /* Red */
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    padding: 2rem;
}

.glow-orb {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: -1;
}

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

header {
    text-align: center;
    margin-bottom: 2rem;
}

.chapter-nav {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}

.chapter-nav::-webkit-scrollbar {
    display: none;
}

.nav-chip {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--primary);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.q-item.heavy {
    border-top-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.hit-section {
    margin-bottom: 3rem;
}

.q-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.q-list.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.q-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    border-top: 4px solid var(--primary);
    position: relative;
}

.q-item.secondary {
    border-top-color: var(--secondary);
}

.q-meta {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.chapter-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.test-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    font-weight: 500;
    text-align: center;
}

footer {
    text-align: center;
    margin-top: 5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--text-muted);
}