
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 80px;
}

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

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00ccdd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.terms-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.term-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.term-card:nth-child(1) { animation-delay: 0.1s; }
.term-card:nth-child(2) { animation-delay: 0.2s; }
.term-card:nth-child(3) { animation-delay: 0.3s; }
.term-card:nth-child(4) { animation-delay: 0.4s; }
.term-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.term-card:hover {
    border-color: #00ff88;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.term-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.term-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
}

.term-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.badge-active {
    background: linear-gradient(135deg, #00ff88, #00ccdd);
    color: #000000;
}

.badge-inactive {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
}

.term-content {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.term-content p {
    margin-bottom: 1rem;
}

.term-content ul, .term-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.term-content li {
    margin-bottom: 0.5rem;
}

.term-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.875rem;
    color: #888;
    font-weight: 500;
}

.meta-value {
    font-size: 0.875rem;
    color: #cccccc;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.sort-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #00ff88, #00ccdd);
    color: #000000;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .term-card {
        padding: 1.5rem;
    }

    .term-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .term-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: linear-gradient(135deg, #00ff88, #00ccdd);
    color: #000000;
}