.glossary-section {
    padding: 80px 0;
    background: linear-gradient(rgba(15, 20, 30, 0.97), rgba(15, 20, 30, 0.97)), 
                url('../images/3.png') center/cover fixed;
}

.alphabet-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    padding: 30px;
    background: var(--dark-tertiary);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.letter-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.letter-link:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

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

.letter-section {
    margin-bottom: 60px;
}

.letter-heading {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.term-card {
    background: var(--dark-tertiary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.term-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
    transform: translateX(5px);
}

.term-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.term-definition {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.term-related {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    font-size: 14px;
    color: var(--text-secondary);
}

.term-related strong {
    color: var(--primary-color);
}

.term-related a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.term-related a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .alphabet-nav {
        gap: 10px;
        padding: 20px;
    }

    .letter-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .letter-heading {
        font-size: 36px;
    }

    .term-card {
        padding: 20px;
    }

    .term-title {
        font-size: 22px;
    }
}
